Skip to main content

DocFGP

PyPI version PyPI downloads CI License: Apache-2.0

DocFGP creates text and visual fingerprints for finding duplicates, near-duplicates, and shared passages across document formats.

Features

  • PDF, DOCX, PPTX, PNG, JPEG, TIFF, BMP, and WebP support
  • Exact, near-duplicate, and partial matching
  • OCR and visual fingerprints for scanned documents

Requirements

  • Python 3.11+
  • Linux (x86_64, aarch64), macOS, or Windows (x64)

Installation

pip install docfgp
pip install "docfgp[languages]"  # OCR for non-Latin scripts

Python API

from docfgp import Fingerprinter

fingerprint = Fingerprinter().fingerprint("report.pdf")
record = fingerprint.to_dict()
Field Description
schema_version Fingerprint data format version
algorithm_version Feature-generation version
source_format Detected input format
byte_size Original file size in bytes
page_count Number of pages or image frames
exact_hashes Raw and canonical-text SHA-256 hashes
lookup_keys Word, character, passage, and visual candidate keys
minhash Word-shingle MinHash sketch
char_minhash Character-shingle MinHash sketch
shingle_counts Hashed five-word shingle occurrence counts
shingle_total Total five-word shingle occurrences
shingle_unique Distinct five-word shingle hashes
page_hashes Per-page visual hashes and lookup keys
quality Evidence status, page provenance, and warnings
parameters Parameters used to construct the fingerprint

CLI

docfgp report.pdf > report.fingerprint.json

Metadata

Release files for docfgp 0.4.0

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

Source distribution (sdist)

Source distribution for docfgp 0.4.0
File Size Uploaded Provenance Actions
docfgp-0.4.0.tar.gz 43.0 MB With provenance Details for docfgp-0.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for docfgp 0.4.0
File Actions
docfgp-0.4.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for docfgp-0.4.0-cp311-abi3-win_amd64.whl
docfgp-0.4.0-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for docfgp-0.4.0-cp311-abi3-manylinux_2_28_x86_64.whl
docfgp-0.4.0-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for docfgp-0.4.0-cp311-abi3-manylinux_2_28_aarch64.whl
docfgp-0.4.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for docfgp-0.4.0-cp311-abi3-macosx_11_0_arm64.whl
docfgp-0.4.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for docfgp-0.4.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 386.7 MB

Release files / docfgp-0.4.0.tar.gz

Download URL docfgp-0.4.0.tar.gz
Size 43.0 MB
Tags Source
SHA-256 checksum
How to use checksums
3cbb1c2292e164d0cdd3f309f59bb4841f69132fa4eed7b74a31356a2936583f
BLAKE2b-256 checksum
How to use checksums
eaf254269126b8ae47d047d5b1c296fb1fc16dd9a480dab0c95d291a072bdc06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / docfgp-0.4.0-cp311-abi3-win_amd64.whl

Download URL docfgp-0.4.0-cp311-abi3-win_amd64.whl
Size 69.5 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a10ac17c5fa8a6bc36eb05e9e167dc6b3ebcecffad9dd6459b7c4101838ddf54
BLAKE2b-256 checksum
How to use checksums
5dbd400c099fafb0bba37e4893a79978d5588ab2570ad4be53ba3c635ba9b402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / docfgp-0.4.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL docfgp-0.4.0-cp311-abi3-manylinux_2_28_x86_64.whl
Size 69.3 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
87e4707b5b21d4144359a0f36b6d38249cabb4a91c205be560e463909855d207
BLAKE2b-256 checksum
How to use checksums
179f6e6d6d21d6adc711ee92b9aebca208bc56c2c32f0b0890aee5e3dfe36307
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / docfgp-0.4.0-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL docfgp-0.4.0-cp311-abi3-manylinux_2_28_aarch64.whl
Size 68.5 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
015d38df479c16db15ba44d382aa19bd0b301a1f4fdf7bf8c0940c72e0cb662e
BLAKE2b-256 checksum
How to use checksums
f33bc987c9c989ed124e1183648777b598698b121f8d05313be59c0606db49b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / docfgp-0.4.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL docfgp-0.4.0-cp311-abi3-macosx_11_0_arm64.whl
Size 67.9 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0cdc019e979ea1d5029878af10fcca77bfda6e7becb50bad2b0e1819b0b65815
BLAKE2b-256 checksum
How to use checksums
96ab1038d3b9dccba18f51785c81bbe3bf092d704d39b76fa2864c8589c0b7a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / docfgp-0.4.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL docfgp-0.4.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 68.5 MB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
1b88c66789b1b1c3dc8daf24b0d28b732cf6469217f44dc957a03da1d3a29e60
BLAKE2b-256 checksum
How to use checksums
65405fa0ee5de722a7f755042112c0af53bdb5497421e257d8093398ce946068
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for docfgp 0.4.0

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for docfgp-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

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