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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reqhash-0.1.2.tar.gz | 2.1 kB | Without provenance | Details for reqhash-0.1.2.tar.gz |
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 |
Security for reqhash 0.1.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.