difai-0.9.9
توضیحات
'Did I forget any imports' generates requirement files for you
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | difai-0.9.9 |
| نام | difai |
| نسخه کتابخانه | 0.9.9 |
| نگهدارنده | ['Marvin van Aalst'] |
| ایمیل نگهدارنده | ['marvin.vanaalst@gmail.com'] |
| نویسنده | Marvin van Aalst |
| ایمیل نویسنده | marvin.vanaalst@gmail.com |
| آدرس صفحه اصلی | https://gitlab.com/marvin.vanaalst/difai |
| آدرس اینترنتی | https://pypi.org/project/difai/ |
| مجوز | WTFPL |
# Did I forget any imports?
[](https://gitlab.com/marvin.vanaalst/difai/-/commits/main)
[](https://gitlab.com/marvin.vanaalst/difai/-/commits/main)
[](https://pypi.org/project/difai/)
[](https://github.com/psf/black)
[](http://mypy-lang.org/)
[](https://pepy.tech/project/difai)
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.
## Run
Simply call `difai` in the current folder.
You can change the input (where the `.py` and `.ipynb` files are read) and output (where the `requirement.in` and `requirements.txt` files are written) folders using
`--in-path` and `--out-path` respectively.
In order to exclude certain packages from the search, you can use the `--exclude` option.
## Pipeline
<div class="center">
```mermaid
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]
```
</div>
نیازمندی
| مقدار | نام |
|---|---|
| >=0.6.1,<0.7.0 | typer |
| >=6.8.0,<7.0.0 | pip-tools |
| >=5.6.0,<6.0.0 | nbformat |
| >=7.0.0,<8.0.0 | nbconvert |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl difai-0.9.9:
pip install difai-0.9.9.whl
نصب پکیج tar.gz difai-0.9.9:
pip install difai-0.9.9.tar.gz