Skip to main content

Fingerprint -- Document Fingerprint Generator

Fingerprint is a signature of the document. In particular, it is a representative subset of hash values from the set of all hash values of a document. For more detail, please consider taking a look at Winnowing: Local Algorithms for Document Fingerprinting (specifically Figure 2).

Fingerprint Module Installation

The recommended way to install the fingerprint module is to simply use pip:

$ pip install fingerprint

Fingerprint officially supports Python >= 3.0.

How to use fingerprint?

>>> import fingerprint
>>> fprint = fingerprint.Fingerprint(kgram_len=4, window_len=5, base=10, modulo=1000)
>>> fprint.generate(str="adorunrunrunadorunrun")
>>> fprint.generate(fpath="../CHANGES.txt")

The default values for the parameters are

kgram_len = 50
window_len = 100
base = 101
modulo = sys.maxint

Metadata

Release files for fingerprint 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fingerprint 0.1.6
File Size Uploaded Provenance Actions
fingerprint-0.1.6.tar.gz 4.1 kB Without provenance Details for fingerprint-0.1.6.tar.gz

Release files / fingerprint-0.1.6.tar.gz

Download URL fingerprint-0.1.6.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
25926c4a4f53289ff0b26a50266749a5526e962cc7fbc807fc48cd5fd3b8f355
BLAKE2b-256 checksum
How to use checksums
e69301993908a62885e32a5e8c0dc4fb603da9878df010c8b9f20b3fcc70fde8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

Security for fingerprint 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page