Skip to main content

Python library for An eXtended Object Notation (AXON)

Project description

pyaxon is an MIT Licensed python library for AXON. AXON is eXtended Object Notation. It’s a simple text based format for interchanging objects, documents and data. It tries to combine the best of JSON, XML and YAML.

Main repository for pyaxon is on bitbucket. There is a mirror on github

Features

  1. Provide simple API for loading and dumping of objects in textual form.

  2. Provide safe loading and dumping by default.

  3. Provide unsafe loading and dumping of objects on the base of registration of factory/reduce callables.

  4. Provide a way for fully controlled by application/framework/library unsafe loading and dumping.

  5. It’s sufficiently fast so as to be useful.

History

0.5.8

  1. Fix 2.7/3.3 compatibility error with reading from files.

  2. Pretty dumping now is more compact in simple cases.

  3. Now default pretty dumping mode is indented without braces (like YAML); new parameter braces=1 with pretty=1 specifies formatted mode with braces (like JSON).

0.5.7

  1. Refine indentation control when loading complex objects in indented form.

  2. Restore support of names as quoted strings a.k.a. 'the name'.

  3. Make date/time/datetime creation code compatible with pure python mode.

  4. Add hsize parameter in pretty dumping mode. It specifies maximum number of simple data items in the line.

  5. Add more tests by examples.

0.5.6

  1. Fix support for decimal Infinity and NaN.

  2. Fix support for base64 in python2.7.

  3. Add support for complex names like a.b.c.d.

0.5.5

  1. Make creation of custom builders of atomic values easier too (in cython only).

  2. Make creation of custom object builders easier (both in cython and python). This allows you to implement custom import/export for data in XML and YAML representation.

  3. Add plotting of results to simple benchmark script.

0.5.4

  1. Make internal timezone class (for python2.7) compatible with datetime.timezone class (for python3.2 and higher).

  2. Make creation of custom object builders (both safe and unsafe) easier (in cython only).

0.5.3

  1. Dumping is now faster.

0.5.2

  1. Refactor setup.py so that .py sources of extensions dosn’t installed.

  2. Ensuire that attribute names and keys loads and dumps correctly.

  3. Add explicit flag (use_cython) in order to decide when to use cython compiler.

0.5.1

  1. Add notebook with performance comparisons with JSON and YAML.

  2. Refactor setup.py so that project could be installed with/without Cython installation.

  3. Some improvements with introductory notebooks.

  4. Make project uploadable to PyPI by setup.py.

0.5

First public release of pyaxon.

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

pyaxon-0.5.8.zip (362.6 kB view details)

Uploaded Source

pyaxon-0.5.8.tar.gz (331.0 kB view details)

Uploaded Source

File details

Details for the file pyaxon-0.5.8.zip.

File metadata

  • Download URL: pyaxon-0.5.8.zip
  • Upload date:
  • Size: 362.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyaxon-0.5.8.zip
Algorithm Hash digest
SHA256 9c25185e871a3e08222bb6e11c86b09d38e7a2d14906154db0c5654e9031d906
MD5 ecc991902b908a17fce91aafa73b4d74
BLAKE2b-256 1ecc633ad58b4262cf5e8f1b69b3e0ae49c171aa0b3445238cb3b2c09cb4351a

See more details on using hashes here.

File details

Details for the file pyaxon-0.5.8.tar.gz.

File metadata

  • Download URL: pyaxon-0.5.8.tar.gz
  • Upload date:
  • Size: 331.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyaxon-0.5.8.tar.gz
Algorithm Hash digest
SHA256 6317ec6ef63acc383f2f799a4b23d1146b303e41f36080cbbf00ccf64de4e01a
MD5 983544c782a2a5c2fbadbfcde198c2b8
BLAKE2b-256 a632281846d54f228704ef32467291f14a7d43dd82610c69ecb3b94514b5ce94

See more details on using hashes here.

Supported by

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