Skip to main content

AsciiDocBuilder

AsciiDocBuilder is a Python library designed to make it easy to construct AsciiDoc documents programmatically. Through its object-oriented interface, users can seamlessly design and structure AsciiDoc elements, thus providing a modular and extensible approach to generating detailed documentation.

Features

  • Object-Oriented Approach: Create and manage AsciiDoc content with intuitive Python objects.
  • Modular Design: Different modules for various AsciiDoc elements, such as text, structure, admonition, etc.
  • Easy Extendability: The architecture supports the creation of new custom elements and behaviors with ease.

Installation

pip install asciidocbuilder

Note: This installation instruction assumes the presence of the package on PyPi. If not available, ensure to provide accurate installation steps.

Quick Start

Here's a simple example:

from asciidocbuilder import AsciiDocBuilder, TextElement, Section

doc = AsciiDocBuilder("output.adoc")
section = Section("Introduction", 1)
section.add_element(TextElement("Welcome to the AsciiDoc world via AsciiDocBuilder!"))
doc.root.add_element(section)
doc.save()

The script above will generate an AsciiDoc file named output.adoc with your content.

Comprehensive Documentation

Detailed documentation, including API references and advanced usage, is available here. (Replace with an actual link when available)

Examples

Explore the examples directory in the repository for various use-case scripts, demonstrating the vast capabilities of AsciiDocBuilder.

Running Tests

Our test suite utilizes pytest. To execute tests, simply navigate to the project's root directory and run:

pytest

Contribute to AsciiDocBuilder

We're open to contributions! Whether it's feature enhancements, bug fixes, or documentation improvements, your efforts are welcome. Kindly open an issue or submit a pull request.

License

AsciiDocBuilder is licensed under the MIT License.


Remember, the best READMEs often include more visual content, like screenshots or diagrams, especially if the library/tool has any UI or visual output components. It's also beneficial to have links to detailed documentation, API references, and usage tutorials. As your project evolves, make sure to keep the README updated to reflect those changes.

Metadata

Release files for asciidocbuilder 0.1.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 asciidocbuilder 0.1.1
File Size Uploaded
asciidocbuilder-0.1.1.tar.gz 6.6 kB Details

Built distribution (wheel)

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

Total release size: 15.3 kB

Release files / asciidocbuilder-0.1.1.tar.gz

Download URL asciidocbuilder-0.1.1.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
af8d1af1b008f39a52758fb27d5d86d55f9cf34bbf92f69fbf7b5b75aed06663
BLAKE2b-256 checksum
How to use checksums
277df3ecae8177d8ed1ca00fd46cc01d2c283d0a3d26c3cb925838ec741f9c05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Darwin/22.4.0

Release files / asciidocbuilder-0.1.1-py3-none-any.whl

Download URL asciidocbuilder-0.1.1-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c8535ddf8bc7188c5ae7efcff1c4a802a704dc878eaaa3190affe6a9f341184
BLAKE2b-256 checksum
How to use checksums
bc994573bcd9418fa1550fd9f0e7a15f44bc221eb951b75f84ad3f6cb3a523a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Darwin/22.4.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

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