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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| asciidocbuilder-0.1.1.tar.gz | 6.6 kB | Without provenance | Details for asciidocbuilder-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| asciidocbuilder-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for asciidocbuilder-0.1.1-py3-none-any.whl |
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
|
Security for asciidocbuilder 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.