Version Check
Core Functionality:
- Look for requirements*.txt files in your working directory and check for updates.
- Prompt to confirm each update with an upstream url.
Install
RequirementsCheck is available on pypi.org/project/RequirementsCheck/. Install into your environment with pip:
pip install requirementscheck
Add it to your requirements.txt file, pin the release, and use requirementscheck to update requirementscheck in your requirements.txt file.
Run
From your Python project root folder run:
requirementscheck
to look for requirements files and update your dependencies based on your prompts.
Additionally, this takes to optional arguments:
--confirm | --no-confirm: Ask for confirmation with link to upstream package before applying update, defaultTrue.--pin | --no-pin: Pin a dependency to the latest version if found to be not pinned, defaultFalse.-h | --help: Print help text and exit.
Ignore
You can ignore certain lines in your requirements file by appending a comment # rc:ignore to the line, indicating for requirementscheck to ignore that line.
Build
Run tests:
python -m unittest src/requirementscheck/test_requirementscheck.py
-
Update the version in setup.py
-
Git Tag
-
Push tag
-
Create release on GH
-
Build and update package to pypi:
python -m build python -m twine upload dist/*
Additional
Newest docs on GitHub: bbilly1/requirementscheck.
Metadata
Release files for RequirementsCheck 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 | |
|---|---|---|---|
| requirementscheck-0.1.1.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| requirementscheck-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / requirementscheck-0.1.1.tar.gz
| Download URL | requirementscheck-0.1.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5f276a2c2576fbfc747ec5842fe364469a406008c92d4db4a1e6f179b56a332
|
|
BLAKE2b-256 checksum How to use checksums |
5092e770238e5ed3aa015668520e68c850363135ef88ca754bb3d2f2f5057c22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.8
|
Release files / requirementscheck-0.1.1-py3-none-any.whl
| Download URL | requirementscheck-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b306042074ba321a59cb7c2939700be6c0756a50315bbae75b37a595815de432
|
|
BLAKE2b-256 checksum How to use checksums |
0e73f1be70fa9c0fbeaf306139425485df8497c27b53a91fc029534d57cd0979
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.8
|