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

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.2
File Size Uploaded Provenance Actions
dnd5e_srd_data-0.8.2.tar.gz 1.2 MB With provenance Details for dnd5e_srd_data-0.8.2.tar.gz

Built distribution (wheel)

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

Total release size: 3.9 MB

Release files / dnd5e_srd_data-0.8.2.tar.gz

Download URL dnd5e_srd_data-0.8.2.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
991537ffdd7ac36ed321b0c6d6b8b70ede2de33142a95c31f2d8ac5960d27686
BLAKE2b-256 checksum
How to use checksums
65e1651f823a3b55d1051a47747c780ddd3c3bea17ee4b78782eefbb5fb6f575
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.2-py3-none-any.whl

Download URL dnd5e_srd_data-0.8.2-py3-none-any.whl
Size 2.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2326a9d1c1e3c631b2eb0d5ac846893675c8374afe5f431cd2bb9627609d658f
BLAKE2b-256 checksum
How to use checksums
6abd261fd11451710b412513ee6b494855c3403350aed122e474da23973cc059
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.2

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