Skip to content

Fast and flexible Python JSON parsing (and manipulation!) built on the excellent yyjson project.

License

Notifications You must be signed in to change notification settings

TkTech/py_yyjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a6eb448 · Feb 16, 2025
Feb 15, 2025
Nov 16, 2024
Oct 22, 2020
Nov 15, 2024
Nov 15, 2024
Nov 15, 2024
Nov 15, 2024
Sep 4, 2023
Oct 22, 2020
Nov 15, 2024
Dec 26, 2020
Feb 6, 2025
Nov 16, 2024
Feb 16, 2025
Oct 22, 2020

Repository files navigation

PyPI - License Tests

py_yyjson

py_yyjson Logo

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

GitHub Sponsors PyPI - License PyPI - Version

  • Fast: yyjson is several times faster than the builtin JSON module, and is faster than most other JSON libraries.
  • 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.