All Projects → kylef → draughtsman

kylef / draughtsman

Licence: BSD-3-Clause license
API Blueprint Parser for Python 3

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to draughtsman

Apib Editor
simple api-blueprint editor
Stars: ✭ 9 (-59.09%)
Mutual labels:  api-blueprint
Dredd Example
Example application using Dredd and CI
Stars: ✭ 79 (+259.09%)
Mutual labels:  api-blueprint
Apiary2postman
Tool for generating a Postman collection from Blueprint API markup or the Apiary API
Stars: ✭ 194 (+781.82%)
Mutual labels:  api-blueprint
Apidocs
API documentation for The Grid
Stars: ✭ 43 (+95.45%)
Mutual labels:  api-blueprint
Xcodeserver Api Docs
Unofficial documentation of the Xcode Server API (Xcode 7 edition)
Stars: ✭ 71 (+222.73%)
Mutual labels:  api-blueprint
Blueman
Convert a generated API Blueprint JSON file into a Postman collection
Stars: ✭ 145 (+559.09%)
Mutual labels:  api-blueprint
Snowboard
API blueprint toolkit
Stars: ✭ 723 (+3186.36%)
Mutual labels:  api-blueprint
dredd-rack
The Dredd API blueprint testing tool for your Rack applications.
Stars: ✭ 50 (+127.27%)
Mutual labels:  api-blueprint
Health Checks Api
Standardize the way services and applications expose their status in a distributed application
Stars: ✭ 78 (+254.55%)
Mutual labels:  api-blueprint
Usaspending Api
Server application to serve U.S. federal spending data via a RESTful API
Stars: ✭ 166 (+654.55%)
Mutual labels:  api-blueprint
Apib Mode
Emacs API Blueprint major mode
Stars: ✭ 44 (+100%)
Mutual labels:  api-blueprint
Api Blueprint Boilerplate
Minimalistic boilerplate to quick-start API specification using API Blueprint description language.
Stars: ✭ 71 (+222.73%)
Mutual labels:  api-blueprint
Apib2swagger
Convert API Blueprint to Swagger.
Stars: ✭ 148 (+572.73%)
Mutual labels:  api-blueprint
Pmtoapib
Tool to convert Postman collection exports to Api Blueprint documentation
Stars: ✭ 34 (+54.55%)
Mutual labels:  api-blueprint
Hercule
♻️ Simple document transclusion, ideal for Markdown documents
Stars: ✭ 196 (+790.91%)
Mutual labels:  api-blueprint
Explorer
A web UI for CMT / ATOM account and transaction scanner
Stars: ✭ 18 (-18.18%)
Mutual labels:  api-blueprint
Apifuzzer
Fuzz test your application using your OpenAPI or Swagger API definition without coding
Stars: ✭ 101 (+359.09%)
Mutual labels:  api-blueprint
SwiftAPI
Swift API Code generator based on APIBluePrint
Stars: ✭ 43 (+95.45%)
Mutual labels:  api-blueprint
Spot
Spot is a concise, developer-friendly way to describe your API contract.
Stars: ✭ 230 (+945.45%)
Mutual labels:  api-blueprint
Api
The CloudApp API
Stars: ✭ 161 (+631.82%)
Mutual labels:  api-blueprint

Draughtsman

API Blueprint Parser for Python 3. Draughtsman is a Python binding for the API Blueprint parser drafter.

Installation

$ pip install draughtsman

Draughtsman requires the drafter library installed onto your system. Consult the drafter installation instructions for further information. Using Homebrew on macOS, Drafter can be installed via:

$ brew install drafter

Usage

>>> from draughtsman import parse
>>>
>>> parse_result = parse('# My API')
>>> parse_result.api.title.defract
'My API'

Draughtsman provides a parse function which returns a Refract ParseResult. See Python Refract for more information interacting with the parse result.

CLI

Draughtsman provides a convenience shell to parse an API Blueprint and interact with the parse result.

$ python -m draughtsman example.apib
>>> parse_result
<ParseResult content=[<Category content=[]>]>
>>> parse_result.annotations
[]
>>> parse_result.api.title
<String content='My API'>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].