Skip to main content

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.9

  1. Some errors with processing of comment lines are fixed.

  2. It’s possible now to use “d”/”D” suffix instead of “$” to indicate decimal values.

  3. Fix problem with mixing of tabs (’t’) with other spacing characters.

  4. Fix example of AXON in index.rst to use “d/D” suffix for decimal values.

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 (pretty=1) 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.

Metadata

Release files for pyaxon 0.5.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for pyaxon 0.5.9
File Size Uploaded
pyaxon-0.5.9.zip 370.1 kB Details
pyaxon-0.5.9.tar.gz 338.7 kB Details

Release files / pyaxon-0.5.9.zip

Download URL pyaxon-0.5.9.zip
Size 370.1 kB
Tags Source
SHA-256 checksum
How to use checksums
784ffdb06e4565ef1ad1fb4bdf19a4719e2d63796ab86ab91768b1f50021084e
BLAKE2b-256 checksum
How to use checksums
426042e4730c8eee8d6aacb1bfcf085794b0ce8b94b03ad35fb73c47378e8857
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyaxon-0.5.9.tar.gz

Download URL pyaxon-0.5.9.tar.gz
Size 338.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a8e035898d111bf4155d490044609a8d83b26d8c28ff80c10e488af134bd3943
BLAKE2b-256 checksum
How to use checksums
e6dc50d2091dcf197b513d081ce310e2b6afc8e95e4a8fecd7dce181fb9a2b9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.10

1 release file

0.9

13 release files

0.8.2

12 release files

0.8.1

11 release files

0.8

10 release files

0.7

4 release files

0.6

8 release files

0.5.10

9 release files

This release

0.5.9 This release

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

1 release file

0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page