Skip to main content

Repair malformed JSON and render a stable, human-readable structural outline.

Project description

jshape for Python

jshape is the Python package for the Rust-powered JSON shape analyzer in this repository.

Install

pip install jshape

Usage

import jshape

outline = jshape.analyze_json(
    '{"user":{"name":"Ada"},"events":[{"id":1},{"id":2,"amount":19.9}]}',
    True,
)

print(outline)

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

jshape-0.1.0.tar.gz (17.4 kB view details)

Uploaded Source

Built Distributions

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

jshape-0.1.0-cp38-abi3-win_amd64.whl (292.6 kB view details)

Uploaded CPython 3.8+Windows x86-64

jshape-0.1.0-cp38-abi3-manylinux_2_34_x86_64.whl (473.8 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.34+ x86-64

jshape-0.1.0-cp38-abi3-macosx_11_0_arm64.whl (405.2 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file jshape-0.1.0.tar.gz.

File metadata

  • Download URL: jshape-0.1.0.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jshape-0.1.0.tar.gz
Algorithm Hash digest
SHA256 07e19aaf49244c762e7cb30eefa4e113da8846b5235c29c701b597b9c1d4459b
MD5 83d9fe4165d269e7b48646cdb7b60e4a
BLAKE2b-256 b264983cd2750a20cba4826c3d5940eec905df31e8105e23f93ae239f0c323a9

See more details on using hashes here.

File details

Details for the file jshape-0.1.0-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: jshape-0.1.0-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 292.6 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jshape-0.1.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0b779f327f0162a8ff7281c3e635b65a407a0d7ae80d8d16ac88d2c06e6e6645
MD5 b5aed6ea0915aa31e6e02636138f5fdd
BLAKE2b-256 a7e413edc874a74456d133a76a52c78864a1a20fafcd4100041ebb37677ee16a

See more details on using hashes here.

File details

Details for the file jshape-0.1.0-cp38-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for jshape-0.1.0-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 e33db1e7367724dcd335059fa408587732dcf6784771dbb4f6eb45cb6b1827be
MD5 7a6cfdae2eb47f69c2e9ebe013006561
BLAKE2b-256 2d39e4e4c36b3672bbb43937010ff30b239d7aa43ef8177c33412615875e86f7

See more details on using hashes here.

File details

Details for the file jshape-0.1.0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jshape-0.1.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5f1b3b645165b29fb9669e9c2faccf118f6531f82a71f40ac18f2b04208cb0d4
MD5 b216a8a61c46291de02c9a1d05837092
BLAKE2b-256 45a652bade4a2ab974f2dac18402446ae44334eb7c5e0c8920c313c76e3327aa

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