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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openeo_fastapi-2026.8.2.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openeo_fastapi-2026.8.2-py3-none-any.whl (45.4 kB view details)

Uploaded Python 3

File details

Details for the file openeo_fastapi-2026.8.2.tar.gz.

File metadata

  • Download URL: openeo_fastapi-2026.8.2.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for openeo_fastapi-2026.8.2.tar.gz
Algorithm Hash digest
SHA256 9490524a4f55a6b357e322a1d8119c70f522edf5bc3e9b0f64cb988ebaac32a6
MD5 92d85cc0598821b024894cb4788081bc
BLAKE2b-256 47914d390f4ea2b4c076aa7f3a95f054e77af2195a64d9caeea94fe98ed11f42

See more details on using hashes here.

Provenance

The following attestation bundles were made for openeo_fastapi-2026.8.2.tar.gz:

Publisher: release.yaml on eodcgmbh/openeo-fastapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openeo_fastapi-2026.8.2-py3-none-any.whl.

File metadata

File hashes

Hashes for openeo_fastapi-2026.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9a7b875202967b0a6f069c05383decc385c67f0c5040798165e0bc5eb9822a10
MD5 5ce236b4b59fa7f4d7bd54769206af2e
BLAKE2b-256 cc8cfee0c837d77955c9caa4cf13432a8798c33019aabd75be4f893415ea9d69

See more details on using hashes here.

Provenance

The following attestation bundles were made for openeo_fastapi-2026.8.2-py3-none-any.whl:

Publisher: release.yaml on eodcgmbh/openeo-fastapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2026.8.3

2 files

This release

2026.8.2 This release

2 files

2026.8.1

2 files

2026.6.1

2 files

2026.5.3

2 files

2026.5.2

2 files

2026.5.1

2 files

2026.4.3

2 files

2026.4.2

2 files

2026.4.1

2 files

2025.5.1

2 files

2024.11.2

2 files

2024.11.1

2 files

2024.10.1

2 files

2024.9.2

2 files

2024.9.1

2 files

2024.7.1

2 files

2024.5.3

2 files

2024.5.2

2 files

2024.5.1

2 files

2024.4.2

2 files

2024.4.1

2 files

2024.3.2

2 files

2024.3.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page