Metadata-Version: 2.1
Name: swh.perfecthash
Version: 1.3.0
Summary: Software Heritage Perfect Hash
Author-email: Software Heritage developers <swh-devel@inria.fr>
Project-URL: Homepage, https://gitlab.softwareheritage.org/swh/devel/swh-perfecthash
Project-URL: Bug Reports, https://gitlab.softwareheritage.org/swh/devel/swh-perfecthash/-/issues
Project-URL: Funding, https://www.softwareheritage.org/donate
Project-URL: Documentation, https://docs.softwareheritage.org/devel/swh-perfecthash/
Project-URL: Source, https://gitlab.softwareheritage.org/swh/devel/swh-perfecthash.git
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 3 - Alpha
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS
Requires-Dist: cffi
Provides-Extra: testing
Requires-Dist: cffi ; extra == 'testing'
Requires-Dist: pytest ; extra == 'testing'
Requires-Dist: pytest-mock ; extra == 'testing'
Requires-Dist: types-cffi ; extra == 'testing'

Perfect Hash table for Software Heritage Object Storage
=======================================================

A perfect hash table for software heritage object storage.

Build dependencies
------------------

This packages uses cffi to build the wrapper around the cmph minimal perfect
hashmap library. To build the binary extension, in addition to the python
development tools, you will need cmph, gtest and valgrind. On de Debian
system, you can install these using:

.. code-block:: shell

   sudo apt install build-essential python3-dev libcmph-dev libgtest-dev valgrind lcov

Then you should be able to build the binary extension:

.. code-block:: shell

   python -m build
