$npx skillfedfor your agent

filehash

Module and command-line tool that wraps around hashlib and zlib to facilitate generating checksums / hashes of files and directories.

With conditionsPyPI LibrariesReleased Oct 2021749.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — filehash-0.2.dev1-py3-none-any.whl
v0.2.dev1 · released 2021-10-11

Yes, if you need lightweight file hashing without external dependencies and don't require active maintenance. The core functionality is stable and well-tested across multiple Python versions. No, if you need ongoing support, bug fixes, or compatibility with Python versions beyond 3.10—the project is dormant and has not been updated since 2021.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • Maintenance is dormant—last release was in 2021 and last commit in March 2024—so expect no active bug fixes or feature updates, though the package remains functional for its core use case.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions.

last release 2021-10-11 (1768 days) · last repo commit 2024-03-01 · 29 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 749,392 downloads/mo, #5,162 on PyPI

Verify before relying

pip install filehash

from filehash import FileHash
md5hasher = FileHash('md5')
md5hasher.hash_file("./testdata/lorem_ipsum.txt")
  • Whether BLAKE2 support on Python 3.6+ is still functional in practice given the dormant maintenance status.
  • Current compatibility with Python versions beyond 3.10, which was the latest tested version listed in the description.
Same gist for agents: .md · .json

What it is and what it does

Filehash is a Python module that wraps hashlib and zlib to compute and verify file checksums and hashes. It provides a FileHash class with methods to hash individual files, multiple files, or entire directories, and to verify checksums against SFV files or checksum files in the format used by sha1sum and similar tools. It also includes a command-line tool, chkfilehash, for quick hash computation and verification from the shell.

The package supports multiple hashing algorithms—MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, BLAKE2b, BLAKE2s, CRC32, and Adler-32—and allows configuration of the hash algorithm and chunk size for memory-efficient processing of large files. It has no external runtime dependencies and works across Python 2.7 and Python 3.6 through 3.10.

Use it for

  • Verify file integrity after download or transfer by comparing computed hashes against expected checksums.
  • Batch-process directories to generate hash manifests for archival or backup verification.
  • Validate SFV files to check that a set of downloaded files match their original checksums.
  • Compute a combined hash for multiple files sorted by their individual hashes for deduplication or integrity checks.
  • Integrate file hashing into Python scripts without external dependencies for lightweight integrity validation.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need lightweight file hashing without external dependencies and don't require active maintenance.

The core functionality is stable and well-tested across multiple Python versions. No, if you need ongoing support, bug fixes, or compatibility with Python versions beyond 3.10—the project is dormant and has not been updated since 2021.

Install

filehash on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance is dormant—last release was in 2021 and last commit in March 2024—so expect no active bug fixes or feature updates, though the package remains functional for its core use case.

License in practice

MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions.

Quickstart

pip install filehash

from filehash import FileHash
md5hasher = FileHash('md5')
md5hasher.hash_file("./testdata/lorem_ipsum.txt")

Verify before relying

  • Whether BLAKE2 support on Python 3.6+ is still functional in practice given the dormant maintenance status.
  • Current compatibility with Python versions beyond 3.10, which was the latest tested version listed in the description.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 1,768 days since the last release
Last repo commit
First released
Downloads749,392 / month, #5,162 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: End Users/DesktopLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Utilities

Evidence: filehash-0.2.dev1-py3-none-any.whl

Tags

Capabilities
file hash checksum calculatorverify file integritymd5 sha256 file hashingdirectory hash verificationsfv checksum verificationbulk file hashingfile integrity checking
Topics
file-integritychecksum-verificationcli-tool

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “file hash checksum calculator”

  • filehashCalculates and verifies file checksums and hashes using algorithms…
  • checksumdirComputes a single hash digest of all file contents in a directory,…
  • dirhashComputes a single hash value for an entire directory based on its…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also dict-hash · dirhash · paytmchecksum · py-multihash · checksumdir · commoncode · lpc-checksum · ImageHash · django-sri · fastcrc