NOTICE: If you're reading this on GitHub.com please be aware this is a mirror of the primary remote located at https://code.richard.do/richardARPANET/lock-requirements. Please direct issues and pull requests there.
lock-requirements
A CLI tool to update your requirements.txt file package versions to be locked/fixed to the latest versions available on PyPI.
For example
Input file contents before locking:
requirements-parser
pypi-simple>=0.4.0,<1.0.0
docopt>=0.5.0,<1.0.0
wheel
Input file contents after locking:
requirements-parser==0.2.0
pypi-simple==0.4.0
docopt==0.6.2
wheel==0.32.3
Installation
pip install lock-requirements
Usage
lock requirements.txt
lock requirements-dev.txt
Use a custom PyPI simple index url to retrieve latest package versions from.
lock requirements.txt --index-url=https://example.com/simple/
Development Installation
pip install -r requirements-dev.txt
python setup.py develop
And to the run tests:
tox
Metadata
Release files for lock-requirements 0.1.1
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 |
|---|---|---|---|---|
| lock-requirements-0.1.1.tar.gz | 3.6 kB | Without provenance | Details for lock-requirements-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lock_requirements-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for lock_requirements-0.1.1-py2.py3-none-any.whl |
Total release size: 7.6 kB
Release files / lock-requirements-0.1.1.tar.gz
| Download URL | lock-requirements-0.1.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a4d10b79f2ebece6e1967a5542b7ac47a2ba98acef054e8bfc5a43a1c3bef23
|
|
BLAKE2b-256 checksum How to use checksums |
2c8ad39fff43c8b47f6eedb5b9cce661043cc9aebeba73cd9b642d79d9290519
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.2
|
Release files / lock_requirements-0.1.1-py2.py3-none-any.whl
| Download URL | lock_requirements-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ec12b5a4eeacaa0bc38815e26a0847dedfe2b1621a3d1d0dfcda6a92c60d9c83
|
|
BLAKE2b-256 checksum How to use checksums |
632d6a9f795ee71d25adf0ecba84f4c441225af10bd1e18827291e291df1b1cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.2
|
Security for lock-requirements 0.1.1
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.