Skip to main content

# Fingerprint – Document Fingerprint Generator

## Fingerprint of a document 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](http://theory.stanford.edu/~aiken/publications/papers/sigmod03.pdf) (specifically Figure 2).

## Super simple to use Fingerprint is very simple to use. `python f = Fingerprint(kgram_len=4, window_len=5, base=10, modulo=1000) print f.generate(str="adorunrunrunadorunrun") print f.generate(fpath="/Users/test/docs/CHANGES.txt") ` The default values for the parameters are `python kgram_len = 50 window_len = 100 base = 101 modulo = sys.maxint `

## Install `sh pip install fingerprint `

Metadata

Release files for finger-print 0.1.2

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

Source distribution (sdist)

Source distribution for finger-print 0.1.2
File Size Uploaded
finger-print-0.1.2.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for finger-print 0.1.2
File Interpreter ABI Platform
finger_print-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 kB

Release files / finger-print-0.1.2.tar.gz

Download URL finger-print-0.1.2.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a65b8a7884b849bc00f9fbc8dbc1a9ff21a6221fa289dd5eb1dd37c3c403c358
BLAKE2b-256 checksum
How to use checksums
891125573f955999b02b0ac075c74840360e4cb9ff01bb01d3629b00740c0e33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.6.5

Release files / finger_print-0.1.2-py3-none-any.whl

Download URL finger_print-0.1.2-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aaaac87ebeb6a258d7c0f2cb9ac15c707660dd8795dfe420be19230604ce92a0
BLAKE2b-256 checksum
How to use checksums
750cdfd8cdb4fb01bdafe75006ca63f4eb8126655482cc6332efcfbe3bc68020
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

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