{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"}],"enrichment":{"capability":"Bravado generates a dynamic REST client from an OpenAPI Specification 2.0 document, allowing you to call API endpoints as Python methods without code generation.","skillfed_tags":["rest-client","openapi","swagger"],"use_cases":["Build a Python client for a third-party REST API that publishes an OpenAPI 2.0 spec without writing manual HTTP code.","Integrate with internal microservices that expose OpenAPI specifications, generating clients on the fly at runtime.","Test or prototype against a Swagger-documented API without waiting for code generation or maintaining hand-written client stubs.","Add basic or header-based authentication to API calls through a simple configuration interface.","Use asynchronous HTTP requests to a Swagger API by swapping in FidoClient for concurrent operations."],"what_it_does":"Bravado is a Python library that reads an OpenAPI Specification 2.0 document and constructs a live REST client from it, letting you call API operations as Python method calls without writing boilerplate or running a code generator. It was created by Yelp as a maintained fork of the original swagger-py project and aims to replace the need for swagger-codegen in Python workflows.\n\nThe library handles HTTP communication, authentication (basic auth, API keys, custom headers), and response parsing automatically. It supports both synchronous HTTP clients (via RequestsClient) and asynchronous clients (via FidoClient when installed with the fido extra). You point it at a Swagger JSON URL, and it builds a client object whose attributes and methods mirror the API structure defined in the specification.","worth_installing":"Yes, with conditions. Bravado is stable (Production/Stable status, 609 GitHub stars, active repository) and solves a real problem\u2014eliminating code generation for OpenAPI 2.0 clients. However, high install friction and a 464-day release gap warrant checking that your environment can satisfy its dependencies and that OpenAPI 2.0 is your target (not 3.0+). If you need dynamic REST clients and your APIs publish OpenAPI 2.0 specs, it is worth the setup cost."},"id":"bravado","links":{"html":"https://skillfed.io/packages/bravado","md":"https://skillfed.io/packages/bravado.md","pypi":"https://pypi.org/project/bravado/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-05-07","license_spdx":null,"license_treatment":"permissive","name":"bravado","python_support":"supports_current","summary":"Library for accessing Swagger-enabled API's"},"popularity":{"monthly_downloads":328167,"position":7558,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"12.0.1"}
