Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/znerol/py-fnvhash
Pure Python FNV hash implementation
https://github.com/znerol/py-fnvhash
Last synced: about 2 months ago
JSON representation
Pure Python FNV hash implementation
- Host: GitHub
- URL: https://github.com/znerol/py-fnvhash
- Owner: znerol
- License: mit
- Created: 2015-11-28T12:12:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-05T04:25:59.000Z (almost 7 years ago)
- Last Synced: 2024-10-15T03:46:05.709Z (2 months ago)
- Language: Python
- Size: 17.6 KB
- Stars: 31
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Pure Python FNV hash implementation
===================================.. image:: https://travis-ci.org/znerol/py-fnvhash.svg?branch=master
:target: https://travis-ci.org/znerol/py-fnvhash
.. image:: https://coveralls.io/repos/github/znerol/py-fnvhash/badge.svg?branch=master
:target: https://coveralls.io/github/znerol/py-fnvhash?branch=masterPure Python implementation of the FNV_ hash family with 100% test coverage.
Take a look at pyhash_ for use cases where performance is more important than
portability... _FNV: http://isthe.com/chongo/tech/comp/fnv/
.. _pyhash: https://pypi.python.org/pypi/pyhashUsage
-----::
>>> from fnvhash import fnv1a_32
>>> hex(fnv1a_32(b'foo'))
'0xa9f37ed7'License
-------The software is subject to the MIT license.