⚜️ Clientele
Typed API Clients from OpenAPI schemasClientele 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
httpxandpydantic. - 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
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.0.tar.gz
(11.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
clientele-0.4.0-py3-none-any.whl
(16.5 kB
view details)
File details
Details for the file clientele-0.4.0.tar.gz.
File metadata
- Download URL: clientele-0.4.0.tar.gz
- Upload date:
- Size: 11.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da3e1032477e616726ae8fb6e09afd1adb856d809cd214c47a5ed787e657721a
|
|
| MD5 |
81cbd77cce0ea6a0f75f4d0af8eade90
|
|
| BLAKE2b-256 |
269483a13cd3b2d712d846099befcd60fa641a115f176ae120250c56f280e979
|
File details
Details for the file clientele-0.4.0-py3-none-any.whl.
File metadata
- Download URL: clientele-0.4.0-py3-none-any.whl
- Upload date:
- Size: 16.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f006fc651c9c305b1d6c8119950317fedf13ae912fcb9ec7aba8dc5d08fcb13
|
|
| MD5 |
2d718e2569ff68f193cb0545f3775a1f
|
|
| BLAKE2b-256 |
d8bde559fffc4b54ac12c48927504c228175622f9491a6b88ac741619625914a
|