Skip to main content
Documentation Status https://github.com/MacHu-GWU/superjson-project/workflows/CI/badge.svg https://codecov.io/gh/MacHu-GWU/superjson-project/branch/master/graph/badge.svg https://img.shields.io/pypi/v/superjson.svg https://img.shields.io/pypi/l/superjson.svg https://img.shields.io/pypi/pyversions/superjson.svg PyPI - Downloads https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
https://img.shields.io/badge/Link-Document-orange.svg https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Source_Code-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to superjson Documentation

Features:

  1. Support for date, datetime, set, OrderedDict, deque, that the original json module can not serialize.

  2. Easy to extend to support any custom data type, SEE HOW.

  3. Allow // double slash started comments, # Pound key started comments style comment in json file (Good for human/machine readable config file).

  4. Use .gz for file extension, data will be automatically compressed.

  5. 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)

Source distribution for superjson 1.0.2
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)

Table of built distributions (wheels) for superjson 1.0.2
File Interpreter ABI Platform Actions
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.

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