ogc-records-parquet
Store pystac.extensions.ogc_record.OGCRecord objects in Arrow and GeoParquet.
The package preserves the extension's serialized document beside typed query
columns, with support for null geometry and explicit collection membership.
Requires Python 3.11 or newer. The test matrix covers Python 3.11–3.15.
Record parsing and serialization use
pystac-ext-ogc-record.
Quick start
Install from a local checkout:
python -m pip install -e .
from pystac.extensions.ogc_record import OGCRecord
from ogc_records_parquet import read_parquet, records_to_arrow, to_parquet
record = OGCRecord(id="workflow", properties={"title": "Flood mapping"})
to_parquet(records_to_arrow([record]), "records.parquet")
restored = next(read_parquet("records.parquet"))
assert restored.to_dict() == record.to_dict()
Round trips preserve PySTAC-serialized values, not original JSON bytes. OGC conformance and profile validation remain the caller's responsibility.
Documentation
The documentation follows Diátaxis:
- Tutorials: your first round trip.
- How-to guides: import and export, project and filter, collection membership, and migration.
- Reference: Python API, storage format, and errors and limitations.
- Explanation: preservation and projections and OGC Records and STAC.
Preview or build locally with Hatch:
hatch run docs:serve
hatch run docs:build
The strict build writes static HTML to site/. See
development for build options and authoring guidance.
Development
hatch run dev:quality
hatch run test:test
hatch run docs:build
hatch build
The quality gate runs formatting, lint, typing, and security checks. Tests cover round trips, projection safety, geometry, collection membership, and failure paths.
The query notebook demonstrates DuckDB and
CQL2 queries over the supplied examples. Install its dependencies with
python -m pip install -e ".[notebook]" and open it in a notebook-capable editor.
License and acknowledgments
Licensed under Apache-2.0. See NOTICE for upstream attribution and CHANGELOG.md for the recorded project history.
Metadata
Release files for ogc-records-parquet 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ogc_records_parquet-0.1.0.tar.gz | 75.3 kB | With provenance | Details for ogc_records_parquet-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ogc_records_parquet-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ogc_records_parquet-0.1.0-py3-none-any.whl |
Total release size: 102.9 kB
Release files / ogc_records_parquet-0.1.0.tar.gz
| Download URL | ogc_records_parquet-0.1.0.tar.gz |
|---|---|
| Size | 75.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83a516eec2bccb3d4b4a0b03daefbdf99f7e623129f5156d07a7d0ac56aba5ce
|
|
BLAKE2b-256 checksum How to use checksums |
2038cdffdc19d81ecb4662c11a1981ab7c5346bfb2bf50ef13679b86c092a130
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Nov 3, 2026.
Transparency logRelease files / ogc_records_parquet-0.1.0-py3-none-any.whl
| Download URL | ogc_records_parquet-0.1.0-py3-none-any.whl |
|---|---|
| Size | 27.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f0e5afac59e114f3c31f2dc9da2f34a8c1fd42974105dd6a2b4850b2f13d0af
|
|
BLAKE2b-256 checksum How to use checksums |
ad2b64be8f35e1dc70f85ad279bb523dcdcf3d4e3575b141670c6cb89fbadd63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Nov 3, 2026.
Transparency logSecurity for ogc-records-parquet 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ogc_records_parquet-0.1.0.tar.gz
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 Nov 3, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.