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.

Source Distribution

plueprint-0.4.2.tar.gz (16.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page