Skip to content

menecio/drafterpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DrafterPy

PyPI Version

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.

About

Python bindings for Drafter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published