Skip to main content

inscription

Parse out machine-readable rules embedded in Markdown documents. The rules are still valid Markdown, so they can be easily read, edited, and understood by humans.

import inscription

markdown, rules = inscription.separate(text)

Rules are formatted as unordered lists, and must be the first things that appears in the section.

Normal Markdown appears alongside encoded rules.

# Valid rules

- Inventory _add_ Handaxe

Anything between the start of the section (or very start of file if it doesn't
begin with a header) are rules for computers.

# Invalid rules

- bananas
- raspberries

The rules must parse successfully, or they are treated as Markdown for humans.

Metadata

Release files for inscription 0.0.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 inscription 0.0.1
File Size Uploaded
inscription-0.0.1.tar.gz 2.4 kB Details

Built distribution (wheel)

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

Total release size: 5.3 kB

Release files / inscription-0.0.1.tar.gz

Download URL inscription-0.0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3f40d74b53b8421f931ea4e4ba0be7a9160a98a0a65d9326bd70a009f323024d
BLAKE2b-256 checksum
How to use checksums
c85af98e6be1878638ae8b5513b79c715729d98fe7abe441d0f228b70a57590a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 22, 2026.

Transparency log

Release files / inscription-0.0.1-py3-none-any.whl

Download URL inscription-0.0.1-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f70b5ba2c47c7ce90b5512453745b9274045db10a42ba248ceb74ca8853bc0ef
BLAKE2b-256 checksum
How to use checksums
a9eb6dad541f13e41db4bd969292dbc6e9d97c103a4b1c61eec4d4fd13eaf2a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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