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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file asciidocbuilder-0.1.1.tar.gz
.
File metadata
- Download URL: asciidocbuilder-0.1.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/22.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af8d1af1b008f39a52758fb27d5d86d55f9cf34bbf92f69fbf7b5b75aed06663 |
|
MD5 | 40340920f2f822b1b5c9a0d41288585d |
|
BLAKE2b-256 | 277df3ecae8177d8ed1ca00fd46cc01d2c283d0a3d26c3cb925838ec741f9c05 |
File details
Details for the file asciidocbuilder-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: asciidocbuilder-0.1.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c8535ddf8bc7188c5ae7efcff1c4a802a704dc878eaaa3190affe6a9f341184 |
|
MD5 | 3934599c563990d8bb39cf528ce145bd |
|
BLAKE2b-256 | bc994573bcd9418fa1550fd9f0e7a15f44bc221eb951b75f84ad3f6cb3a523a7 |