| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
OCPI Python is available from GitHub. To install it, run:
uv pip install git+https://github.com/elumobility/ocpi-python.gitOr using Poetry:
poetry add git+https://github.com/elumobility/ocpi-python.gitIn pyproject.toml (Poetry):
[tool.poetry.dependencies]
ocpi-python = { git = "https://github.com/elumobility/ocpi-python.git", branch = "main" }Make sure to install any ASGI-server supported by FastAPI. Let's install uvicorn as an example:
uv pip install uvicorn| Package | Version |
|---|---|
| Python | >=3.11 |
| Pydantic | >=2.0.0, <3.0.0 |
| pydantic-settings | >=2.0.0 |
| FastAPI | >=0.115.0, <1.0.0 |
| httpx | >=0.27.0 |
That's it! Once installed, you are ready to create your first OCPI application. See Quick Start for more.
| Back | FazBrowse Home | New Git URL |