Hi, someone know if there is a way of installing j...
# prefect-community
j
Hi, someone know if there is a way of installing just the core of Prefect Orion, without the REST API, UI, CLI, just the python API? Thanks in advance.
1
a
what are you trying to do? can you explain your use case?
by default when you run:
Copy code
pip install -U "prefect>=2.0b"
it will install just the Python client and CLI with the option to start a self-hosted API Server using:
Copy code
prefect orion start
API Server is optional and you can totally only use the Python client with the ephemeral API if you choose so
j
We want to use just the Python API (flows, tasks, task runners), and run the flows from local always. I understand that the API Server is optional, but the packages are installed anyway if we use it or not
a
it's just one package
j
Oh ok, thanks for the info
a
if you prefer to build something custom, you can clone the repository and extend it as you choose, it's an OSS package - the code is here https://github.com/PrefectHQ/prefect/tree/orion
k
I don’t think you can decouple them because calling a flow hits the API and write to the DB by default