Skip to main content

gld-kiln-python

A from-scratch Kiln codec for Python. The runtime and the code generator are Python. They do not wrap, link, or vendor a C, C++, or Rust Kiln library.

testdata/reference/kiln_ref.py is a test oracle for Frozen values. It is not used at run time.

This repository is a standalone library.

Documentation: Why Kiln, Instructions, Examples, Techniques, Test data.

Install

pip install gld-kiln

The import name is kiln. The generator command is gld-kilngen-python.

from kiln import Writer, decode, encode

point = ("struct", [("x", ("i32",)), ("y", ("i32",))])
writer = Writer()
raw = bytes(writer.encode(point, {"x": 9, "y": -4}))
print(decode(point, raw))

License

MIT. Copyright (c) 2026 Leonid Ganeline.

Metadata

Release files for gld-kiln 0.2.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 gld-kiln 0.2.0
File Size Uploaded Provenance Actions
gld_kiln-0.2.0.tar.gz 16.4 kB Without provenance Details for gld_kiln-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gld-kiln 0.2.0
File Interpreter ABI Platform Actions
gld_kiln-0.2.0-py3-none-any.whl Python 3 none any Details for gld_kiln-0.2.0-py3-none-any.whl

Total release size: 32.7 kB

Release files / gld_kiln-0.2.0.tar.gz

Download URL gld_kiln-0.2.0.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4e94213e439f4071e048467bc4bcc510faf86009a61b6ef70d6ddede052f9833
BLAKE2b-256 checksum
How to use checksums
ea152297f4c9430b85ca72457796aa8a97a3ae8d43657adb92eaae41766c2f25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/37.3 requests/2.32.5 requests-toolbelt/1.0.0 urllib3/2.5.0 tqdm/4.67.1 importlib-metadata/7.0.0 keyring/25.6.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.12

Release files / gld_kiln-0.2.0-py3-none-any.whl

Download URL gld_kiln-0.2.0-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71ba9964474be2ae9e2cf264f3735676bddd9058265936f8dbd66aafefed8e86
BLAKE2b-256 checksum
How to use checksums
b9cc45c753165c122fcdb92728c1f99b7aacda5d459ef6db023f208bd9536a77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/37.3 requests/2.32.5 requests-toolbelt/1.0.0 urllib3/2.5.0 tqdm/4.67.1 importlib-metadata/7.0.0 keyring/25.6.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.12

Security for gld-kiln 0.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.2.0 This release

2 release files No 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