Skip to main content

Typed API Clients from OpenAPI schemas

Project description

⚜️ 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

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

clientele-0.4.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

clientele-0.4.1-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clientele-0.4.1.tar.gz
  • Upload date:
  • Size: 12.1 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.1.tar.gz
Algorithm Hash digest
SHA256 59834594cc49e78369c19340250cc3ac1805c0956ecda832c1112676ebb2009b
MD5 8c2708500ed2807fa9dd3a1a24fd20fe
BLAKE2b-256 94c14f7c946404b176d231d060b033bd93753c9103ad2811547dd94b64a7fd67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clientele-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 16.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 245182daa2bc68bba41e048f134e68c9c68e546ee68411baf65bf9726fc1676b
MD5 0a07bbe821061e9ca9facecbc8354cf8
BLAKE2b-256 a25e199a04714b9be0f42a1f10d4c447e28590e635c3b57ca78a28fa04f9c511

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