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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

didactic-0.10.0.tar.gz (122.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

didactic-0.10.0-py3-none-any.whl (149.8 kB view details)

Uploaded Python 3

File details

Details for the file didactic-0.10.0.tar.gz.

File metadata

  • Download URL: didactic-0.10.0.tar.gz
  • Upload date:
  • Size: 122.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for didactic-0.10.0.tar.gz
Algorithm Hash digest
SHA256 34d0fa0b9af2b253cf4402d1e2b09c05dcaa6a10d5b4bca0c0261820cc685ab1
MD5 41b8537de7ee689216e8e3da44b523c9
BLAKE2b-256 22e83aee741c7b66b8a48f3aaa5a4a307131e63b43a234511be1d34bef716b35

See more details on using hashes here.

Provenance

The following attestation bundles were made for didactic-0.10.0.tar.gz:

Publisher: release.yml on panproto/didactic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file didactic-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: didactic-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 149.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for didactic-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4cf6e9ada4641404200ec8caf429e826876bbbc6e48bc7704f0b2973c7d39989
MD5 4888126bb059f5d8974dadfa04a864d1
BLAKE2b-256 c2a25cc67de8fcbe54dc519e7c65ca96683f5a0c5cb539d445bee0a42ce3eb70

See more details on using hashes here.

Provenance

The following attestation bundles were made for didactic-0.10.0-py3-none-any.whl:

Publisher: release.yml on panproto/didactic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 files

0.9.1

2 files

0.9.0

2 files

0.8.0

2 files

0.7.8

2 files

0.7.7

2 files

0.7.6

2 files

0.7.5

2 files

0.7.4

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page