Vexy JSON for Python
Parse configuration files, hand-edited data, and LLM-generated JSON without pre-cleaning the text first. Vexy JSON accepts strict JSON plus comments, trailing commas, unquoted keys, single quotes, implicit containers, newline separators, and extended number formats. A Rust engine performs the parsing and returns ordinary Python values.
Install
uv add vexy-json
# or: python -m pip install vexy-json
The PyPI distribution is named vexy-json; Python imports use vexy_json.
Parse
import vexy_json
settings = vexy_json.parse("""
{
// readable configuration
environment: 'preview',
retries: 3,
regions: ['eu', 'us',],
}
""")
assert settings["environment"] == "preview"
Use keyword options when an input boundary must be stricter:
strict = vexy_json.parse_with_options(
'{"ready": true}',
allow_comments=False,
allow_trailing_commas=False,
allow_unquoted_keys=False,
allow_single_quotes=False,
implicit_top_level=False,
newline_as_comma=False,
enable_repair=False,
)
The package also provides load, loads, dump, dumps, is_valid, an
NDJSON-capable StreamingParser, and optional NumPy and pandas conversion
helpers. It ships inline typing information for editors and type checkers.
Documentation
Complete guides, option tables, Rust documentation, and troubleshooting are at vexy.dev/vexy-json.
Source and issue tracking live at github.com/vexyart/vexy-json.
Licensed under MIT or Apache-2.0, at your option.
Metadata
Release files for vexy-json 1.5.13
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 |
|---|---|---|---|---|
| vexy_json-1.5.13.tar.gz | 183.8 kB | Without provenance | Details for vexy_json-1.5.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vexy_json-1.5.13-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details for vexy_json-1.5.13-cp312-cp312-macosx_11_0_arm64.whl |
Total release size: 494.0 kB
Release files / vexy_json-1.5.13.tar.gz
| Download URL | vexy_json-1.5.13.tar.gz |
|---|---|
| Size | 183.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fcdd8975d1c0327de349cd56d4ffecbf0571624d1ac57bb6c122fdb39a21a4f
|
|
BLAKE2b-256 checksum How to use checksums |
61a9c99cf7676f0ba7389cb07b2af8b5978d14421a6968f5c5e1b3073efbe7d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / vexy_json-1.5.13-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | vexy_json-1.5.13-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 310.2 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
23c2d40a9f8c5ad0d42425eb71e1a3569b68ae163f534c37fa6b3388a2bd4521
|
|
BLAKE2b-256 checksum How to use checksums |
94a1449a6149a38fc44f3a5a3d2fff3f1307a1b71597f56fa14410169cd6cbc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for vexy-json 1.5.13
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.