Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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
Release History

Release History

This version
History Node

1.7.7

History Node

1.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyjon.descriptors-1.7.7-py2.7.egg (52.0 kB) Copy SHA256 Checksum SHA256 2.7 Egg Feb 14, 2015
pyjon.descriptors-1.7.7-py2-none-any.whl (24.5 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Feb 14, 2015
pyjon.descriptors-1.7.7-py3.4.egg (53.5 kB) Copy SHA256 Checksum SHA256 3.4 Egg Feb 14, 2015
pyjon.descriptors-1.7.7-py3-none-any.whl (24.5 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Feb 14, 2015
pyjon.descriptors-1.7.7.tar.gz (17.1 kB) Copy SHA256 Checksum SHA256 Source Feb 14, 2015
pyjon.descriptors-1.7.7.zip (26.3 kB) Copy SHA256 Checksum SHA256 Source Feb 14, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting