Hello! Is there a way to install only the prefect ...
# ask-community
p
Hello! Is there a way to install only the prefect python client? I am writing some tooling that calls the prefect api and I prefer using the client instead of manually making http calls to the api. Thanks!
1
z
Not yet! There was an issue requesting it and we don’t have the bandwidth to separate it into a separate package right now. We’re interested in pursing this in the future though.
Someone was also looking into generating a client via the server’s OpenAPI specification
p
thanks for your response!
z
Which dependencies are too heavy for your use-case? Just wondering.
p
nothing in particular, I noticed a bunch of packages like docker, kubernetes etc so I was wondering if I could only install the client. Not a big deal, I like the client a lot and I will just install the whole prefect package for now. Thanks!
z
👍 makes sense. We’re also considering moving Docker/Kubernetes to be optional or based in “collections” but they’re pretty important to most users so it’s nice to have them in the core install.
We shouldn’t import them until you use a feature that requires them (like actually call a function for the feature), so they’re a little lighter than they could be.