Registry / serialization / zope-structuredtext

zope-structuredtext

JSON →
library6.0pypypiunverified

zope.structuredtext provides a parser for StructuredText, a lightweight markup language. Version 6.0 requires Python >=3.9. The package is in maintenance mode with infrequent releases.

pip install zope.structuredtext
INSTALL
IMPORT
SIG · ZOPE-STRUCTUREDTEX
Z
zope-structuredtext
serializationpythonv6.0
Install
1.8s avg
Import
Disk
20MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v6.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.8s · import 0.000s · 19MB
20MB installed
● package 20MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

StructuredText
from zope.structuredtext import StructuredText
from zope.structuredtext import StructuredText

Parse a StructuredText string and generate HTML output.

from zope.structuredtext import StructuredText wiki = StructuredText(''' Title ----- This is a paragraph with _italic_, *bold*, and a [[link]]. * Bullet 1 * Bullet 2 ''') print(wiki.html())
txt2html --version
Debug
Known issues
breakingIn version 6.0, the 'html' method no longer accepts parameters like 'level'. Use the newer API or wrap calls.
fix
Call wiki.html() without arguments, or parse with options before generation.
affects: >=6.0
deprecatedThe function 'StructuredText2Html' was removed in v5.0; use 'structuredtext2html' instead.
fix
Replace with 'from zope.structuredtext import structuredtext2html'.
affects: >=5.0
gotchaThe parser is case-sensitive for markup. For example, '_italic_' works, but '_Italic_' fails if not matching.
fix
Ensure markup is lowercase where required. Refer to StructuredText spec.
affects: all
Upgrade
Version history
6.0latest on PyPI · released Sep 12, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
48 hits · last 30 days
node
42
OpenAI (training)
1
Resources
zope-structuredtext — pip install zope-structuredtext · libregistry