Skip to main content

Inspect requirements.txt files of multiple repositories.

Project description

Inspect requirements

Inspect requirements is tool indendend to make it easier to compare requirements.txt files between multiple projects/applications.

Basic usage:

# e.g. in a directory structure as follows:

$ find .
./project1
./project1/requirements.txt
./project3
./project3/requirements-prod.txt
./project2
./project2/requirements
./project2/requirements/dev.txt


# ..output would be like this:

$ inspect-requirements

Type a number or "q" to continue >a

Select repositories (or "a" for all)
* 1: project1
* 2: project3
* 3: project2

--- Summary ---
fastapi, 2 different versions
  * project1/requirements.txt: "==0.75.0"
  * project3/requirements-prod.txt: "==0.74.0"
  * project2/requirements/dev.txt: "==0.74.0"
starlette, 1 different versions
  * project1/requirements.txt: "==0.19.1"
  * project3/requirements-prod.txt: "==0.19.1"
  * project2/requirements/dev.txt: "==0.19.1"
psycopg2, 2 different versions
  * project1/requirements.txt: "==2.9.3"
  * project3/requirements-prod.txt:
  * project2/requirements/dev.txt: "==2.9.3"
pytz, 1 different versions
  * project2/requirements/dev.txt: "==2022.1"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inspect-requirements-0.10.7.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

inspect_requirements-0.10.7-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page