Skip to main content

STAPI FastAPI - Sensor Tasking API with FastAPI

[!WARNING] The whole STAPI spec is very much a work in progress, so things are guaranteed to be not correct.

Usage

STAPI FastAPI provides an fastapi.APIRouter which must be included in fastapi.FastAPI instance.

Pagination

4 endpoints currently offer pagination:

  • GET: '/orders, /products, /orders/{order_id}/statuses
  • POST: /opportunities.

Pagination is token based and follows recommendations in the STAC API pagination. Limit and token are passed in as query params for GET endpoints, and via the body as separate key/value pairs for POST requests.

If pagination is available and more records remain the response object will contain a next link object that can be used to get the next page of results. No next Link returned indicates there are no further records available.

limit defaults to 10 and maxes at 100.

ADRs

ADRs can be found in in the adrs directory.

Implementing a backend

  • The test suite assumes the backend can be instantiated without any parameters required by the constructor.

Metadata

Release files for stapi-fastapi 0.8.0

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

Source distribution (sdist)

Source distribution for stapi-fastapi 0.8.0
File Size Uploaded
stapi_fastapi-0.8.0.tar.gz 11.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stapi-fastapi 0.8.0
File Interpreter ABI Platform
stapi_fastapi-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.3 kB

Release files / stapi_fastapi-0.8.0.tar.gz

Download URL stapi_fastapi-0.8.0.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0e7be45a6fd9a437106ff8924f36b408159c24f6272a1af746aef46e30ef2453
BLAKE2b-256 checksum
How to use checksums
c9901afe5ef7738cd2fcd1c7972c722d455c5b695dd3985142f71355f8d2c1fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Dec 18, 2025.

Transparency log

Release files / stapi_fastapi-0.8.0-py3-none-any.whl

Download URL stapi_fastapi-0.8.0-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0507a4c1d4b9ef5429b6c422440849ba4a5ae939bb757ad597ef5081f75f103
BLAKE2b-256 checksum
How to use checksums
4ec8534b4ecba3296168b3b9826dd1b2cdd228679d84400bab4c592fa7b42013
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Dec 18, 2025.

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