Skip to main content

Python bindings for libdrafter

Project description

API Blueprint Parser for Python

Python bindings for the Drafter library. It might also release the Kraken, so please be careful.

API Blueprint is Web API documentation language. You can find API Blueprint documentation on the API Blueprint site.

Example

Simple api-blueprint to json parsing:

from drafterpy.blueprint import Blueprint

content = "# My API\n" \
    "## GET /message\n" \
    "+ Response 200 (text/plain)\n" \
    "\n" \
    "        Hello World!\n"

bp = Blueprint(content)
bp.parse()

Contribution

Any contributions and advices are welcome. Please report any issues at the Github Page.

License

MIT License. See the LICENSE file.

Project details


Release history Release notifications

This version
History Node

0.1.2

History Node

0.1.1

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
DrafterPy-0.1.2.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None Nov 19, 2016

Supported by

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