Skip to main content

Python Extensions for SMHasher

Project description

Build Status PyPI image2 image3

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysmhasher-0.2.5.tar.gz (753.6 kB view details)

Uploaded Source

File details

Details for the file pysmhasher-0.2.5.tar.gz.

File metadata

  • Download URL: pysmhasher-0.2.5.tar.gz
  • Upload date:
  • Size: 753.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for pysmhasher-0.2.5.tar.gz
Algorithm Hash digest
SHA256 da9aa2f9a64fee2b29f7e8dfaa50f86113cbdf4828e134a33cf3576daaa8b61e
MD5 fe0736a871dce769713a9d49eaa62f32
BLAKE2b-256 c65f0c6de1cafbd41015ba5c4a8ca8183d64ef25b313e6a789a29db90489d6b4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page