markdown-builder
markdown-builder is a minimalist package for creating MarkDown
documents in a Python program.
It requires Python 3.
It grew out of a number of Python applications that needed similar functionality. At present, it only supports the features required by those applications, but I'm open to suggestions for additions.
The DRY principle led me to separate out the code into a separate package.
With markdown-builder you can build a Markdown document in a few lines
of Python code.
Installation
pip3 install markdown-builder.
Quickstart
The following Python program will generate SAMPLE.md
from markdown_builder.document import MarkdownDocument
md = MarkdownDocument()
md.append_heading('Welcome to MarkDown')
md.append_text('markdown-builder is really easy to use')
md.append_heading('This is a level2 heading', 2)
md.append_text_indented('This is inset', depth=1)
md.append_bullet('This is a top-level bullet point')
md.append_bullet('This is a lower level bullet point', depth=1)
Metadata
Release files for markdown-builder 0.1.2
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 | |
|---|---|---|---|---|
| markdown-builder-0.1.2.tar.gz | 3.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| markdown_builder-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / markdown-builder-0.1.2.tar.gz
| Download URL | markdown-builder-0.1.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
389bc534edf42b9b8a04c530477180dce970b82191e7c3d9821f27957235edbb
|
|
BLAKE2b-256 checksum How to use checksums |
46cc21b91361b37ebdf0c414be97a080abb844b218f6b091cef380c0ac267126
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / markdown_builder-0.1.2-py3-none-any.whl
| Download URL | markdown_builder-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47a947494c63dc9676055ad2b5b58721661d9174df250425fa8ee5e926d06c87
|
|
BLAKE2b-256 checksum How to use checksums |
6dee1791f495cb2333d4bd944d1e1514508b39e0894d4b076fa59900abbf6236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Security for markdown-builder 0.1.2
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.