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


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.2.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file DrafterPy-0.1.2.tar.gz.

File metadata

  • Download URL: DrafterPy-0.1.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for DrafterPy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f5f1fbb46c6939bc669d6a611d3ad8f2c59d72bf1c0e7242d21cffe14d1fa6ed
MD5 8b3cebe1e2d80146b4d5136ad00d1a36
BLAKE2b-256 2d80d1e9c25955675b7c24b5caad587f7c85fdff9b614d402ec9ec99e926200b

See more details on using hashes here.

Supported by

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