Skip to main content

A cute little companion that generates type-safe clients from OpenAPI documents.

Project description

🦦 OtterAPI

A cute and intelligent OpenAPI client generator that dives deep into your OpenAPIs

OtterAPI is a sleek Python library that transforms OpenAPI specifications into clean, type-safe client code.

🚀 Quick Start

# Generate from a pyproject.toml or any of the default config names (otter.yml, otter.yaml)
otter generate

# Generate from an otterapi config file
otter generate -c otter.yml

📝 Example Config

documents:
  - source: https://petstore3.swagger.io/api/v3/openapi.json
    output: petstore_client

  - source: ./local-users-api.json
    output: users_client

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

otterapi-0.0.5.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

otterapi-0.0.5-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file otterapi-0.0.5.tar.gz.

File metadata

  • Download URL: otterapi-0.0.5.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for otterapi-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6e800a1b80ea44b30a82a68434b43745baa0ef200b00aae4518e3e494b682c81
MD5 b233c74724ee44e720698b8fdfd0cc55
BLAKE2b-256 5ef3a8527dbf444e8fd9fcd3a8064c83a576f76aac566b013bf04c838b5c3b78

See more details on using hashes here.

File details

Details for the file otterapi-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: otterapi-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for otterapi-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7ebe99f8008b96e9b6442ddb84eba3feb13c20b6817dbb7be7ea71ddf4be9357
MD5 51d786b90e5d4b603dd21e92a852c9f6
BLAKE2b-256 7ca147ed775338132fd3cea99e27909ee34999010c4b1fd86df9a3c70a9019ef

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