File: module-sqlobject.util-index.html

package info (click to toggle)
sqlobject 3.1.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,280 kB
  • ctags: 17,912
  • sloc: python: 16,713; sh: 18; makefile: 13
file content (221 lines) | stat: -rw-r--r-- 7,491 bytes parent folder | download
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!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 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>util</tt> module</h1>
  <ul class="pudge-module-index">
    <li class="module">
    <span class="prefix">m</span>
    <a href="module-sqlobject.util.html">
      <tt>sqlobject.util</tt>
    </a>
    <a href="sqlobject/util/__init__.py.html">...</a>
    <small></small>
    <ul>
      <li class="attribute">
    <span class="prefix">a</span>
    <a href="module-sqlobject.util.html#__package__">
      <tt>__package__</tt>
    </a>
    <a href="sqlobject/util/__init__.py.html">...</a>
    <small></small>
  </li>
      <li class="module">
    <span class="prefix">m</span>
    <a href="module-sqlobject.util.threadinglocal.html">
      <tt>threadinglocal</tt>
    </a>
    <a href="sqlobject/util/threadinglocal.py.html">...</a>
    <small></small>
    <ul>
      <li class="attribute">
    <span class="prefix">a</span>
    <a href="module-sqlobject.util.threadinglocal.html#__package__">
      <tt>__package__</tt>
    </a>
    <a href="sqlobject/util/threadinglocal.py.html">...</a>
    <small></small>
  </li>
    </ul>
  </li><li class="module">
    <span class="prefix">m</span>
    <a href="module-sqlobject.util.csvexport.html">
      <tt>csvexport</tt>
    </a>
    <a href="sqlobject/util/csvexport.py.html">...</a>
    <small>
      - <span class="rst">Exports a SQLObject class (possibly annotated) to a CSV file.</span>
  </small>
    <ul>
      <li class="attribute">
    <span class="prefix">a</span>
    <a href="module-sqlobject.util.csvexport.html#__package__">
      <tt>__package__</tt>
    </a>
    <a href="sqlobject/util/csvexport.py.html">...</a>
    <small></small>
  </li>
      <li class="routine">
    <span class="prefix">f</span>
    <a href="module-sqlobject.util.csvexport.html#export_csv">
      <tt>export_csv</tt>
    </a>
    <a href="sqlobject/util/csvexport.py.html?f=19&amp;l=89#19">...</a>
    <small>
      - <span class="rst">Export the SQLObject class <tt class="docutils literal">soClass</tt> to a CSV file.</span>
  </small>
  </li><li class="routine">
    <span class="prefix">f</span>
    <a href="module-sqlobject.util.csvexport.html#export_csv_zip">
      <tt>export_csv_zip</tt>
    </a>
    <a href="sqlobject/util/csvexport.py.html?f=138&amp;l=191#138">...</a>
    <small>
      - <span class="rst">Export several SQLObject classes into a .zip file.  Each
item in the <tt class="docutils literal">soClasses</tt> list may be a SQLObject class,
select result, or <tt class="docutils literal">(soClass, select)</tt> tuple.</span>
  </small>
  </li>
    </ul>
  </li><li class="module">
    <span class="prefix">m</span>
    <a href="module-sqlobject.util.moduleloader.html">
      <tt>moduleloader</tt>
    </a>
    <a href="sqlobject/util/moduleloader.py.html">...</a>
    <small></small>
    <ul>
      <li class="attribute">
    <span class="prefix">a</span>
    <a href="module-sqlobject.util.moduleloader.html#__package__">
      <tt>__package__</tt>
    </a>
    <a href="sqlobject/util/moduleloader.py.html">...</a>
    <small></small>
  </li>
      <li class="routine">
    <span class="prefix">f</span>
    <a href="module-sqlobject.util.moduleloader.html#load_module_from_name">
      <tt>load_module_from_name</tt>
    </a>
    <a href="sqlobject/util/moduleloader.py.html?f=14&amp;l=45#14">...</a>
    <small></small>
  </li><li class="routine">
    <span class="prefix">f</span>
    <a href="module-sqlobject.util.moduleloader.html#load_module">
      <tt>load_module</tt>
    </a>
    <a href="sqlobject/util/moduleloader.py.html?f=6&amp;l=12#6">...</a>
    <small></small>
  </li>
    </ul>
  </li><li class="module">
    <span class="prefix">m</span>
    <a href="module-sqlobject.util.csvimport.html">
      <tt>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&amp;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&amp;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&amp;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>
  </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>