Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Calculate a hash value over a requirement file.

Project Description

Calculate a hash value over a requirement file.

reqhash parses referenced requirements and ignores changes in comments and whitespace.

Author: Daniel Hepper <> License: MIT, see LICENSE.txt


You can install reqhash from PyPI:

$ pip install reqhash

Or directly from the repo:

$ git clone … $ python install


reqhash [-h] filename

Calculate a digest for a requirements file.

Positional arguments: filename path to requirements file

Optional arguments: -h, –help show this help message and exit


$ reqhash requirements.txt 302bf9e94323ec2b6ca04b76cd407602

Release History

History Node


This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(2.0 kB) Copy SHA256 Hash SHA256
Source None May 5, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers