Skip to main content

YIDL

YIDL helps you write Python code generators. You describe the information a generator needs, reusable pieces of Python code, and rules for choosing and combining those pieces. Your Python program supplies the particular inputs and runs generation to obtain classes or functions, which applications then use as ordinary Python.

For example, field-name inputs x and y can produce a plain slotted Point class whose constructor stores its arguments directly. Those generation inputs are separate from the instance values supplied later by Point(3, 4).

New to YIDL? Follow this sequence before studying the complete example:

  1. How YIDL works: what you author, the generator library versus generated application code, and YIDL's relationship to Astichi.
  2. Generation stages: preparation, generation and application execution.
  3. Installation, then generate a two-field slotted class.

Already familiar with Python generation? Use the direct run route after installation.

Alpha release; CPython 3.12+. The recorded example environment is qualified separately from that minimum. Astichi 1.1.3 is declared as a runtime dependency and is installed automatically. The existing yidl-compile command targets the legacy transducer frontend; use the Python concept API taught here for current braced .yidl files. Packaging and publication readiness remain separate gates.

The canonical developer contracts are dev-docs/YidlDesignSummary.md and dev-docs/YidlCodingRules.md. Older lifecycle design and internal validation material are preserved and excluded from public site output.

Metadata

Release files for yidl 0.1.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 yidl 0.1.1
File Size Uploaded Provenance
yidl-0.1.1.tar.gz 930.1 kB With provenance Details

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / yidl-0.1.1.tar.gz

Download URL yidl-0.1.1.tar.gz
Size 930.1 kB
Tags Source
SHA-256 checksum
How to use checksums
20510c266467c74507ca86164baedd59966e0cf0e380f47d73bcebab3b926b23
BLAKE2b-256 checksum
How to use checksums
a114b8a42ac3a780f0900d05da6a2fa36b69cad6455d863877802f755a05388f
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 Oct 25, 2026.

Transparency log

Release files / yidl-0.1.1-py3-none-any.whl

Download URL yidl-0.1.1-py3-none-any.whl
Size 139.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
985f6e1284eb265d65df85c7987a9db6ee912cddf551b700e5e4c47c02ba01bb
BLAKE2b-256 checksum
How to use checksums
e8a5e08da00bbd8657ae13eb5c9ab8b08ff482ba1e6c59d036afbc72dd930e15
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 Oct 25, 2026.

Transparency log

Security for yidl 0.1.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for yidl-0.1.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 Oct 25, 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.1.1 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