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.1.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

asciidocbuilder-0.1.1-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

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