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.12.tar.gz
(182.5 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.12.tar.gz.
File metadata
- Download URL: vexy_json-1.5.12.tar.gz
- Upload date:
- Size: 182.5 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 |
505d0dfafde70ad9526208dd1b341d3b697c766d31bed01a4f67a28b8fc327a7
|
|
| MD5 |
fdf77be9eef3e5946238d9a4c0aaa13a
|
|
| BLAKE2b-256 |
db95e390bfb18670b45c000620d5c1f8f4b5a42a1460d027d17916606464696e
|
File details
Details for the file vexy_json-1.5.12-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: vexy_json-1.5.12-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 309.9 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 |
97361cae8874a6b20235f2ee0ed9a3b61d8c8a7fc66f7b26a15f97ff202e55f7
|
|
| MD5 |
55263427fd2bdd09ec6012be0b34b6f6
|
|
| BLAKE2b-256 |
bdc191f44c986ab525de11c06029eb2a0d1ad2cb494ebbb9c09da76b90fdf14a
|