Python bindings for the simdjson project, a SIMD-accelerated JSON parser. If SIMD instructions are unavailable a fallback parser is used, making pysimdjson safe to use anywhere.
Bindings are currently tested on OS X, Linux, and Windows for Python version 3.11 to 3.15.
The latest documentation can be found at https://pysimdjson.tkte.ch.
If you've checked out the source code (for example to review a PR), you can
build the latest documentation by running uv run --group dev make -C docs html.
pysimdjson compares well against most libraries. The full benchmarks can be found in its sister project json_benchmark.
Building from source requires Python 3.11+ and a C++11-compatible compiler. On Windows, install Visual Studio C++ build tools for your target architecture.
Install uv with python -m pip install uv, then from your checkout run:
uv sync --group dev
uv run --group dev --reinstall-package pysimdjson pytestPython changes are visible immediately in this editable installation. After
changing Cython or C++ sources, rebuild the extension with
uv sync --group dev --reinstall-package pysimdjson.