Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

This version
History Node

1.7.7

History Node

1.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyjon.descriptors-1.7.7-py2.7.egg (52.0 kB) Copy SHA256 hash SHA256 Egg 2.7 Feb 14, 2015
pyjon.descriptors-1.7.7-py2-none-any.whl (24.5 kB) Copy SHA256 hash SHA256 Wheel 2.7 Feb 14, 2015
pyjon.descriptors-1.7.7-py3.4.egg (53.5 kB) Copy SHA256 hash SHA256 Egg 3.4 Feb 14, 2015
pyjon.descriptors-1.7.7-py3-none-any.whl (24.5 kB) Copy SHA256 hash SHA256 Wheel 3.4 Feb 14, 2015
pyjon.descriptors-1.7.7.tar.gz (17.1 kB) Copy SHA256 hash SHA256 Source None Feb 14, 2015
pyjon.descriptors-1.7.7.zip (26.3 kB) Copy SHA256 hash SHA256 Source None Feb 14, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page