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/.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xtxt-0.3.0.tar.gz.
File metadata
- Download URL: xtxt-0.3.0.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3cd6084a0e6edb02a02c2fab2ffa249251715f219eb5acc19a0705b70423420
|
|
| MD5 |
599a68bd9bfb6a038ac81537856bd104
|
|
| BLAKE2b-256 |
ff8a88a2802b950176e8e56742d5f63f90f82fb419d5c2850516bc53127da059
|
Provenance
The following attestation bundles were made for xtxt-0.3.0.tar.gz:
Publisher:
release.yml on SaiMouli3/xtxt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtxt-0.3.0.tar.gz -
Subject digest:
b3cd6084a0e6edb02a02c2fab2ffa249251715f219eb5acc19a0705b70423420 - Sigstore transparency entry: 2342082380
- Sigstore integration time:
-
Permalink:
SaiMouli3/xtxt@e5d9d8bc57727fd79c8ede5ab5159a643f341237 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/SaiMouli3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e5d9d8bc57727fd79c8ede5ab5159a643f341237 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xtxt-0.3.0-py3-none-any.whl.
File metadata
- Download URL: xtxt-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
704cc00f5f3d5771ae0385baa681d5bef5c348c38a7dbe4ad24d4e345c811591
|
|
| MD5 |
a309c6354bab588dbf8f0d5be01c46f4
|
|
| BLAKE2b-256 |
e93e7b9e33c0f831c7ead32f567dd4c3b3f1ba4548074e3535ed56504716dff6
|
Provenance
The following attestation bundles were made for xtxt-0.3.0-py3-none-any.whl:
Publisher:
release.yml on SaiMouli3/xtxt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtxt-0.3.0-py3-none-any.whl -
Subject digest:
704cc00f5f3d5771ae0385baa681d5bef5c348c38a7dbe4ad24d4e345c811591 - Sigstore transparency entry: 2342082400
- Sigstore integration time:
-
Permalink:
SaiMouli3/xtxt@e5d9d8bc57727fd79c8ede5ab5159a643f341237 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/SaiMouli3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e5d9d8bc57727fd79c8ede5ab5159a643f341237 -
Trigger Event:
push
-
Statement type: