Provides a system of descriptors to read files and return objects
Project description
Introduction
pyjon.descriptors is a standardized way of describing a file and to get a generator that yields python objects from that file to your program.
The yielded python objects contain attributes that are defined in an XML schema and their types and content are garanteed by pyjon.descriptors.
The provided readers are csv, xml (specific schema) and fixedlen readers but more can be written easily.
Running the tests
install the tests requirements:
$ pip install --upgrade tox
the run the test suite and generate the coverage report with the following command:
$ tox
you should now have a directory called coverage_html_report with a file named index.html inside
Python 3 compatibility
pyjon.descriptors should work just fine on Python 3.
Note about upgrading from previous versions: “dirty” XML files (with custom “rc” tags) are no longer supported.
Contributors
in oder of appeareance on the project
Florent Aide
Jonathan Schemoul
Jerôme Collette
Mathieu Bridon
Emmanuel Cazenave
Houzéfa Abbasbhay
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for pyjon.descriptors-1.7.7-py3.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73db61061697659ff44c38e41af3c7a0d33cc75df5070660aa1b7f8ffb34cf53 |
|
MD5 | 4c660f8021cdfe506112a4eec970a733 |
|
BLAKE2b-256 | 82b5de293ca3669e27cd9edd2ba81664e758e22ed2fced19b78f48c45e47cf73 |
Hashes for pyjon.descriptors-1.7.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd4c04e75361720ee34720e0c8566c287156cee705aa4c4a40e0caf811895679 |
|
MD5 | 6492a9229f8a93321a7566f736316efa |
|
BLAKE2b-256 | fed7eb1b2d03802427f7e6c421c4d07f898b6e80d9411f9caa1082d3cf4f180b |
Hashes for pyjon.descriptors-1.7.7-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fe3e392381f78cacd9f0e7e42d7358b1859d1a3316e383a12d96a51d44bafc0 |
|
MD5 | 4b30d4e7e8a4c39ad40c46c23bb2802e |
|
BLAKE2b-256 | 7a8140f18f902da56f20a8e8cb97908f4c3fc9fb0737c263783d0818fdc61daf |
Hashes for pyjon.descriptors-1.7.7-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7109183f501e05be98371eba899a0006ad8b592f5d5f9f02d2515459e2e041d3 |
|
MD5 | 69d7c2bb694c74f933c9e946ef178da3 |
|
BLAKE2b-256 | f59dbe396527c750bee64ab5deb652f2d3ddafec498b3f433e1402a72c0817b7 |