Skip to main content

'Did I forget any imports' generates requirement files for you

Project description

Did I forget any imports?

pipeline status coverage report PyPi Code style: black Checked with mypy Downloads

DIFAI searches for import statements for all the python and jupyter notebook files in the current directory. It then uses pip freeze to get your installed versions and pip-compile to generate a requirements.txt file containing all of your dependencies and their depdendencies including hashes for a reproducible build.

Pipeline

graph TB
    A[glob] --> B
    A --> C
    B[.py] --> D
    C[.ipynb] -->|nbconvert| B
    D[AST]  --> E
    X[pip freeze] --> E
    E[requirements.in] -->|pip tools| F
    F[requirements.txt]

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

difai-0.4.0.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

difai-0.4.0-py3-none-any.whl (3.6 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