Metadata-Version: 2.4 Name: fnv-hash-fast Version: 2.0.3 Summary: A fast version of fnv1a License-Expression: MIT License-File: LICENSE Author: J. Nick Koston Author-email: nick@koston.org Requires-Python: >=3.10 Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: Natural Language :: English Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: 3.13 Classifier: Programming Language :: Python :: 3.14 Classifier: Topic :: Software Development :: Libraries Requires-Dist: fnvhash (>=0.1,<0.3) Project-URL: Bug Tracker, https://github.com/bluetooth-devices/fnv-hash-fast/issues Project-URL: Changelog, https://github.com/bluetooth-devices/fnv-hash-fast/blob/main/CHANGELOG.md Project-URL: Repository, https://github.com/bluetooth-devices/fnv-hash-fast Description-Content-Type: text/markdown # FNV Hash Fast
A fast version of fnv1a This library will use a CPP implementation of fnv1a (32) if cython is available, and will fallback to pure python from the fnvhash package if it is not. ## Installation Install this via pip (or your favourite package manager): `pip install fnv-hash-fast` ## Example ```python >>> import fnv_hash_fast >>> fnv_hash_fast.fnv1a_32(b"hello") 1335831723 >>> fnv_hash_fast.fnv1a_32(b"goodbye") 1188507472 ``` ## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! ## Credits This package was created with [Copier](https://copier.readthedocs.io/) and the [browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template) project template.