Skip to main content

API Blueprint ( parser in pure Python

Project description

# plueprint
[API Blueprint]( parser written in Python.
It uses [Markdown]( well-known package to do
initial DOM parsing.

### Installing
pip install plueprint

### Using
As a library:
from markdown import Markdown
m = Markdown(extensions=["plueprint"])
api = m.convert("""

# The Simplest API
This is one of the simplest APIs written in the **API Blueprint**.

# /message

## GET
+ Response 200 (text/plain)

Hello World!
As a script:
python -m plueprint "Real World"
python -m plueprint "Real World" -o "api.pickle"

### Notes
To suppress warnings about parsed documents, set `plueprint.entities.report_warnings` to `False`.

Released under New BSD license.

Project details

Download files

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

Files for plueprint, version 0.4.2
Filename, size File type Python version Upload date Hashes
Filename, size plueprint-0.4.2.tar.gz (16.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page