Skip to main content

Library for adding Swagger support to clients and servers

Project description

https://img.shields.io/travis/Yelp/bravado-core.svg https://img.shields.io/coveralls/Yelp/bravado-core.svg PyPi version Supported Python versions

bravado-core

About

bravado-core is a Python library that adds client-side and server-side support for the OpenAPI Specification v2.0.

Features

  • OpenAPI Specification schema validation

  • Marshaling, transformation, and validation of requests and responses

  • Models as Python classes or dicts

  • Custom formats for type conversion

Documentation

Documentation is available at readthedocs.org

Installation

$ pip install bravado-core

Development

Code is documented using Sphinx.
virtualenv is recommended to keep dependencies and libraries isolated.
tox is used for standardized testing.

Setup

# Run tests
tox

# Install git pre-commit hooks
.tox/py27/bin/pre-commit install

Contributing

  1. Fork it ( http://github.com/Yelp/bravado-core/fork )

  2. Create your feature branch (git checkout -b my-new-feature)

  3. Add your modifications

  4. Add short summary of your modifications on CHANGELOG.rst

  5. Commit your changes (git commit -m "Add some feature")

  6. Push to the branch (git push origin my-new-feature)

  7. Create new Pull Request

License

Copyright (c) 2013, Digium, Inc. All rights reserved.
Copyright (c) 2014-2015, Yelp, Inc. All rights reserved.

Bravado is licensed with a BSD 3-Clause License.

Project details


Release history Release notifications | RSS feed

This version

5.0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bravado-core-5.0.2.tar.gz (47.4 kB view details)

Uploaded Source

Built Distribution

bravado_core-5.0.2-py2.py3-none-any.whl (50.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file bravado-core-5.0.2.tar.gz.

File metadata

File hashes

Hashes for bravado-core-5.0.2.tar.gz
Algorithm Hash digest
SHA256 21ddb54df27a2f51ebd497e49137c6656865da79ce4adfb26faa6f3a6cc3a3a7
MD5 a459cd4a88116780250c8ee0db9de02d
BLAKE2b-256 204dd6d91ab7b662e028b7a6904ee370fdaef09d46928fd74bdd63b2a02723fa

See more details on using hashes here.

File details

Details for the file bravado_core-5.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for bravado_core-5.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5eadc48d67600c95bea101f0d798165f8fa275d999843bcf8fd901f7c531ecfc
MD5 73e6be0781e5ffc7e55cdb2539fcc311
BLAKE2b-256 6ae2c39faa65059d9f66466b47f8a33767f71951e30944f6999c1dca15d87487

See more details on using hashes here.

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