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-2026.4.6.tar.gz (25.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-2026.4.6-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ca_biositing_webservice-2026.4.6.tar.gz
Algorithm Hash digest
SHA256 d429dd68a200b96d51cfcdfb17da28788c29d36018aced7bce812c6f32ad5794
MD5 7bb360fd5169841cac66adc373600ff0
BLAKE2b-256 b295c993859648f139165cff3e20358a9b5fc047fb6098338693fde8bdbb2659

See more details on using hashes here.

Provenance

The following attestation bundles were made for ca_biositing_webservice-2026.4.6.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-2026.4.6-py3-none-any.whl.

File metadata

File hashes

Hashes for ca_biositing_webservice-2026.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1b0a67d1906bcebf64a15f6df284171e8a24457de71c1cc85060a71f15537f06
MD5 0869ded928a199105466228cc1e84d28
BLAKE2b-256 9d1c3549b1c4141d99ce042e46b6357d12ad878d7adf1e8b3d0f9d4e73a750ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for ca_biositing_webservice-2026.4.6-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