Welcome to superjson Documentation
Features:
Support for date, datetime, set, OrderedDict, deque, that the original json module can not serialize.
Easy to extend to support any custom data type, SEE HOW.
Allow // double slash started comments, # Pound key started comments style comment in json file (Good for human/machine readable config file).
Use .gz for file extension, data will be automatically compressed.
Atomic Write is ensured, operation of overwriting an existing json file is atomic.
Click HERE for full documentation.
Install
superjson is released on PyPI, so all you need is:
$ pip install superjson
To upgrade to latest version:
$ pip install --upgrade superjson
Metadata
Release files for superjson 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| superjson-1.0.2.tar.gz | 27.1 kB | Without provenance | Details for superjson-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| superjson-1.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for superjson-1.0.2-py2.py3-none-any.whl |
Total release size: 57.9 kB
Release files / superjson-1.0.2.tar.gz
| Download URL | superjson-1.0.2.tar.gz |
|---|---|
| Size | 27.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24cfe20d419ec4e6be4487831eec9d762a9fb3b7b4a5a1c32a31a14f99996e26
|
|
BLAKE2b-256 checksum How to use checksums |
78ab1f3dd362e369c7cc99cd5e88d3c77814b38f42e322f91aa9e756eb7fe3b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.11
|
Release files / superjson-1.0.2-py2.py3-none-any.whl
| Download URL | superjson-1.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 30.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5b93fb43a89187a8ce777c7ffbdaadcb6ecda16bf024e3518248642e5875d940
|
|
BLAKE2b-256 checksum How to use checksums |
7703682a205df805bc6de1a79a37709deb9f4a41552803a20eddf8927a6741d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.11
|
Security for superjson 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.