Skip to main content

Openapi Python Generator

Project description

Openapi Python Generator

PyPI Status Python Version License

Read the documentation at https://openapi-python-generator.readthedocs.io/ Tests Codecov

pre-commit Black

Features

  • Easy code generation for OpenAPI 3.0.0+ APIs
  • Async and Sync code generation support (with the help of httpx)])
  • Typed services and models for your convinience
  • Support for HttpBearer authentication
  • Python only
  • Usage as CLI tool or as a library

Requirements

  • Python 3.7+

Installation

You can install Openapi Python Generator via pip from PyPI:

$ pip install openapi-python-generator

Usage

Please see the Command-line Reference for details.

Roadmap

  • Support for all commonly used http libraries in the python ecosystem (requests, urllib, ...)
  • Support for multiple languages
  • Support for multiple authentication schemes

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, Openapi Python Generator is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

Special thanks to the peeps from openapi-schema-pydantic, which already did a lot of the legwork by providing a pydantic schema for the OpenAPI 3.0.0+ specification.

This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

Built Distribution

File details

Details for the file openapi-python-generator-0.2.4.dev1656359154.tar.gz.

File metadata

File hashes

Hashes for openapi-python-generator-0.2.4.dev1656359154.tar.gz
Algorithm Hash digest
SHA256 67bc7003675aba2a702a2e8e987cb0098bff7188c05821e1e916e4960d6ee4e5
MD5 ce8a8b89fe2a6649d06aac2d370d664f
BLAKE2b-256 9bf273cf4a69d5b7156c716940255f175aba438b5297645493f7b1842ffa8c19

See more details on using hashes here.

File details

Details for the file openapi_python_generator-0.2.4.dev1656359154-py3-none-any.whl.

File metadata

File hashes

Hashes for openapi_python_generator-0.2.4.dev1656359154-py3-none-any.whl
Algorithm Hash digest
SHA256 2dd0933effbe5307aa5325be347fe9b87b9efc7b83b0e6a9bad9bd6f1efa0df4
MD5 8bab3d0c332b2033e32f6f6fb3ee2fbe
BLAKE2b-256 a70768edaf03efc7e5e7db7ea83642c9954f8c2d52b0bcf02484e5e0388eb2be

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