Skip to main content

a simhash module in cpp for python

Project description


# simhash
simhash cpp module for python, a cpp implement of [simhash](https://github.com/leonsim/simhash), support for large dimesion such as 128bit
# install
```shell
pip install pysimhash
```
or install from github.com
```shell
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](./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.

Files for pysimhash, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size pysimhash-1.0.3.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page