Skip to main content

a simhash module in cpp for python

Project description

simhash

simhash cpp module for python, a cpp implement of simhash, support for large dimesion such as 128bit

install

pip install pysimhash

or install from github.com

git clone https://github.com/skiloop/simhash
cd simhash
python setup.py install

requirements

  • boost python

benchmark

With 100,000 simhash value creating and comparing(using benchmark.py) on Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz x86_64 ubuntu linux, results go as follow

implement time
pure python 11148.62 s
pysimhash 2392.36 s

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

pysimhash-1.0.6.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

pysimhash-1.0.6-cp27-cp27m-macosx_10_9_x86_64.whl (35.7 kB view hashes)

Uploaded CPython 2.7m macOS 10.9+ x86-64

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