File: README.python

package info (click to toggle)
libgetdata 0.11.0-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,144 kB
  • sloc: ansic: 100,814; cpp: 4,843; fortran: 4,548; f90: 2,561; python: 2,406; perl: 2,274; makefile: 1,487; php: 1,465; sh: 86
file content (28 lines) | stat: -rw-r--r-- 949 bytes parent folder | download | duplicates (5)
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
PYTHON BINDINGS FOR GETDATA
===========================

The python bindings consist of a python extension module, pygetdata.  They
should work with:

  * Python2: version 2.4, or later
  * Python3: version 3.2, or later

Numerical Python (NumPy) is required to build and use the bindings.  By default,
data returned from the bindings will be returned in NumPy arrays, but the
bindings can be persuaded to return data as Python lists, if desired.

Under Python3, string values are returned as bytes objects unless a character
encoding is specified which is used to convert to (Unicode) strings.  See the
character_encoding member.

Full documentation for the Python bindings to the GetData library is contained
within the pygetdata module itself.  To read this documentation, execute

$ pydoc pygetdata

from the system shell, or

>>> import pygetdata
>>> help(pygetdata)

from within the Python interpreter, after the bindings have been installed.