summarylogtreecommitdiffstats
path: root/website.html
blob: e51be6c57bc17ea76018791c33a943d337fe3c8f (plain)
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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
      
      <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
      <base href="https://pypi.python.org/pypi/fortranformat"/>
      <title>fortranformat 0.2.3 : Python Package Index</title>
      <meta content="fortran,io,interface,format"/>
      <meta content="Mimics Fortran textual IO in Python"/>
       <link rel="alternate" type="application/rss+xml"
             title="RSS: 40 latest updates"
             href="https://pypi.python.org/pypi?:action=rss"/>
       <link rel="alternate" type="application/rss+xml"
             title="RSS: 40 newest packages"
             href="https://pypi.python.org/pypi?:action=packages_rss"/>
       <link media="screen" type="text/css"
             id="screen-switcher-stylesheet"
             rel="stylesheet"
             href="/styles/screen-switcher-default.css"/>
       <link media="screen" type="text/css" rel="stylesheet"
             href="/styles/netscape4.css"/>
       <link media="print" type="text/css" rel="stylesheet"
             href="/styles/print.css"/>
       <link media="screen" type="text/css"
             rel="alternate stylesheet" title="large text"
             href="/styles/largestyles.css"/>
       <link media="screen" type="text/css"
             rel="alternate stylesheet"
             title="default fonts"
             href="/styles/defaultfonts.css"/>
       <link rel="stylesheet" media="screen" href="/css/docutils.css" type="text/css"/>
       <link rel="stylesheet" media="screen" href="/css/pygments.css" type="text/css"/>

       <!-- allow pypi to override the standard pydotorg/docutils/etc. styles -->
       <link rel="stylesheet" href="/css/pypi.css" type="text/css"/>
       <link media="screen" rel="stylesheet" href="/css/pypi-screen.css" type="text/css"/>

       
 <meta name="keywords" content="fortran,io,interface,format"/>
 <meta name="description"
       content="Mimics Fortran textual IO in Python"/>
 <link rel="meta" title="DOAP" type="application/rdf+xml"
       href="/pypi?:action=doap&amp;name=fortranformat&amp;version=0.2.3"/>
 <style type="text/css">
  table.form th {white-space: pre;}
 </style>


       <style type="text/css">
       </style>
    </head>
    <body>
     

      <!--  Logo  -->
      <h1 id="logoheader">
       <a accesskey="1" href="http://www.python.org" id="logolink">
        
          <img src="/python-3.png" alt="homepage" border="0" id="logo"/>
        
        
       </a>
      </h1>
      <!--  Skip to Navigation  -->
      <div class="skiptonav"><a accesskey="2" href="#left-hand-navigation"><img
    alt="skip to navigation" border="0" id="skiptonav"
    src="/images/trans.gif"/></a></div>
      <div class="skiptonav"><a accesskey="3" href="#content-body"><img
    alt="skip to content" border="0" id="skiptocontent"
    src="/images/trans.gif"/></a></div>
      <!--  Utility Menu  -->

      <div id="utility-menu">
        <!--  Search Box  -->
        <div id="searchbox">
          <form id="searchform" method="get"
                name="searchform" action="/pypi">
            <input type="hidden" name=":action" value="search"/>
            <div id="search">
              <input class="input-text" id="term" name="term"/>
              <input class="input-button" type="submit" name="submit" value="search" id="submit"/>
            </div>
          </form>
        </div>
<!-- XXX: reinstate this       <div id="screen-switcher"></div> -->
      </div>
      <div id="left-hand-navigation">

        <!--  Main Menu NEED LEVEL TWO HEADER AND FOOTER -->
        <div id="menu">
          <ul class="level-one">
            <li class="selected">
              <a class="selected" href="/pypi">Package Index</a>

              <ul class="level-two">

                
                  <li class=""><a class="" href="/pypi?%3Aaction=browse">Browse&nbsp;packages</a></li>
                
                
                  <li class=""><a class="" href="/pypi?%3Aaction=submit_form">Package&nbsp;submission</a></li>
                
                
                  <li class=""><a class="" href="/pypi?%3Aaction=list_classifiers">List&nbsp;trove&nbsp;classifiers</a></li>
                
                
                  <li class=""><a class="" href="/pypi?%3Aaction=index">List&nbsp;packages</a></li>
                
                
                  <li class=""><a class="" href="/pypi?%3Aaction=rss">RSS&nbsp;(latest&nbsp;40&nbsp;updates)</a></li>
                
                
                  <li class=""><a class="" href="/pypi?%3Aaction=packages_rss">RSS&nbsp;(newest&nbsp;40&nbsp;packages)</a></li>
                
		<li><a href="/pypi?:action=browse&amp;c=533&amp;show=all">Python 3 Packages</a></li>
        <li><a href="http://wiki.python.org/moin/CheeseShopTutorial">PyPI Tutorial</a></li>
        <li><a href="/security">PyPI Security</a></li>
        <li><a href="http://sourceforge.net/tracker/?group_id=66150&amp;atid=513504">PyPI Support</a></li>
        <li><a href="http://sourceforge.net/tracker/?group_id=66150&amp;atid=513503">PyPI Bug Reports</a></li>
        <li><a href="http://www.python.org/sigs/catalog-sig/">PyPI Discussion</a></li>
        <li><a href="http://wiki.python.org/moin/CheeseShopDev">PyPI Developer Info</a></li>
       </ul>

            </li>




            <li class=""><a href="http://www.python.org/about" class="" title="About The Python Language">About</a>
            </li><li class=""><a href="http://www.python.org/news" class="" title="">News</a>
            </li><li class=""><a href="http://www.python.org/doc" class="" title="">Documentation</a>
            </li><li class=""><a href="http://www.python.org/download" title="">Download</a>


            </li><li class=""><a href="http://www.python.org/community" class="" title="">Community</a>
            </li><li class=""><a href="http://www.python.org/psf" class="" title="Python Software Foundation">Foundation</a>
            </li><li class=""><a href="http://www.python.org/dev" class="" title="Python Core Language Development">Core Development</a>
            </li><li class=""><a href="http://www.python.org/links" class="" title="">Links</a>
          </li>
          </ul>
        </div>

      </div>
      <div id="content-body">
        <div id="body-main">
          <div id="content">

            <div id="breadcrumb">
              <a href="/pypi">Package Index</a>
              
                <span class="breadcrumb-separator">&gt;</span>
                <a href="/pypi/fortranformat">fortranformat</a>
              
              
                <span class="breadcrumb-separator">&gt;</span>
                <a href="/pypi/fortranformat/0.2.3">0.2.3</a>
              

            </div>

            <div id="document-floating">

            <div id="document-navigation" style="overflow-y: auto; max-height: 15em; overflow-x: hidden;">
		
                  <h4>Not Logged In</h4>

                  <ul>
		    
                    <li><a href="/pypi?%3Aaction=login">Login</a></li>
                    <li><a href="/pypi?%3Aaction=register_form">Register</a></li>
                    <li><a href="/pypi?%3Aaction=forgotten_password_form">Lost Login?</a></li>
		    <li>Use <a href="/pypi?:action=openid">OpenID</a>
                      
                        <a style="border: none;"
                           href="/pypi?:action=login&amp;provider=Google"><img
    width="16" height="16"
    src="https://www.google.com/favicon.ico" alt="Google"
    title="Google"/></a>
                      
                      
                        <a style="border: none;"
                           href="/pypi?:action=login&amp;provider=myOpenID"><img
    width="16" height="16"
    src="https://www.myopenid.com/favicon.ico"
    alt="myOpenID" title="myOpenID"/></a>
                      
                      
                        <a style="border: none;"
                           href="/pypi?:action=login&amp;provider=Launchpad"><img
    width="16" height="16"
    src="https://launchpad.net/@@/launchpad.png"
    alt="Launchpad" title="Launchpad"/></a>
                      
                    </li>
                  </ul>

		

		

            </div>
        </div>
        


            <div class="section">
              <h1>fortranformat 0.2.3</h1>

              
<div id="download-button">
 
  <a class="button green" style="float:right;"
     href="https://pypi.python.org/packages/source/f/fortranformat/fortranformat-0.2.3.tar.gz">Download<br/>
    <span style="font-size: 75%">fortranformat-0.2.3.tar.gz</span>
  </a>
 
 
</div>

<p style="font-style: italic">Mimics Fortran textual IO in Python</p>








<p>Generates text from a Python list of variables or will read a line of text into Python variables according  to the FORTRAN format statement passed.</p>
<p>Licensed under the MIT license</p>
<p>The library is extensively unit-tested (but not yet extensively user-tested, <a class="reference external" href="https://bitbucket.org/brendanarnold/py-fortranformat/issues">please report bugs</a>!) against the Intel FORTRAN compiler on a Linux platform. Differences between platforms/compilers are generally minor.</p>
<p>To read Fortran records,:</p>
<blockquote>
<pre class="doctest-block">
&gt;&gt;&gt; from fortranformat import FortranRecordReader
&gt;&gt;&gt; header_line = FortranRecordReader('(A15, A15, A15)')
&gt;&gt;&gt; header_line.read('              x              y              z')
  ['              x', '              y', '              z']
&gt;&gt;&gt; line = FortranRecordReader('(3F15.3)')
&gt;&gt;&gt; line.read('          1.000          0.000          0.500')
  [1.0, 0.0, 0.5]
&gt;&gt;&gt; line.read('          1.100          0.100          0.600')
  [1.1, 0.1, 0.6]
</pre>
</blockquote>
<p>To write Fortran records,:</p>
<blockquote>
<pre class="doctest-block">
&gt;&gt;&gt; from fortranformat import FortranRecordWriter
&gt;&gt;&gt; header_line = FortranRecordWriter('(A15, A15, A15)')
&gt;&gt;&gt; header_line.write(['x', 'y', 'z'])
  '              x              y              z'
&gt;&gt;&gt; line = FortranRecordWriter('(3F15.3)')
&gt;&gt;&gt; line.write([1.0, 0.0, 0.5])
  '          1.000          0.000          0.500'
&gt;&gt;&gt; line.write([1.1, 0.1, 0.6])
  '          1.100          0.100          0.600'
</pre>
</blockquote>


<a name="downloads">&nbsp;</a>
<table class="list" style="margin-bottom: 10px;">
<tr>
  <th>File</th>
  <th>Type</th>
  <th>Py Version</th>
  <th>Uploaded on</th>
  <th style="text-align: right;">Size</th>
  <th style="text-align: right;"># downloads</th>
</tr>

<tr class="odd">

    <td>
    <span style="white-space: nowrap;">
      <a href="https://pypi.python.org/packages/source/f/fortranformat/fortranformat-0.2.3.tar.gz#md5=d78c5a320fedcbdf21f823cd18e28ac0">fortranformat-0.2.3.tar.gz</a>
      (<a title="MD5 Digest"
          href="/pypi?:action=show_md5&amp;digest=d78c5a320fedcbdf21f823cd18e28ac0">md5</a>)
    </span>
    
        </td>
  <td style="white-space: nowrap;">
    Source
  </td>
  <td>
    
  </td>
  <td>2011-09-08</td>
  <td style="text-align: right;">18KB</td>
  <td style="text-align: right;">1000</td>

</tr>

<tr><td id="last" colspan="6"/></tr>
  </table>

<ul class="nodot">
 <li>
  <strong>Author:</strong>
  <span>Brendan Arnold</span>
 </li>

 

 

<!-- The <th> elements below are a terrible terrible hack for setuptools -->
 <li>
  <strong>Home Page:</strong>
  <!-- <th>Home Page -->
  <a href="http://bitbucket.org/brendanarnold/py-fortranformat">http://bitbucket.org/brendanarnold/py-fortranformat</a>
 </li>


 

 <li>
  <strong>Download URL:</strong>
  <!-- <th>Download URL -->
  <a href="https://bitbucket.org/brendanarnold/py-fortranformat/downloads/fortranformat-0.2.3.tar.gz">https://bitbucket.org/brendanarnold/py-fortranformat/downloads/fortranformat-0.2.3.tar.gz</a>
 </li>


 <li>
  <strong>Keywords:</strong>
  <span>fortran,io,interface,format</span>
 </li>

 

 

<!-- TODO: add link to products in follow dependencies... -->
 
 
 

 <li>
  <strong>Categories</strong>
  <ul class="nodot">
   <li>
    <a href="/pypi?:action=browse&amp;c=4">Development Status :: 4 - Beta</a>
   </li>
   <li>
    <a href="/pypi?:action=browse&amp;c=8">Environment :: Console</a>
   </li>
   <li>
    <a href="/pypi?:action=browse&amp;c=30">Intended Audience :: Developers</a>
   </li>
   <li>
    <a href="/pypi?:action=browse&amp;c=40">Intended Audience :: Science/Research</a>
   </li>
   <li>
    <a href="/pypi?:action=browse&amp;c=69">License :: OSI Approved :: MIT License</a>
   </li>
   <li>
    <a href="/pypi?:action=browse&amp;c=104">Natural Language :: English</a>
   </li>
   <li>
    <a href="/pypi?:action=browse&amp;c=156">Operating System :: OS Independent</a>
   </li>
   <li>
    <a href="/pypi?:action=browse&amp;c=193">Programming Language :: Fortran</a>
   </li>
   <li>
    <a href="/pypi?:action=browse&amp;c=527">Programming Language :: Python :: 2</a>
   </li>
   <li>
    <a href="/pypi?:action=browse&amp;c=533">Programming Language :: Python :: 3</a>
   </li>
   <li>
    <a href="/pypi?:action=browse&amp;c=385">Topic :: Scientific/Engineering</a>
   </li>
   <li>
    <a href="/pypi?:action=browse&amp;c=416">Topic :: Software Development :: Interpreters</a>
   </li>
   <li>
    <a href="/pypi?:action=browse&amp;c=492">Topic :: Text Processing :: General</a>
   </li>
  </ul>
 </li>



 

 

 

 

 


 <li>
  <strong>Package Index Owner:</strong>
  <span>brendanarnold</span>
 </li>

 

 <li>
  <strong><a href="http://usefulinc.com/doap">DOAP</a> record:</strong>
  <a href="/pypi?:action=doap&amp;name=fortranformat&amp;version=0.2.3">fortranformat-0.2.3.xml</a>
 </li>

</ul>





            </div>


          </div>
          <div id="footer"><div id="credits">
            <a href="http://www.python.org/about/website">Website maintained by the Python community</a><br/>
            <a href="http://osuosl.org/" title="Web and email hosting provided by OSU OSL">hosting by OSU OSL</a> /
            <a href="http://www.timparkin.co.uk/" title="Design by Tim Parkin, Yorkshire man, photographer and developer">design by Tim Parkin</a>
          </div>
          Copyright © 1990-2013, <a href="http://www.python.org/psf">Python Software Foundation</a><br/>
          <a href="http://www.python.org/about/legal">Legal Statements</a>

          </div>
        </div>
      </div>
    </body>
  </html>