this_file: crates/python/README.md
vexy_json Python Bindings
Python bindings for the vexy_json library - a forgiving JSON parser written in Rust.
Installation
pip install vexy_json
Usage
import vexy_json
# Parse forgiving JSON
result = vexy_json.parse('{"key": "value", trailing: true,}')
print(result) # {'key': 'value', 'trailing': True}
# Use NumPy integration
import numpy as np
arr = vexy_json.loads_numpy('[1, 2, 3, 4, 5]')
print(type(arr)) # <class 'numpy.ndarray'>
Features
- Standard JSON parsing with forgiving extensions
- Comments (single-line and multi-line)
- Trailing commas in arrays and objects
- Unquoted object keys
- Single-quoted strings
- Implicit top-level objects and arrays
- NumPy integration for efficient array parsing
- Streaming parser for large files
- pandas DataFrame integration
- JSON repair functionality
For more information, see the main vexy_json documentation.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vexy_json-1.5.11.tar.gz
(182.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vexy_json-1.5.11.tar.gz.
File metadata
- Download URL: vexy_json-1.5.11.tar.gz
- Upload date:
- Size: 182.6 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81d86ee53b3d8b3562e2c6e99b3d24984bca7727b75ef00d2dccee07849c8138
|
|
| MD5 |
002678e17fbe3f91bef40590b585c393
|
|
| BLAKE2b-256 |
addb957d5b3773873d359c8fe515db3c0a32492df2456f43d2dae792481961c1
|
File details
Details for the file vexy_json-1.5.11-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: vexy_json-1.5.11-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 309.8 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94d4c7b414a240f04c55062bf8a24ce334a13829279da0af8947fc661e3d6b30
|
|
| MD5 |
56c3dd8bd66b7d25dfdf9b1317c984d1
|
|
| BLAKE2b-256 |
42f6ca88d9fb3bdb51f27842cef28bccfd44ea76e0a6b5997db909b5a684d274
|