Google FarmHash Bindings for Python
Project description
python-farmhash
Google's FarmHash binding for Python
Overview
This package provides bindings for the Google's FarmHash.
Code specific to this project is covered by The MIT License
Install
Update: Windows binary wheel uploaded to pypi
Currently, clone the repo and:
pip(Linux & Windows):
$ sudo pip install pyfarmhash
From Source:
$ cd python-farmhash
$ sudo python setup.py Install
Build on Windows:
- Install Microsoft Visual C++ Compiler
- Install miniconda for Python
$ cd python-farmhash
$ sudo python setup.py install
Usage
import farmhash
print farmhash.hash64('abc')
2640714258260161385
For more details, use ipython:
In [1]: import farmhash
In [2]: farmhash.hash64withseed?
Type: builtin_function_or_method
String Form:<built-in function hash64withseed>
Docstring:
Hash function for a string. For convenience, a 64-bit seed is also hashed into the result.
example: print farmhash.hash64withseed('abc', 12345)
13914286602242141520L
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyfarmhash-0.3.2.tar.gz.
File metadata
- Download URL: pyfarmhash-0.3.2.tar.gz
- Upload date:
- Size: 99.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4146308a0ed0b37d69003199c90fa59b155666c9deb0249b40e594cee10551ea
|
|
| MD5 |
80206957815e75aaa674d23a36ef7443
|
|
| BLAKE2b-256 |
c37f256f1954343fc44641d04292e1410470337db3720bd57b510782e449d6db
|
File details
Details for the file pyfarmhash-0.3.2-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: pyfarmhash-0.3.2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 14.4 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc3ef74dc64a19bb325d85749e0a7955ebaa6777d7cc357bfa4ba6e5864a4362
|
|
| MD5 |
22696f1245eb1add1626885affc2adfb
|
|
| BLAKE2b-256 |
99e7e3c97a5ba709e28db06f89684ad54e740efcdf8235cecc9ae2626b3188d2
|
File details
Details for the file pyfarmhash-0.3.2-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: pyfarmhash-0.3.2-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 14.4 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c125ffdf317672996e63e98bf1e84d0829fc2a85db3304ca62f873767bc0abf
|
|
| MD5 |
1ea4f2ff06b5da942d358cd441f8be45
|
|
| BLAKE2b-256 |
7ed3659f24a6636df197d804db194f764bd3489d037b66a06f4f750eb6b14e60
|
File details
Details for the file pyfarmhash-0.3.2-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: pyfarmhash-0.3.2-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 14.4 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00eadc04a0a0595fbf05bf430bac3baf9788e00b3abcdd26cd478b4b3c244837
|
|
| MD5 |
0c49e354df0183789856601acfd48ac5
|
|
| BLAKE2b-256 |
0e4f0c7dddbb43e6da3be80c52182555951636c541a2bad5d7a4418e59a6d6e3
|
File details
Details for the file pyfarmhash-0.3.2-cp37-cp37m-win_amd64.whl.
File metadata
- Download URL: pyfarmhash-0.3.2-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 14.3 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea0394094509eff756e093cd7a32d6c91d7e40afce941a00c3cf5980f2d9d0dd
|
|
| MD5 |
b1ee6c62fd2946d4443a566d24c67a38
|
|
| BLAKE2b-256 |
9d69c4ce7badf4a92b721a0593f1a21a600e5d9d6e1b890b10ba6a5458a937cc
|