Skip to main content

xtxt (Python)

Parser, validator, extractor and HTML renderer for the XTXT plain-text document format. Pure Python, no dependencies.

import xtxt

res = xtxt.parse_file("notes.xtxt")
for issue in xtxt.validate(res.doc):
    print(issue.line, issue.severity, issue.message)

data = xtxt.extract(res.doc)      # outline, tasks, blocks, links, media, code
html = xtxt.render_html(res.doc, full=True)
python -m xtxt extract notes.xtxt

This is a port of the Go reference implementation, not a binding. Both are checked against the same fixtures in conformance/.

Metadata

Release files for xtxt 0.3.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 xtxt 0.3.0
File Size Uploaded
xtxt-0.3.0.tar.gz 11.3 kB Details

Built distribution (wheel)

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

Total release size: 23.6 kB

Release files / xtxt-0.3.0.tar.gz

Download URL xtxt-0.3.0.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b3cd6084a0e6edb02a02c2fab2ffa249251715f219eb5acc19a0705b70423420
BLAKE2b-256 checksum
How to use checksums
ff8a88a2802b950176e8e56742d5f63f90f82fb419d5c2850516bc53127da059
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 Aug 5, 2026.

Transparency log

Release files / xtxt-0.3.0-py3-none-any.whl

Download URL xtxt-0.3.0-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
704cc00f5f3d5771ae0385baa681d5bef5c348c38a7dbe4ad24d4e345c811591
BLAKE2b-256 checksum
How to use checksums
e93e7b9e33c0f831c7ead32f567dd4c3b3f1ba4548074e3535ed56504716dff6
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 Aug 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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