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.

Source Distribution

pysimhash-1.0.3.tar.gz (3.7 kB view hashes)

Uploaded Source

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