loongson/pypi/: json5-0.9.6 metadata and description

Homepage Simple index

A Python implementation of the JSON5 data format.

author Dirk Pranke
author_email dpranke@chromium.org
classifiers
  • Development Status :: 5 - Production/Stable
  • Intended Audience :: Developers
  • License :: OSI Approved :: Apache Software License
  • Programming Language :: Python :: 2
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
description_content_type text/markdown
license Apache
provides_extras dev
requires_dist
  • hypothesis ; extra == 'dev'

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
json5-0.9.6-py2.py3-none-any.whl
Size
18 KB
Type
Python Wheel
Python
2.7

pyjson5

A Python implementation of the JSON5 data format.

JSON5 extends the JSON data interchange format to make it slightly more usable as a configuration language:

There are a few other more minor extensions to JSON; see the above page for the full details.

This project implements a reader and writer implementation for Python; where possible, it mirrors the standard Python JSON API package for ease of use.

There is one notable difference from the JSON api: the load() and loads() methods support optionally checking for (and rejecting) duplicate object keys; pass allow_duplicate_keys=False to do so (duplicates are allowed by default).

This is an early release. It has been reasonably well-tested, but it is SLOW. It can be 1000-6000x slower than the C-optimized JSON module, and is 200x slower (or more) than the pure Python JSON module.

Known issues

Running the tests

To run the tests, setup a venv and install the required dependencies with pip install -e '.[dev]', then run the tests with python setup.py test.

Version History / Release Notes