fnv-0.2.0
توضیحات
FNV hash functions.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fnv-0.2.0 |
| نام | fnv |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Povilas Balciunas |
| ایمیل نویسنده | balciunas90@gmail.com |
| آدرس صفحه اصلی | https://github.com/povilasb/pyfnv |
| آدرس اینترنتی | https://pypi.org/project/fnv/ |
| مجوز | MIT |
=====
About
=====
This is a pure python implementation of FNV algorithm as specified in
http://isthe.com/chongo/tech/comp/fnv/.
Only works with Python 3.
And Python 2 is not planned to be supported.
Usage
=====
::
$ pip install fnv
.. code:: python
import fnv
data = 'my data'
fnv.hash(data, algorithm=fnv.fnv_1a, bits=64) # uses fnv.fnv_1a algorithm
fnv.hash(data, bits=64) # fnv.fnv_1a is a default algorithm
fnv.hash(data, algorithm=fnv.fnv, bits=64)
نحوه نصب
نصب پکیج whl fnv-0.2.0:
pip install fnv-0.2.0.whl
نصب پکیج tar.gz fnv-0.2.0:
pip install fnv-0.2.0.tar.gz