pysmhasher封装SMHasher中,更多的方法
使用方法
#从pip源安装
pip install pysmhasher
#调用方法
>>> import pysmhasher
>>> pysmhasher.murmurhash2('hello')
3848350155
>>> seed = 27
>>> pysmhasher.murmurhash2('hello', seed)
1143501851
>>> pysmhasher.cityhash64("DBE4CBA7-2ADC-4F32-8D54-D8F065FED9CC")
6587470800993669582
#下载代码并安装
git clone --recurse-submodules https://github.com/hungrybirder/pysmhasher.git
cd pysmhasher
python setup.py install
Metadata
Release files for pysmhasher 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pysmhasher-0.2.5.tar.gz | 753.6 kB | Without provenance | Details for pysmhasher-0.2.5.tar.gz |
Release files / pysmhasher-0.2.5.tar.gz
| Download URL | pysmhasher-0.2.5.tar.gz |
|---|---|
| Size | 753.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da9aa2f9a64fee2b29f7e8dfaa50f86113cbdf4828e134a33cf3576daaa8b61e
|
|
BLAKE2b-256 checksum How to use checksums |
c65f0c6de1cafbd41015ba5c4a8ca8183d64ef25b313e6a789a29db90489d6b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for pysmhasher 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.