Skip to main content

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, default True.
  • --pin | --no-pin: Pin a dependency to the latest version if found to be not pinned, default False.
  • -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
  1. Update the version in setup.py

  2. Git Tag

  3. Push tag

  4. Create release on GH

  5. 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)

Source distribution for RequirementsCheck 0.1.1
File Size Uploaded
requirementscheck-0.1.1.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for RequirementsCheck 0.1.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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