Skip to main content

No project description provided

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asciidocbuilder-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

asciidocbuilder-0.1.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file asciidocbuilder-0.1.0.tar.gz.

File metadata

  • Download URL: asciidocbuilder-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/22.4.0

File hashes

Hashes for asciidocbuilder-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1e47808e5cb33d45f34d66b101460d5089c7ab2a9ce1e5ded83170376c4a35b2
MD5 b1c593c5f1db542562684568d911764a
BLAKE2b-256 e5728322df71285dbd77eb8e5b782779dd5be9461a862993b8e682a5a123abc2

See more details on using hashes here.

File details

Details for the file asciidocbuilder-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: asciidocbuilder-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/22.4.0

File hashes

Hashes for asciidocbuilder-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8b8af7e8c1ed7e877b1018a43ac62eb40f604b35492e4ffbed41fd5f53f81ee
MD5 df86c65c1be99a03a54c814936363d9d
BLAKE2b-256 8de97acf9cf52caee8b787f90b5e508e0f4c91bbaf003b7ff304e368bd976fed

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page