Skip to main content

Read and write Python Recognizable Object Notation

Project description

(P)ython (R)ecognizable (O)bject (N)otation

The natural python extension to json. Parse and dump python objects to string or file. Support all those annoyingly missing features: tuples, complex, non-string keys, trailing commas, single qoute strings...

I wasn't first, or did it the best, but I nailed the name!

>>> import pron
>>> obj = pron.loads('''{1+2j:[3,"4",("monkey","business")],}''')
>>> print(pron.dumps(obj, indent=4, suppress=[tuple]))
{
    (1+2j): [
        3,
        '4',
        ('monkey', 'business')
    ]
}

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

pron-0.1.2.tar.gz (39.6 kB view details)

Uploaded Source

Built Distribution

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

pron-0.1.2-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file pron-0.1.2.tar.gz.

File metadata

  • Download URL: pron-0.1.2.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pron-0.1.2.tar.gz
Algorithm Hash digest
SHA256 987c75a1838af1ece8adb13c4b40fbfe91ad8ed855c9808e2b8b301b84e5b896
MD5 ed0e7081ba9489ae5d4bd454a1df0941
BLAKE2b-256 9e007a18ee1fe950ce614ab8b04997d50ec4459ec8991f274d586d9cb2aff1ae

See more details on using hashes here.

File details

Details for the file pron-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pron-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pron-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4ed862fc0e952964ba66f1c6c2f867c148067b9c27cca94742eb09912917312e
MD5 989969fe4c0f4a3bd05e8e62548be9e8
BLAKE2b-256 fcdb7d5e28e2a127acdb77c7d6169b577a69da38731144f500467ebf69c13142

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