1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<title>Index of sqlobject.util.csvimport module</title>
<link href="layout.css" type="text/css" rel="stylesheet">
</head>
<body>
<div id="page">
<h1 class="doc-title"><a></a></h1>
<div id="navcontainer">
<ul id="navlist">
<li class="pagenav">
<ul>
<li class="page_item">
<a href="index.html" title="Project Home / Index">SQLObject</a>
</li>
<li class="page_item">
<a href="module-index.html" title="sqlobject package and module reference">Modules</a>
</li>
<li>
<a href="community.html" title="Mailing List">Discuss</a>
</li>
<li>
<a href="SQLObject.html">Documentation</a>
</li>
</ul>
</li>
</ul>
</div>
<hr>
<div id="content">
<h1>Index of the <tt>csvimport</tt> module</h1>
<ul class="pudge-module-index">
<li class="module">
<span class="prefix">m</span>
<a href="module-sqlobject.util.csvimport.html">
<tt>sqlobject.util.csvimport</tt>
</a>
<a href="sqlobject/util/csvimport.py.html">...</a>
<small>
- <span class="rst">Import from a CSV file or directory of files.</span>
</small>
<ul>
<li class="attribute">
<span class="prefix">a</span>
<a href="module-sqlobject.util.csvimport.html#__package__">
<tt>__package__</tt>
</a>
<a href="sqlobject/util/csvimport.py.html">...</a>
<small></small>
</li>
<li class="routine">
<span class="prefix">f</span>
<a href="module-sqlobject.util.csvimport.html#create_data">
<tt>create_data</tt>
</a>
<a href="sqlobject/util/csvimport.py.html?f=72&l=139#72">...</a>
<small>
- <span class="rst">Create the <tt class="docutils literal">data</tt>, which is the return value from
<tt class="docutils literal">load_csv()</tt>. Classes will be resolved with the callable
<tt class="docutils literal">class_getter</tt>; or if <tt class="docutils literal">class_getter</tt> is a module then the
class names will be attributes of that.</span>
</small>
</li><li class="routine">
<span class="prefix">f</span>
<a href="module-sqlobject.util.csvimport.html#load_csv">
<tt>load_csv</tt>
</a>
<a href="sqlobject/util/csvimport.py.html?f=168&l=227#168">...</a>
<small>
- <span class="rst">Loads the CSV file, returning a list of dictionaries with types
coerced.</span>
</small>
</li><li class="routine">
<span class="prefix">f</span>
<a href="module-sqlobject.util.csvimport.html#load_csv_from_directory">
<tt>load_csv_from_directory</tt>
</a>
<a href="sqlobject/util/csvimport.py.html?f=141&l=166#141">...</a>
<small>
- <span class="rst">Load the data from all the files in a directory. Filenames
indicate the class, with <tt class="docutils literal">general.csv</tt> for data not associated
with a class. Return data just like <tt class="docutils literal">load_csv</tt> does.</span>
</small>
</li>
</ul>
</li>
</ul>
</div>
<div id="footer">
<p style="float: left;">
built with
<a href="http://lesscode.org/projects/pudge/">pudge/0.1.3</a> |
original design by
<a href="http://blog.ratterobert.com/">ratter / robert</a>
</p>
<div>
<br> <!--
<a name="search">
<form method="get" id="searchform"
action="http://lesscode.org/blog/index.php">
<div>
<input type="text" value="" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
</div>
</form>
</a> -->
<br>
</div>
</div>
</div>
</body>
</html>
|