Skip to main content

reqhash

Calculate a hash value over a requirement file.

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

reqhash is tested under Python 2.6, 2.7, 3.2, 3.3 and PyPy. To install under 3.x, you have to use distribute, which is installed by default if you use a current version of virtualenv.

Author: Daniel Hepper <daniel@hepper.net> License: MIT, see LICENSE.txt

Installation

You can install reqhash from PyPI:

$ pip install reqhash

Or directly from the repo:

$ git clone https://github.com/dhepper/reqhash … $ python setup.py install

Usage

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

Example

$ reqhash requirements.txt 302bf9e94323ec2b6ca04b76cd407602

Metadata

Release files for reqhash 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 reqhash 0.1.2
File Size Uploaded
reqhash-0.1.2.tar.gz 2.1 kB Details

Release files / reqhash-0.1.2.tar.gz

Download URL reqhash-0.1.2.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
21b29ca1f6b09a89fd7ca16a5f435e7cb5fae0e7d2c7af1b55322b034f079c54
BLAKE2b-256 checksum
How to use checksums
ffafb2fea7aba56f8ad8194813d2ecd2cd91c5a1f71497b19d53ad1c590b2caf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

0.1

1 release file

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