Skip to main content

OpenEO FastAPI

PyPI - Status PyPI PyPI - Python Version

A FastAPI implementation of the OpenEO Api specification.

Install

Install using pip

pip install openeo-fastapi

Use

The openeo fastapi repo has been set up to work with alembic. When you use this package to to prepare your api, you will need to create an alembic directory. In this directory, you can optionally add a models.py file and extend and of the models from openeo_fastapi.client.models.

The env.py file in the alembic directory, needs to be edited in the following way.

from openeo_fastapi.settings import BASE

target_metadata = BASE.metadata

You can now create auto revisions for a psql database using the alembic python commands.

alembic_cfg = Config("alembic.ini")

command.revision(alembic_cfg, f"openeo-fastapi-{__version__}", autogenerate=True)
command.upgrade(alembic_cfg, "head")

engine = get_engine()

Check how it is configured for the tests to see more.

Contribute

Included is a vscode dev container which is intended to be used as the development environment for this package. A virtual environment needs to be set up inside the dev container, this is managed by poetry.

Setup

  1. In VSCode Ctrl + shift + p and select "Dev Containers: Rebuild Container" to open the development environment for the first time.

  2. Once the development environment is ready, run the following commands.

    # From /openeo-fastapi
    
    poetry config virtualenvs.path "<I tend to set this to the repo. I.e, ~/openeo-fastapi/.venv>"
    
    poetry lock
    
    poetry install --all-extras
    
    poetry run pre-commit install
    

    If you want to add a new dependency. Add it to the pyproject.toml and rerun the two commands again.

    Git is available in the container, so you can commit and push directy to your development branch.

  3. You are now ready to write code and run tests!

    Either

    poetry run python -m pytest
    

    Or, run them directly from the testing section of vscode.

Metadata

Release files for openeo-fastapi 2026.8.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openeo-fastapi 2026.8.3
File Size Uploaded
openeo_fastapi-2026.8.3.tar.gz 36.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openeo-fastapi 2026.8.3
File Interpreter ABI Platform
openeo_fastapi-2026.8.3-py3-none-any.whl Python 3 none any Details

Total release size: 82.1 kB

Release files / openeo_fastapi-2026.8.3.tar.gz

Download URL openeo_fastapi-2026.8.3.tar.gz
Size 36.6 kB
Tags Source
SHA-256 checksum
How to use checksums
47a00cca278e08be7aa30038e463e77980d8d1f051897db206f9007d89b5e701
BLAKE2b-256 checksum
How to use checksums
a748144aebd552df7cb9b7bcdb9a7fd8b24fe8c373b516fd4207b9fd75e73900
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

Release files / openeo_fastapi-2026.8.3-py3-none-any.whl

Download URL openeo_fastapi-2026.8.3-py3-none-any.whl
Size 45.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d3bcdfb54b440f07b7dfe8a12411f382edb63ebcb50eea451da497caec8e1ec
BLAKE2b-256 checksum
How to use checksums
221a0254f163e9d16db070f94b801911fadb5ba885d16a381a514630fa96a4f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page