Hey! I need to manage several flows, each have the...
# ask-community
b
Hey! I need to manage several flows, each have their own dependencies. I want to develop locally using
uv
which is a python dependency manager (like
poetry
and
pip
) This is a my folder structure:
Copy code
flows
\--- common
        \--- Dockerfile
\--- flow-1
        \--- flow.py
        \--- deployment.py
\--- flow-2
        \--- flow.py
        \--- deployment.py
When using
uv
or other dependency manager, you're supposed to work with a proper Python module (a folder with an
__init__.py
file) But the flow is a script, as it's one file, without a proper module name, so I'm getting into problems. Is this a good direction? How do you manage many flows? Does anyone here work with
poetry
or with
uv
? Thanks!
n
hey @Bil Tal - check out this repo! https://github.com/zzstoatzz/prefect-pack short answer, it depends how you build your deployments, but this a good extensible structure
i also use
uv
all the time! did you see yesterday's announcement? https://astral.sh/blog/uv-unified-python-packaging
b
@Nate Apologies for the later response... I'll take a look a the repo, looks awsome! Do you suggest using a yaml deployment over a python one? And yeah I've seen the news! so excited!