Skip to main content

A dependency-analyzer for requirements.txt files

Project description

Foobar

AmiLATEST is a dependency checker for your python project. It is a tool to help you find outdated dependencies, and generate a report that suggests upgrade possibilities at major, minor, and patch levels.

AmiLATEST can be used as CLI or as a library.

Installation

Use the package manager pip to install amilatest.

pip install amilatest

Usage as CLI

The CLI is a simple command line interface to AmiLATEST. For basic usage, simply run amilatest within your project directory (where your requirements.txt is located). It will then check all those dependencies and generate a report.

amilatest

By default the report is displayed on the terminal as a table. If you want to see the report in a processable format, you can use the --json flag.

amilatest --json

Usage as library

AmiLATEST can also be integrated into your project as a library. To do so, you need to import Analyzer class from the amilatest module.

from amilatest import Analyzer

a = Analyzer('./requirements.txt')

json_output = a.analyze()

Limitations

  • Currently AmiLATEST depends on the pip index command, which comes with pip version 22 or higher.
  • Editable requirements are not supported, so you can't use --editable flag. When using pip freeze, you must use the --exclude-editable flag to get rid of the editable requirements.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amilatest-0.4.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file amilatest-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: amilatest-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for amilatest-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d433770479f133a289fc45d045e18bd1f40334e262196c4e648f7087d4390321
MD5 bd5efb795dba7c5ac72bb1d611f7196a
BLAKE2b-256 3a1f81251fe28379f26e2fd39b2c1018168840e153e9ad3f4bca0088f1ca0d14

See more details on using hashes here.

Supported by

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