Typed API Clients from OpenAPI specs
Project description
⚜️ Clientele
Typed API Clients from OpenAPI specs
Clientele lets you generate fully-typed, functional, API Clients from OpenAPI specs.
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
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(9.2 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.0-py3-none-any.whl
(11.6 kB
view details)
File details
Details for the file clientele-0.3.0.tar.gz.
File metadata
- Download URL: clientele-0.3.0.tar.gz
- Upload date:
- Size: 9.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
500d4539fca71ac426367fde7869d8d321c39d39f5acc76d80fa9740d4134865
|
|
| MD5 |
7470e6d150b8d160d4da33e50d8c538c
|
|
| BLAKE2b-256 |
9097bb4849db961fefede99a73b5741d7f458aa4cf192f41b88b0bdb206604e0
|
File details
Details for the file clientele-0.3.0-py3-none-any.whl.
File metadata
- Download URL: clientele-0.3.0-py3-none-any.whl
- Upload date:
- Size: 11.6 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a1613d9960811e1e8e7984a441b18e3ddc1191e4d1e2bf5e42d0374bbdba986
|
|
| MD5 |
94d46c54115a0766ae413a8c94971fc2
|
|
| BLAKE2b-256 |
3352a2cdfa444ebcf562d4fe3bd47a4cfb489502402d4fef76d486eba790b1e2
|