🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

amilatest

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amilatest

A dependency-analyzer for requirements.txt files

0.4.0
96

Supply Chain Security

100

Vulnerability

98

Quality

100

Maintenance

100

License

Maintainers
1

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts