Skip to main content

Flatjson

Flatten JSON.

Installation

pip install flatjson

Usage

import flatjson

data = {
    "list":[{"a":1},{"b":True}],
    "dict":{"c":1.1,"d":{"e":"string"}}
}
flatjson.dumps(data)

# {'list[0].a': 1, 'list[1].b': True, 'dict.c': 1.1, 'dict.d.e': 'string'}

Metadata

Release files for flatjson 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flatjson 0.1.1
File Size Uploaded Provenance
flatjson-0.1.1.tar.gz 1.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for flatjson 0.1.1
File Interpreter ABI Platform
flatjson-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.9 kB

Release files / flatjson-0.1.1.tar.gz

Download URL flatjson-0.1.1.tar.gz
Size 1.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f6c754be205764b8e3634c4660a2fab0c871c83f150e0488c16ba5209260c697
BLAKE2b-256 checksum
How to use checksums
47aae4a0d5c921fdeb633b3514343fce4ca006a7ed68001362e88176067cbc45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.5 Linux/4.19.66-1-MANJARO

Release files / flatjson-0.1.1-py3-none-any.whl

Download URL flatjson-0.1.1-py3-none-any.whl
Size 1.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8cb7e007ac83ed9fe1a590d47131523f9e30e68f2efa17961346ffb7e574d392
BLAKE2b-256 checksum
How to use checksums
a3300a5d745c1a7bc60af82c2cdfbf5a1314e243e4789fb785d3c809eb343866
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.5 Linux/4.19.66-1-MANJARO

Security for flatjson 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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