--- id: fnvhash version: "0.2.1" license: MIT license_treatment: permissive maintenance: aging --- # fnvhash — Pure Python FNV hash implementation. License: permissive · Maintenance: aging · Downloads: 862.3K/mo ## What it is and what it does fnvhash is a pure Python implementation of the FNV (Fowler-Noll-Vo) hash family. It trades performance for portability—the pure Python approach means it runs anywhere without compiled dependencies, but will be slower than optimized alternatives for high-throughput hashing. The package is useful when you need FNV hashing in environments where installing compiled extensions is difficult or when cross-platform compatibility matters more than speed. It has no runtime dependencies, installs cleanly, and has 100% test coverage. It is licensed under MIT. Use it for: - Computing checksums or hash table keys in pure Python environments where C extensions cannot be installed. - Generating FNV hashes for data deduplication or content-addressed storage in portable Python code. - Hashing datasets where compatibility is prioritized over performance. - Educational purposes to understand FNV hash algorithm implementation. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Computes FNV hash values in pure Python, prioritizing portability over performance. Yes, if you need FNV hashing and portability matters more than performance. The package is stable, has no dependencies, and installs easily. Skip it if you need high-speed hashing—the description itself recommends pyhash for performance-critical use cases. No known vulnerabilities. ## Install pip install fnvhash uv add fnvhash poetry add fnvhash ## Installing fnvhash Before you install: Low install friction with no runtime dependencies. Maintenance is aging—last commit was 2025-05-05 and the package is in Beta status, but the repository is not archived and receives occasional updates. License in practice: MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions. Quickstart: pip install fnvhash from fnvhash import fnv1a_32 hash_value = hex(fnv1a_32(b'foo')) Requires Python 3.9 or later. Verify before relying: - Whether FNV hashes are suitable for cryptographic purposes or only for non-security use cases. - Performance characteristics compared to alternatives when speed is important. - Which FNV variants (FNV-1, FNV-1a, bit widths) are supported beyond the fnv1a_32 example shown. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 862.3K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags fnv hash python, fnv1 fnv1a implementation, hash function pure python, portable hashing algorithm, fnv hash library, pure python hash, hashing, pure-python [View on SkillFed](https://skillfed.io/packages/fnvhash) · [View on PyPI](https://pypi.org/project/fnvhash/)