Skip to main content

open-paleo

Pydantic v2 models and the JSON Schema for the built Open Paleo dataset (open-paleo.json / open-paleo.yml).

Install

pip install open-paleo

Only pre-1.0 versions are published so far. Until 1.0.0 the output format can change in incompatible ways between minor versions (see Versioning), so pin to one minor line: open-paleo~=0.4.7 accepts 0.4.7 and later 0.4 releases, but not 0.5.

Models

from pathlib import Path

from open_paleo import OpenPaleoDataset

dataset = OpenPaleoDataset.model_validate_json(Path("open-paleo.json").read_bytes())

for name, genus in dataset.genera.items():
    print(name, genus.parent)

tyrannosaurus = dataset.genera["Tyrannosaurus"]

OpenPaleoDataset is the whole file. genera, clades and stratigraphy are dictionaries keyed by name. Every object in the file has a model of its own (Genus, Species, Clade, Reference, StratigraphicUnit, …). The models are generated from the JSON Schema with datamodel-code-generator. The recursive tree is typed as a nested dictionary; its full recursive structure is in the schema.

JSON Schema

The package also carries the JSON Schema (draft 2020-12) the models are generated from:

import json
from importlib.resources import files

schema = json.loads(files("open_paleo").joinpath("schema.json").read_text(encoding="utf-8"))

Versioning

The package version is the dataset's output schema version, _metadata.schema_version in open-paleo.json. Install the version that matches the dataset you read. A data release that leaves the output format unchanged publishes no new package version.

The rules for when the schema version changes are in docs/VERSIONING.md, and each change is listed in the CHANGELOG.

License

CC BY 4.0, like the dataset. Credit "Open Paleo contributors".

Metadata

Release files for open-paleo 0.4.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for open-paleo 0.4.7
File Size Uploaded Provenance Actions
open_paleo-0.4.7.tar.gz 15.2 kB With provenance Details for open_paleo-0.4.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for open-paleo 0.4.7
File Interpreter ABI Platform Actions
open_paleo-0.4.7-py3-none-any.whl Python 3 none any Details for open_paleo-0.4.7-py3-none-any.whl

Total release size: 32.7 kB

Release files / open_paleo-0.4.7.tar.gz

Download URL open_paleo-0.4.7.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ade057fd714bcc7554e4ad65c1b1fd9e435c8068092b673988af042c8d9c14bc
BLAKE2b-256 checksum
How to use checksums
a36a8d95691d44cf23cf162023561f5996a44559125579f70968bde47a922c6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 23, 2026.

Transparency log

Release files / open_paleo-0.4.7-py3-none-any.whl

Download URL open_paleo-0.4.7-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea6a535e9aee0b78da56d0baffddd77f94afd603dad87d9892b26e8017428b93
BLAKE2b-256 checksum
How to use checksums
d259b87e21939f24b3c818448cc8ad9a584afc09de9497680d85cf745e29839b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 23, 2026.

Transparency log

Security for open-paleo 0.4.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for open_paleo-0.4.7.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 23, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.4.7 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page