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
ca-biositing-datamodels— shared database models- FastAPI — web framework
- Uvicorn — ASGI server
- PyJWT — JWT authentication
Links
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.
Metadata
Release files for ca-biositing-webservice 2026.4.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ca_biositing_webservice-2026.4.6.tar.gz | 25.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ca_biositing_webservice-2026.4.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 61.6 kB
Release files / ca_biositing_webservice-2026.4.6.tar.gz
| Download URL | ca_biositing_webservice-2026.4.6.tar.gz |
|---|---|
| Size | 25.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d429dd68a200b96d51cfcdfb17da28788c29d36018aced7bce812c6f32ad5794
|
|
BLAKE2b-256 checksum How to use checksums |
b295c993859648f139165cff3e20358a9b5fc047fb6098338693fde8bdbb2659
|
| 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 Apr 6, 2026.
Transparency logRelease files / ca_biositing_webservice-2026.4.6-py3-none-any.whl
| Download URL | ca_biositing_webservice-2026.4.6-py3-none-any.whl |
|---|---|
| Size | 36.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b0a67d1906bcebf64a15f6df284171e8a24457de71c1cc85060a71f15537f06
|
|
BLAKE2b-256 checksum How to use checksums |
9d1c3549b1c4141d99ce042e46b6357d12ad878d7adf1e8b3d0f9d4e73a750ba
|
| 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 Apr 6, 2026.
Transparency log