Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

pyjon.descriptors-1.7.7.zip (26.3 kB view details)

Uploaded Source

pyjon.descriptors-1.7.7.tar.gz (17.1 kB view details)

Uploaded Source

Built Distributions

pyjon.descriptors-1.7.7-py3.4.egg (53.5 kB view details)

Uploaded Source

pyjon.descriptors-1.7.7-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

pyjon.descriptors-1.7.7-py2.7.egg (52.0 kB view details)

Uploaded Source

pyjon.descriptors-1.7.7-py2-none-any.whl (24.5 kB view details)

Uploaded Python 2

File details

Details for the file pyjon.descriptors-1.7.7.zip.

File metadata

File hashes

Hashes for pyjon.descriptors-1.7.7.zip
Algorithm Hash digest
SHA256 4f8635b60465d802e1342bfcd2b3e0f35475cb49cb5395efbcf5b4f056024fb0
MD5 2fca8cbb1d54355339021f029e725440
BLAKE2b-256 1194093524b149d555a69410dfc2e70ec70b618c9eac8ceb15c7fd55d61c46b1

See more details on using hashes here.

Provenance

File details

Details for the file pyjon.descriptors-1.7.7.tar.gz.

File metadata

File hashes

Hashes for pyjon.descriptors-1.7.7.tar.gz
Algorithm Hash digest
SHA256 cdff445683202949c77d9c9759da87de8dc8503c1a25a25e2656228faf6d1e0e
MD5 2a16d3b60e4526066299d5fc0c40a785
BLAKE2b-256 27e9b34b133435ac4e425abc1db7518425009394fc1fafc4c0ef3c2e0c7b88b8

See more details on using hashes here.

Provenance

File details

Details for the file pyjon.descriptors-1.7.7-py3.4.egg.

File metadata

File hashes

Hashes for pyjon.descriptors-1.7.7-py3.4.egg
Algorithm Hash digest
SHA256 73db61061697659ff44c38e41af3c7a0d33cc75df5070660aa1b7f8ffb34cf53
MD5 4c660f8021cdfe506112a4eec970a733
BLAKE2b-256 82b5de293ca3669e27cd9edd2ba81664e758e22ed2fced19b78f48c45e47cf73

See more details on using hashes here.

Provenance

File details

Details for the file pyjon.descriptors-1.7.7-py3-none-any.whl.

File metadata

File hashes

Hashes for pyjon.descriptors-1.7.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fd4c04e75361720ee34720e0c8566c287156cee705aa4c4a40e0caf811895679
MD5 6492a9229f8a93321a7566f736316efa
BLAKE2b-256 fed7eb1b2d03802427f7e6c421c4d07f898b6e80d9411f9caa1082d3cf4f180b

See more details on using hashes here.

Provenance

File details

Details for the file pyjon.descriptors-1.7.7-py2.7.egg.

File metadata

File hashes

Hashes for pyjon.descriptors-1.7.7-py2.7.egg
Algorithm Hash digest
SHA256 6fe3e392381f78cacd9f0e7e42d7358b1859d1a3316e383a12d96a51d44bafc0
MD5 4b30d4e7e8a4c39ad40c46c23bb2802e
BLAKE2b-256 7a8140f18f902da56f20a8e8cb97908f4c3fc9fb0737c263783d0818fdc61daf

See more details on using hashes here.

Provenance

File details

Details for the file pyjon.descriptors-1.7.7-py2-none-any.whl.

File metadata

File hashes

Hashes for pyjon.descriptors-1.7.7-py2-none-any.whl
Algorithm Hash digest
SHA256 7109183f501e05be98371eba899a0006ad8b592f5d5f9f02d2515459e2e041d3
MD5 69d7c2bb694c74f933c9e946ef178da3
BLAKE2b-256 f59dbe396527c750bee64ab5deb652f2d3ddafec498b3f433e1402a72c0817b7

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page