Skip to main content

dnd5e-srd-data

The dataset of Nat20: the D&D 5e SRD 5.2 (CC-BY-4.0) as typed Python models, shipped inside the package. No network, no database. The dnd5e-engine rules engine resolves combat against it, and it works on its own as a typed SRD lookup.

pip install dnd5e-srd-data

Usage

from dnd5e_srd_data import BundledAssetLoader

loader = BundledAssetLoader()
aboleth = loader.get_monster("aboleth")
print(aboleth.hp)  # 135

License

Dataset content is CC-BY-4.0. See NOTICE for attribution chain. Schema and tooling code is MIT-aligned and lives in the same package for distribution convenience.

Regenerating canonical data

make refresh-upstream    # pulls vendored Foundry + open5e snapshots
make regen               # translates + audits + writes canonical/*.json

The pinned upstream sources are recorded in raw_sources/PINS.json and raw_sources/README.md; the raw snapshots are regenerated locally, not distributed.

Metadata

Release files for dnd5e-srd-data 0.8.1

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

Source distribution (sdist)

Source distribution for dnd5e-srd-data 0.8.1
File Size Uploaded Provenance Actions
dnd5e_srd_data-0.8.1.tar.gz 1.2 MB With provenance Details for dnd5e_srd_data-0.8.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dnd5e-srd-data 0.8.1
File Interpreter ABI Platform Actions
dnd5e_srd_data-0.8.1-py3-none-any.whl Python 3 none any Details for dnd5e_srd_data-0.8.1-py3-none-any.whl

Total release size: 3.9 MB

Release files / dnd5e_srd_data-0.8.1.tar.gz

Download URL dnd5e_srd_data-0.8.1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
6db5cde9d665e15dc93eee21714c3b5bd651cd63120b579d3ce06da6264a1cce
BLAKE2b-256 checksum
How to use checksums
d98fa7758c6415bdf23d9d7ee21a6a29771699b1caa22811d82c51f58df1787c
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 27, 2026.

Transparency log

Release files / dnd5e_srd_data-0.8.1-py3-none-any.whl

Download URL dnd5e_srd_data-0.8.1-py3-none-any.whl
Size 2.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
54a5f8711964e88d5f160c2590a6efd1b3638a1a1df7bad3a6f472b06e8ba098
BLAKE2b-256 checksum
How to use checksums
64dd8e1b08fe66b8e1e841101f5bbc0e44f41cf36bd3a7ed5f45c9ebe1b35ab2
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 27, 2026.

Transparency log

Security for dnd5e-srd-data 0.8.1

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 dnd5e_srd_data-0.8.1.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 27, 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.

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