python-xxhash
Port variant v13
Summary Python binding for xxHash (3.13)
BROKEN
Package version 3.5.0
Homepage https://github.com/ifduyue/python-xxhash
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v12
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 11 NOV 2024, 23:28:05 UTC
Port created 05 MAR 2024, 06:30:48 UTC
Subpackage Descriptions
single python-xxhash ============= :alt: Github Actions Status :alt: Latest Version :alt: Supported Python versions :alt: License .. _HMAC: http://en.wikipedia.org/wiki/Hash-based_message_authentication_code .. _xxHash: https://github.com/Cyan4973/xxHash .. _Cyan4973: https://github.com/Cyan4973 xxhash is a Python binding for the xxHash_ library by `Yann Collet`__. __ Cyan4973_ Installation ------------ .. code-block:: bash $ pip install xxhash You can also install using conda: .. code-block:: bash $ conda install -c conda-forge python-xxhash Installing From Source ~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: bash $ pip install --no-binary xxhash xxhash Prerequisites ++++++++++++++ On Debian/Ubuntu: .. code-block:: bash $ apt-get install python-dev gcc On CentOS/Fedora: .. code-block:: bash $ yum install python-devel gcc redhat-rpm-config Linking to libxxhash.so ~~~~~~~~~~~~~~~~~~~~~~~~ By default python-xxhash will use bundled xxHash, we can change this by specifying ENV var XXHASH_LINK_SO: .. code-block:: bash $ XXHASH_LINK_SO=1 pip install --no-binary xxhash xxhash Usage -------- Module version and its backend xxHash library version can be retrieved using the module properties VERSION AND XXHASH_VERSION respectively. .. code-block:: python >>> import xxhash >>> xxhash.VERSION '2.0.0' >>> xxhash.XXHASH_VERSION '0.8.0' This module is hashlib-compliant, which means you can use it in the same way as ``hashlib.md5``. | update() -- update the current digest with an additional string | digest() -- return the current digest value | hexdigest() -- return the current digest as a string of hexadecimal digits | intdigest() -- return the current digest as an integer | copy() -- return a copy of the current xxhash object | reset() -- reset state md5 digest returns bytes, but the original xxh32 and xxh64 C APIs return integers. While this module is made hashlib-compliant, ``intdigest()`` is also provided to get the integer digest. Constructors for hash algorithms provided by this module are ``xxh32() and xxh64()``.
Configuration Switches (platform-specific settings discarded)
PY312 OFF Build using Python 3.12 PY313 ON Build using Python 3.13
Package Dependencies by Type
Build (only) python313:dev:std
python-setuptools:single:v13
autoselect-python:single:std
Build and Runtime python313:primary:std
Download groups
main mirror://PYPI/x/xxhash
Distribution File Information
84f2caddf951c9cbf8dc2e22a89d4ccf5d86391ac6418fe81e3c67d0cf60b45f 84241 xxhash-3.5.0.tar.gz
Ports that require python-xxhash:v13
No other ports depend on this one.