Skip to main content

REST API for CA Biositing project

Project description

CA Biositing Web Service

FastAPI REST API for the CA Biositing project — serving biomass feedstock data including USDA Census/Survey statistics and laboratory analysis results.

Shares database models with the companion ca-biositing-datamodels package.

Installation

pip install ca-biositing-webservice

Quick Start

uvicorn ca_biositing.webservice.main:app --reload

Interactive docs at http://localhost:8000/docs.

API Overview

Endpoint Family Base Path Description
Auth /v1/auth/token JWT access tokens
Analysis /v1/feedstocks/analysis/ Lab analysis data by resource and location
USDA Census /v1/feedstocks/usda/census/ USDA Census data by crop or resource
USDA Survey /v1/feedstocks/usda/survey/ USDA Survey data by crop or resource

Each family includes discovery endpoints returning available crops, resources, geoids, and parameters. All lookups are case-insensitive.

Key Dependencies

Links

Contributors

Contributors

Acknowledgement

We acknowledge software engineering support from the University of Washington Scientific Software Engineering Center (SSEC), as part of the Schmidt Sciences Virtual Institute for Scientific Software (VISS).

License

CA Biositing Web Service is licensed under the open source BSD 3-Clause License.

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

ca_biositing_webservice-0.0.2.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

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

ca_biositing_webservice-0.0.2-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file ca_biositing_webservice-0.0.2.tar.gz.

File metadata

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

File hashes

Hashes for ca_biositing_webservice-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a6b6858fd691a9215e8dfc3a97a1d9ca3c87dd2be6098eeea76026469b751c77
MD5 4dae455b16db241cefd89e56fcbf043f
BLAKE2b-256 cc773ef2de68912603ec57c7be7f8ecac011dab9ccfadb3e48d1afcb69e9bbc6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ca_biositing_webservice-0.0.2.tar.gz:

Publisher: cd.yml on sustainability-software-lab/ca-biositing

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

File details

Details for the file ca_biositing_webservice-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ca_biositing_webservice-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 807b5f867351f7720b4317f0b369f88cceb26add625cad069f2760961de1d615
MD5 99ee95e8d79a43d8bd89d0b9a845c5e6
BLAKE2b-256 2e9a542052903affc5a058033246eaf6a66fdd28985a4e9dbf58bd90d97b05ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for ca_biositing_webservice-0.0.2-py3-none-any.whl:

Publisher: cd.yml on sustainability-software-lab/ca-biositing

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