NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #219 most downloaded on PyPI
Python binding for xxHash
Last release 1 months ago
17 Aug 2026
Release timing varies
gaps range from 2 weeks to 1.1 years
Nearly every release is documented
notes for 42 of 44 stable releases
3 versions withdrawn
withdrawn after publishing
12 years old
49 releases · first in 2014
Clean up _parse_init_args keyword handling so the defensive check for a duplicate data keyword raises a proper error message
_parse_init_args keyword handling so the defensive checkdata keyword raises a proper error message_xxhash module docstringFull Changelog: v4.0.0...v4.0.1
Breaking change : Drop support for Python 3.8, require Python >= 3.9
xxhash.VERSION_TUPLEinput keyword argument is renamed to dataupdate(), and one-shot functionsstr input is no longer accepted and raisesTypeError: Strings must be encoded before hashing; encode tobytes before hashing-march=x86-64-v3), upstream v0.8.3XXH64_update() and makes the xxh64 streaming path-fno-tree-vectorize to the compiler flags.tp_vectorcall.One column per quarter.
Breaking change: Drop support for Python 3.8, require Python >= 3.9
Breaking change: Remove deprecated xxhash.VERSION_TUPLE
Breaking change: The input keyword argument is renamed to data in constructors and one-shot functions. update() additionally gains a data keyword argument (it accepted no keyword arguments before).
Breaking change: str input is no longer accepted and raises TypeError: Strings must be encoded before hashing; encode to bytes before hashing
Upgrade xxHash from v0.8.2 to v0.8.3. Note: on GCC/Clang source builds that target AVX2 (e.g. -march=x86-64-v3), upstream v0.8.3 autovectorizes XXH64_update() and makes the xxh64 streaming path about 2x slower. The shipped wheels are built for baseline x86-64 and are unaffected. Source builds can work around it by adding -fno-tree-vectorize to the compiler flags.
Add per-object locking for thread safety, with sub-interpreter and free-threaded (no-GIL) Python support. The GIL is now released only while hashing inputs larger than 64 KiB; previously update() released it unconditionally and one-shot functions always held it.
Speed up hash constructors by switching them to tp_vectorcall.
Build pyodide wasm32 wheels
Add s390x big-endian test job
Add Python 3.15 classifier
CI: shard the PyPI upload into parallel groups and create the GitHub Release automatically
Register the "benchmark" pytest mark to avoid PytestUnknownMarkWarning
Full list of changes: v3.8.0...v3.8.1
Speed up module-level one-shot digest() , intdigest() , and hexdigest() functions by switching them to METH_FASTCALL .
digest(), intdigest(), andhexdigest() functions by switching them to METH_FASTCALL.input/seed arguments, duplicate argumentxxh3_128 integer digest path so allocationPyModule_AddType compatibilityxxh64_digest(), xxh64_hexdigest(), andxxh64_intdigest(), they were incorrectly aliased to xxh3_64 functions.Full list of changes: v3.7.1...v3.8.0
Register the "benchmark" pytest mark to avoid PytestUnknownMarkWarning
Full list of changes: v3.7.1...v3.7.2
Fix memory leak in copy() and new() when memory allocation fails (rare edge case)
Full list of changes: v3.7.0...v3.7.1
Build armv7l manylinux/musllinux wheels
Full list of changes: v3.6.0...v3.7.0
Deprecate xxhash.VERSION_TUPLE, it will be removed in the next major release
Full list of changes: v3.5.0...v3.6.0
Full list of changes: v3.4.1...v3.5.0
Full list of changes: v3.3.0...v3.4.1
Nothing published for this version
*Yanked* due to wheels building problem.
Yanked due to wheels building problem.
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v3.2.0...v3.3.0
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v3.2.0...v3.3.0
This is the last version to support Python 3.6
This is the last version to support Python 3.6
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v3.1.0...v3.2.0
Enabled muslinux wheels building.
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v3.0.0...v3.1.0
New set algorithms_available lists all implemented algorithms in xxhash package.
algorithms_available lists all implemented algorithms in xxhash
package.Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v2.0.2...v3.0.0
Only to trigger Python 3.9 wheels building.
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v2.0.0...v2.0.2
Only to trigger Python 3.9 wheels building.
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v2.0.0...v2.0.1
Require xxHash version >= v0.8.0
xxh3_64, xxh3_128, and their oneshot functionsFull list of changes: https://github.com/ifduyue/python-xxhash/compare/v1.4.4...v2.0.0
Require xxHash version >= v0.8.0
Upgrade xxHash to v0.8.0
XXH3 hashes: xxh3_64, xxh3_128, and their oneshot functions
Stop using PEP393 deprecated APIs
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v1.4.3...v1.4.4
Nothing published for this version
Nothing published for this version
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v1.4.2...v1.4.3
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v1.4.2...v1.4.3
Fixed: setup.py fails when reading README.rst and the default encoding is not UTF-8
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v1.4.1...v1.4.2
Fixed: missing xxh3.h file from source tarball
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v1.4.0...v1.4.1
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v1.3.0...v1.4.0
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v1.3.0...v1.4.0
Wheels are now built automatically
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v1.2.0...v1.3.0
Add oneshot functions xxh{32,64}_{,int,hex}digest
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v1.1.0...v1.2.0
Nothing published for this version
Release the GIL on sufficiently large input
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v1.0.1...v1.1.0
Free state actively, instead of delegating it to ffi.gc
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v1.0.0...v1.0.1
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.6.3...v1.0.0
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.6.3...v1.0.0
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.6.2...v0.6.3
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.6.2...v0.6.3
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.5.0...v0.6.1
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.5.0...v0.6.1
Nothing published for this version
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.4.3...v0.5.0
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.4.3...v0.5.0
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.4.1...v0.4.3
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.4.1...v0.4.3
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.4.0...v0.4.1
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.4.0...v0.4.1
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.3.2...v0.4.0
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.3.2...v0.4.0
Fixed some typos in docstrings.
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.3.1...v0.3.2
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.3.0...v0.3.1
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.3.0...v0.3.1
Change digest() from little-endian representation to big-endian representation of the integer digest. This change breaks compatibility (digest() resul
digest() from little-endian representation to big-endian representation of the integer digest. This change breaks compatibility (digest() results are different).Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.2.0...v0.3.0
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.1.3...v0.2.0
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.1.3...v0.2.0
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.1.2...v0.1.3
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.1.2...v0.1.3
Improve: Check XXHnn_init() return value.
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.1.1...v0.1.2
Improve: Can now be built with Visual C++ Compiler.
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.1.0...v0.1.1
New: XXH32 and XXH64 type, which support partially update.
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.0.2...v0.1.0
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.0.1...v0.0.2
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/v0.0.1...v0.0.2
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/b5dbd398a8c...v0.0.1
Full list of changes: https://github.com/ifduyue/python-xxhash/compare/b5dbd398a8c...v0.0.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →