Skip to main content

⚜️ Clientele

Typed API Clients from OpenAPI schemas

clientele_logo

Clientele lets you generate fully-typed, functional, API Clients from OpenAPI schemas.

It uses modern tools to be blazing fast and type safe.

Plus - there is no complex boilerplate and the generated code is very small.

Features

  • Fully typed API Client using Pydantic.
  • Minimalist and easy to use - the generated code is designed for readability.
  • Choose either sync or async - we support both, and you can switch between them easily.
  • Supports authentication (curently only HTTP Bearer and HTTP Basic auth).
  • Written entirely in Python - no need to install other languages to use OpenAPI.
  • The client footprint is minimal - it only requires httpx and pydantic.
  • Supports your own configuration - we provide an entry point that will never be overwritten.

We're built on:

Install

poetry add clientele

Usage

clientele generate -f path/to/file.json -o my_client/ --asyncio t

Read the docs

Download files

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

Source Distribution

clientele-0.3.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

clientele-0.3.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file clientele-0.3.1.tar.gz.

File metadata

  • Download URL: clientele-0.3.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.8.10 Linux/5.15.0-76-generic

File hashes

Hashes for clientele-0.3.1.tar.gz
Algorithm Hash digest
SHA256 08c8846fe628169275d11ceedd82140fd0cf354c664f4af6453462ecfa5167b4
MD5 25ac7104a272eafecf006527b2eea382
BLAKE2b-256 881c3edab39cb739dd162c142f831e80eebddc17a36ef7845b859d6d14f20384

See more details on using hashes here.

File details

Details for the file clientele-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: clientele-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.8.10 Linux/5.15.0-76-generic

File hashes

Hashes for clientele-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1dd513a77ca2d6c7e8f084553c99c50790915090cccde3c2e5c058b3862014c5
MD5 7c3e87c5e4c981fdb220e7b0f0e6effa
BLAKE2b-256 89f163b939221446efc57b08dd433aec33b21f5298162eaa0077e1ea41c31e17

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 Sentry Error logging StatusPage Status page