Skip to main content

AsciiDoc-Gen

This is a library to generate AsciiDoc sources written in Python.

The API of this library is inspired by NiceGUI. Documents are created as ASTs using Python context managers:

with adg.AsciiDocDocument(path=doc_path) as doc:
    with adg.Section(text="Hello AsciiDoc"):
        adg.IDAttribute("custom_id")
    with adg.Paragraph():
        adg.Text("This is a test document.")
        adg.Text("It showcases multiple AsciiDoc syntax elements.")
    with adg.List():
        adg.Title("Lists!")
        adg.UnorderedListItem("Lists")
        adg.UnorderedListItem("Lists")
        adg.UnorderedListItem("Lists")

    doc.render()

The document is rendered like this:

[#custom_id]
= Hello AsciiDoc

This is a test document.
It showcases multiple AsciiDoc syntax elements.

.Lists!
* Lists
* Lists
* Lists

Metadata

Release files for asciidoc-gen 0.1.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 asciidoc-gen 0.1.0
File Size Uploaded Provenance Actions
asciidoc_gen-0.1.0.tar.gz 5.0 kB With provenance Details for asciidoc_gen-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for asciidoc-gen 0.1.0
File Interpreter ABI Platform Actions
asciidoc_gen-0.1.0-py3-none-any.whl Python 3 none any Details for asciidoc_gen-0.1.0-py3-none-any.whl

Total release size: 12.0 kB

Release files / asciidoc_gen-0.1.0.tar.gz

Download URL asciidoc_gen-0.1.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b49d71e60afb449644a33b55f60bc4863f4fcc5b66851c1b37f00fa3d4f32129
BLAKE2b-256 checksum
How to use checksums
6601413f41c6e171ebc928f6b35f4a3677bd31694923c1bdcbaad85adbfdc47e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 Nov 18, 2026.

Transparency log

Release files / asciidoc_gen-0.1.0-py3-none-any.whl

Download URL asciidoc_gen-0.1.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95e417efb54304b1f996ff534161c08c5473af88ea777dff4615f2ac771aab33
BLAKE2b-256 checksum
How to use checksums
09deb7c83fba3112145b8c0f9b98dcc49b4527987cf1dc5fe6eaed61c26599cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 Nov 18, 2026.

Transparency log

Security for asciidoc-gen 0.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for asciidoc_gen-0.1.0.tar.gz

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 Nov 18, 2026.

Transparency log

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

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