Skip to main content

EDN format reader and writer in Python

Project description

edn_format

Implements the EDN format in Python.

All features of EDN are implemented, including custom tagged elements.

Build Status PyPI version

Installation

pip install edn_format

Usage

>>> import edn_format
>>> edn_format.dumps({1, 2, 3})
'#{1 2 3}'
>>> edn_format.loads("[1 true nil]")
[1, True, None]
>>> edn_format.loads_all("1 2 3 4")
[1, 2, 3, 4]

In general, edn_format.loads(edn_format.dumps(obj)) == obj. If this is false, it may be a bug.

See tests.py for full details.

Contributors

Special thanks to the following contributors for making this library usable:

Project details


Download files

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

Source Distribution

edn_format-0.6.5.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edn_format-0.6.5-py2-none-any.whl (12.0 kB view details)

Uploaded Python 2

File details

Details for the file edn_format-0.6.5.tar.gz.

File metadata

  • Download URL: edn_format-0.6.5.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.5

File hashes

Hashes for edn_format-0.6.5.tar.gz
Algorithm Hash digest
SHA256 259c92a97ce4c842eddfd00953cf34cccbd0232263f98b66931cf1e6818f0140
MD5 f41894b89c3c614f231b17eea8a054d8
BLAKE2b-256 efe746679584f09688053410af4fe6cc1b575c649524338ed4935cab45472fbd

See more details on using hashes here.

File details

Details for the file edn_format-0.6.5-py2-none-any.whl.

File metadata

  • Download URL: edn_format-0.6.5-py2-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.5

File hashes

Hashes for edn_format-0.6.5-py2-none-any.whl
Algorithm Hash digest
SHA256 e92c3413d57f015ee8be7e6e539dcbfdf7fa26dc76e936cd0ef7fc533bbcd123
MD5 b4dd6634007ed43300460c0c170954f5
BLAKE2b-256 a202c0236ccd3cdcb276e066ee2119f732535bb6e08ddf79d26eac8256472621

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