Farhood Etaati
07/29/2023, 8:16 AMpip-reqs
and creating a pull request for it.pigar
the generated requirements is something like this:
anyio==3.7.1
click==8.1.6
dateparser==1.1.8
docker==6.1.3
fastapi==0.100.1
httpx==0.24.1
pandas-tutor==2.0.3
pendulum==2.1.2
prefect==2.82
pydantic==2.1.1
readchar==4.0.5
typer==0.9.0
uvicorn==0.23.1
watchfiles==0.19.0
WARNING(pigar): some manual fixes are required since pigar has found duplicate requirements for the same import name.
# WARNING(pigar): the following duplicate requirements are for import name: yaml
cronyo==0.4.5
nhflow==0.1.4
PyYAML==6.0.1
Do not know why uvicorn, fastapi are needed for the cli. Probably a misjudge because of the automation.
There's also the nhflow
section which I could not find what the package is.pipreqs
:
anyio
click
dateparser
docker_py
fastapi
httpx
pendulum
prefect.egg
prefect_docker
pydantic
PyYAML
PyYAML
readchar
rich
typer
typing_extensions
uvicorn
watchfiles
Ryan Peden
07/29/2023, 5:49 PMprefect
module I'm not sure you can really use it separately from Prefect and all its dependencies.
If you want to avoid installing all the dependencies, maybe you could just install requests or httpx and create your blocks via the REST API?Farhood Etaati
07/29/2023, 6:11 PM