Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

A C implementation of Nilsimsa for Python.

Project description

# cNilsimsa

A C implementation of Nilsimsa for Python.

`shell $ pip install cnilsimsa `

We are building this module one piece at a time. So far, that means only compare_hexdigests because needing a faster way to do that was the primary motivation to start this project.

`python from cnilsimsa import compare_hexdigests `

It works exactly like the method of the same name from pynilsimsa but is more than an order of magnitude faster, so if you need to do lots of deduplication over a large corpus of documents via nilsimsa hex digests from Python, this should be helpful.

Building out the rest of of the methods for representing and cooking LSHs to provide a full drop-in replacement for pynilsimsa is the longer term goal.

`python import cnilsimsa as nilsimsa `

The more complete pure Python implementation is here:

Thanks to the authors of the Ruby/C implementation from which our our fillpopcount() function is taken.

Thanks to the Perl/C implementation that inspired both predecessors.

Contributions welcome.

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 cnilsimsa, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size cnilsimsa-0.1.2.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page