{"id":22955232,"url":"https://github.com/eodcgmbh/openeo-fastapi","last_synced_at":"2026-03-01T07:31:27.657Z","repository":{"id":210251732,"uuid":"719153125","full_name":"eodcgmbh/openeo-fastapi","owner":"eodcgmbh","description":"A FastAPI implementation of the OpenEO Api specification.","archived":false,"fork":false,"pushed_at":"2025-05-26T13:29:43.000Z","size":2994,"stargazers_count":4,"open_issues_count":5,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-11-10T20:34:39.950Z","etag":null,"topics":["fastapi","openeo"],"latest_commit_sha":null,"homepage":"https://eodcgmbh.github.io/openeo-fastapi/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eodcgmbh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-15T15:08:42.000Z","updated_at":"2025-05-26T13:29:22.000Z","dependencies_parsed_at":"2024-01-03T09:45:37.166Z","dependency_job_id":"26ab4f05-2269-41e6-a338-77a89e900407","html_url":"https://github.com/eodcgmbh/openeo-fastapi","commit_stats":null,"previous_names":["eodcgmbh/openeo-fastapi"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/eodcgmbh/openeo-fastapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eodcgmbh%2Fopeneo-fastapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eodcgmbh%2Fopeneo-fastapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eodcgmbh%2Fopeneo-fastapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eodcgmbh%2Fopeneo-fastapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eodcgmbh","download_url":"https://codeload.github.com/eodcgmbh/openeo-fastapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eodcgmbh%2Fopeneo-fastapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29963722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fastapi","openeo"],"created_at":"2024-12-14T16:28:43.132Z","updated_at":"2026-03-01T07:31:27.638Z","avatar_url":"https://github.com/eodcgmbh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenEO FastAPI\n![PyPI - Status](https://img.shields.io/pypi/status/openeo-fastapi)\n![PyPI](https://img.shields.io/pypi/v/openeo-fastapi)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/openeo-fastapi)\n\n\nA FastAPI implementation of the OpenEO Api specification.\n\n## Install\n\nInstall using pip\n```\npip install openeo-fastapi\n```\n\n### Use\n\nThe 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.\n\nThe env.py file in the alembic directory, needs to be edited in the following way.\n```\nfrom openeo_fastapi.settings import BASE\n\ntarget_metadata = BASE.metadata\n```\n\nYou can now create auto revisions for a psql database using the alembic python commands.\n\n```\nalembic_cfg = Config(\"alembic.ini\")\n\ncommand.revision(alembic_cfg, f\"openeo-fastapi-{__version__}\", autogenerate=True)\ncommand.upgrade(alembic_cfg, \"head\")\n\nengine = get_engine()\n```\n\nCheck how it is configured for the tests to see more.\n\n## Contribute\n\nIncluded 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.\n\n#### Setup\n\n1. In VSCode `Ctrl + shift + p` and select \"Dev Containers: Rebuild Container\" to open the development environment for the first time.\n\n2. Once the development environment is ready, run the following commands.\n    ```\n    # From /openeo-fastapi\n\n    poetry config virtualenvs.path \"\u003cI tend to set this to the repo. I.e, ~/openeo-fastapi/.venv\u003e\"\n\n    poetry lock\n\n    poetry install --all-extras\n\n    poetry run pre-commit install\n    ```\n\n    If you want to add a new dependency. Add it to the pyproject.toml and rerun the two commands again.\n\n    Git is available in the container, so you can commit and push directy to your development branch.\n\n3. You are now ready to write code and run tests!\n\n    Either\n    ```\n    poetry run python -m pytest\n    ```\n\n    Or, run them directly from the testing section of vscode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feodcgmbh%2Fopeneo-fastapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feodcgmbh%2Fopeneo-fastapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feodcgmbh%2Fopeneo-fastapi/lists"}