Skip to main content

Sensor Tasking API (STAPI) with FastAPI

Project description

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.

Project details


Download files

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

Source Distribution

stapi_fastapi-0.8.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

stapi_fastapi-0.8.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file stapi_fastapi-0.8.0.tar.gz.

File metadata

  • Download URL: stapi_fastapi-0.8.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for stapi_fastapi-0.8.0.tar.gz
Algorithm Hash digest
SHA256 0e7be45a6fd9a437106ff8924f36b408159c24f6272a1af746aef46e30ef2453
MD5 ab5f31dded419662265277ea227478a7
BLAKE2b-256 c9901afe5ef7738cd2fcd1c7972c722d455c5b695dd3985142f71355f8d2c1fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for stapi_fastapi-0.8.0.tar.gz:

Publisher: release.yaml on stapi-spec/pystapi

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

File details

Details for the file stapi_fastapi-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: stapi_fastapi-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for stapi_fastapi-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0507a4c1d4b9ef5429b6c422440849ba4a5ae939bb757ad597ef5081f75f103
MD5 28755ad7c90225c652d222389c0d28a7
BLAKE2b-256 4ec8534b4ecba3296168b3b9826dd1b2cdd228679d84400bab4c592fa7b42013

See more details on using hashes here.

Provenance

The following attestation bundles were made for stapi_fastapi-0.8.0-py3-none-any.whl:

Publisher: release.yaml on stapi-spec/pystapi

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

Supported by

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