CA Biositing Data Models
SQLModel-based database models for the CA Biositing project — a research platform for biomass feedstock siting in California.
This package provides 91 ORM models across 15 domain areas (resources, sampling, analysis, infrastructure, external datasets), 7 materialized analytical views, and Alembic-managed migrations backed by PostgreSQL with PostGIS.
Installation
pip install ca-biositing-datamodels
Quick Start
from sqlmodel import Session, select
from ca_biositing.datamodels.database import get_engine
from ca_biositing.datamodels.models import Resource, FieldSample, Place
engine = get_engine()
with Session(engine) as session:
resources = session.exec(select(Resource)).all()
Key Dependencies
- SQLModel — ORM + Pydantic validation
- SQLAlchemy >= 2.0
- GeoAlchemy2 — PostGIS support
- Alembic — database migrations
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 Data Models is licensed under the open source BSD 3-Clause License.
Metadata
Release files for ca-biositing-datamodels 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_datamodels-2026.4.6.tar.gz | 38.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ca_biositing_datamodels-2026.4.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 107.8 kB
Release files / ca_biositing_datamodels-2026.4.6.tar.gz
| Download URL | ca_biositing_datamodels-2026.4.6.tar.gz |
|---|---|
| Size | 38.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29300568d6352d508d64c6f7b54b436c8617c00ffe20623356af659a29ddc089
|
|
BLAKE2b-256 checksum How to use checksums |
34fd7aaddc96bf20aae6c5781874166c369d341887979b1f4ba1b059df47bf80
|
| 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_datamodels-2026.4.6-py3-none-any.whl
| Download URL | ca_biositing_datamodels-2026.4.6-py3-none-any.whl |
|---|---|
| Size | 69.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8967e0d586fe7676cfb3384a25efa5bf30ade6ccdb6a2283dc7da3a208e1bc2
|
|
BLAKE2b-256 checksum How to use checksums |
f3f00c82c1d869285d5d02ce34fceff1752e9a84f6cdf4e6e5ee9cc3f92bc3ee
|
| 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