Skip to main content

⚜️ Clientele

Typed API Clients from OpenAPI schemas

Package version Supported Python versions

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

pipx 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.4.3.tar.gz (12.5 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.4.3-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clientele-0.4.3.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.10 Linux/5.15.0-78-generic

File hashes

Hashes for clientele-0.4.3.tar.gz
Algorithm Hash digest
SHA256 815150de61ac4d4e2eb0a9a3a1d1b5d635ad5f9f9d60c5dcf872d248cf6b6c80
MD5 acdf9d2cd3dcfb8c476f1cd7b29a4643
BLAKE2b-256 6ffae1134a57748bef34eac4af0d07d7898c6d411b66c825de7620ae4d2debd0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for clientele-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b62ca1534c2d1b7a0c3ef799fead876b4a7772299da22ae42b237ce0ffe3dc1c
MD5 18bee5fe083654f520e9a163d70b9726
BLAKE2b-256 5ac214606d837e2d2fdf62b0dbdc3eaf1283c3651392d5e471738172be5a9d61

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