Skip to main content

didactic

A typed-data library for Python on top of panproto.

PyPI Python License CI Docs

Authoring is class-based and looks like Pydantic. Underneath, every Model corresponds to a panproto Theory, every value to a panproto Schema, and every transformation between Models to a panproto Lens.

This is the core distribution. Three sibling distributions (didactic-pydantic, didactic-settings, didactic-fastapi) contribute submodules under didactic.<name>.

Install

didactic targets Python 3.14 and panproto 0.52+.

pip install didactic

Quickstart

import didactic.api as dx


class User(dx.Model):
    """A user record."""

    id: str
    email: str
    display_name: str = ""


u = User(id="u1", email="a@b.c")
u2 = u.with_(display_name="Alice")

Documentation

The full documentation site is at panproto.dev/didactic and includes a tutorial, task-oriented guides, conceptual background, and per-symbol API reference. Source is in the workspace docs/ directory.

License

Released under the MIT License.

Metadata

Release files for didactic 0.13.0

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

Source distribution (sdist)

Source distribution for didactic 0.13.0
File Size Uploaded
didactic-0.13.0.tar.gz 125.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for didactic 0.13.0
File Interpreter ABI Platform
didactic-0.13.0-py3-none-any.whl Python 3 none any Details

Total release size: 278.2 kB

Release files / didactic-0.13.0.tar.gz

Download URL didactic-0.13.0.tar.gz
Size 125.2 kB
Tags Source
SHA-256 checksum
How to use checksums
301833ad5b381cc28eeba2ef24a0d74ba5c21e1b6f5270f0875ced6fc92a68f2
BLAKE2b-256 checksum
How to use checksums
470a6ce1a92c1e828a00dd8565b368b65e65a18e0f34414b7c3f3682c0537c50
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 Sep 8, 2026.

Transparency log

Release files / didactic-0.13.0-py3-none-any.whl

Download URL didactic-0.13.0-py3-none-any.whl
Size 153.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1822ac20a4f103aa3bcc2586318ef4d1648d08eaa8b399daf70a42aa2f352424
BLAKE2b-256 checksum
How to use checksums
7655da2a8e99cb14519544cb558fb2f50275bf5bf7b1755babdf9c3b43ea6666
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 Sep 8, 2026.

Transparency log
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