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 hashes)

Uploaded Source

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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Python 3

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

Uploaded Source

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

Uploaded Python 2

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