Skip to main content

quickrest provides methods for easily generating restructured text in Python.

Project description

For instance:

from quickrest.document import Document
doc = Document()
doc.add_chapter("Hello")
doc.add_paragraph("Just to say hello.")
doc.add_section("World")
table = doc.add_table(["name", "age"])
table.add_row(["Karl", 31])
table.add_row(["Marcus", 2])
print(doc)

will print:

Hello
=====

Just to say hello.

World
-----

====== ===
name   age
====== ===
Karl   31
Marcus 2
====== ===

Project details


Release history Release notifications

This version
History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
quickrest-0.1.0.zip (13.0 kB) Copy SHA256 hash SHA256 Source None Jul 6, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page