https://github.com/tktech/py_yyjson
Fast and flexible Python JSON parsing (and manipulation!) built on the excellent yyjson project.
https://github.com/tktech/py_yyjson
json merge-patch patch performance python yyjson
Last synced: 3 months ago
JSON representation
Fast and flexible Python JSON parsing (and manipulation!) built on the excellent yyjson project.
- Host: GitHub
- URL: https://github.com/tktech/py_yyjson
- Owner: TkTech
- License: other
- Created: 2020-10-22T04:01:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-16T13:41:07.000Z (5 months ago)
- Last Synced: 2025-04-02T18:53:14.038Z (3 months ago)
- Topics: json, merge-patch, patch, performance, python, yyjson
- Language: Python
- Homepage: http://tkte.ch/py_yyjson/
- Size: 3.44 MB
- Stars: 28
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README

# py_yyjson

Fast and flexible Python JSON parsing built on the excellent [yyjson][]
project.

- **Fast**: `yyjson` is several times faster than the builtin JSON module, and
is [faster than most other JSON libraries][fast].
- **Flexible**: Parse JSON with strict specification compliance, or with
extensions such as comments, trailing commas, Inf/NaN, numbers of any size,
and more.
- **Lightweight**: `yyjson` is a lightweight project dependency with low
maintenance overhead. It's written in C, and has no dependencies other than
a C89 compiler. Built wheels are between 50kb and 800kb depending on the
platform.
- **Portable**: Binary wheels are available for many versions of Python
on many architectures, such as x86, x86_64, ARM, and ARM64, PowerPC, IBM Z,
and more. PyPy is also supported. Supports Python 3.9 and newer.
- **Manipulate documents**: The fastest JSON Merge-Patch (RFC 7386), JSON Patch
(RFC 6902), and JSON Pointer (RFC 6901) implementations available for Python
allow you to manipulate JSON documents without deserializing them into Python
objects.
- **Traceable**: `yyjson` uses Python's memory allocator by default, so you can
trace memory leaks and other memory issues using Python's built-in tools.## Documentation
Find the latest documentation at https://tkte.ch/py_yyjson.
[yyjson]: https://github.com/ibireme/yyjson
[fast]: https://github.com/tktech/json_benchmark