Skip to main content

PMD

ProMD (Programmatic Mardown) is a small library which help you generating Markdown from code.
Remembering all Markdown features and how to implement them is slow, and sometimes we make errors

Install

# Using PIP:
pip install ProMD

# Using GIT plus PIP
pip install git+https://github.com/ZSendokame/ProMD.git

Use

Using PMD is easy!

import promd

md = promd.Markdown('file.md')  # File used to saved the Markdown.

md.header('Welcome to ProMD', level=1)  # A header and it's level.
md.text('Hi, this is a string.')
# Inside .text(), you can use: .bold(), .cursive() and .code().

md.ordered_list(['You can make Ordered lists.', 'Or an unordered one'])
md.unordered_list(['Like this!', 'they work the same way so...'])

md.table([
    promd.Array('First Column', ['First row, first', 'Second row, first']),
    promd.Array('Seconds Column', ['First row, second', 'Second row, second'])
])
# Create a common table, receives a list of .Array() classes, that contain the
# information to create the table.

md.save()
# Save generated markdown to the file.

# Or just use:
md.markdown

Metadata

Release files for ProMD 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ProMD 1.0.0
File Size Uploaded Provenance Actions
ProMD-1.0.0.tar.gz 2.7 kB Without provenance Details for ProMD-1.0.0.tar.gz

Release files / ProMD-1.0.0.tar.gz

Download URL ProMD-1.0.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0554d08cc32eb5ce6abe9735a739a698311e1e993cc61fffb58e748e5d6f4c1c
BLAKE2b-256 checksum
How to use checksums
71076ac722b5b8dc53d2af3509064a1f37e1264511ca936e1814ab90302fa31c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Security for ProMD 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page