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 tiny.
- Choose either sync (default) or async - we support both.
- Written entirely in Python - no need to install other languages to use OpenAPI.
We're built on:
Install
poetry add clientele
Usage
From URLs
clientele generate -u URL_TO_OPEN_API.json -o output/
From files
clientele generate -f path/to/file.json -o output/
Async Client
clientele generate -f path/to/file.json -o output/ --async 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.1.0.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for clientele-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35e12ffb3584fe0fc62c7fcc3e81caf335b32c6802510a82b7b9e2a020b5d607 |
|
MD5 | 227119a778b1a8a27e723a1b560da00b |
|
BLAKE2b-256 | a39317dcb83444dab20dfc3c106f123f6a68394090d99b5aee6f1b4f48947fc8 |