⚜️ 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
poetry 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.3.2.tar.gz
(9.8 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.3.2-py3-none-any.whl
(12.8 kB
view details)
File details
Details for the file clientele-0.3.2.tar.gz.
File metadata
- Download URL: clientele-0.3.2.tar.gz
- Upload date:
- Size: 9.8 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 |
57587d4f19baf7cc6400faa5cfc506c61e5f6c723e22a4b412043576a53409d0
|
|
| MD5 |
1e614d49b4bb92ba3f77c8aeda8829b7
|
|
| BLAKE2b-256 |
c037f5507b47b825a5aec990eb8766b7022347fde3a2c65e5adef038a1fce48a
|
File details
Details for the file clientele-0.3.2-py3-none-any.whl.
File metadata
- Download URL: clientele-0.3.2-py3-none-any.whl
- Upload date:
- Size: 12.8 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 |
75645bcf5c45694ada0e5184b738402aaba7a4ac0911d1b228ed478ee7d58432
|
|
| MD5 |
5108317a380987c4ddac484e9ed599ab
|
|
| BLAKE2b-256 |
925a1ebf50b30b99929a3c23a2649205e3d5ee7517cd497b6fff992d7de37955
|