Skip to main content

Python bindings for libdrafter

Project description

# DrafterPy
### API Blueprint Parser for Python
Python bindings for the [Drafter](https://github.com/apiaryio/drafter) library. It might also release the [Kraken](https://en.wikipedia.org/wiki/Kraken), so please be careful.

API Blueprint is Web API documentation language. You can find API Blueprint documentation on the [API Blueprint site](http://apiblueprint.org).

### Example

Simple api-blueprint to json parsing:

```python
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](https://github.com/menecio/drafterpy)

### License
MIT License. See the [LICENSE](https://github.com/menecio/drafterpy/blob/master/LICENSE) file.

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

DrafterPy-0.1.1.tar.gz (2.9 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