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

amilatest-0.4.0-py3-none-any.whl (5.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