Skip to main content

⚜️ Clientele

Typed API Clients from OpenAPI specs

clientele_logo

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

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clientele-0.1.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clientele-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.5.0

File hashes

Hashes for clientele-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d950f0b240ea7407c48d790fd2fa09ee2ddb4419fb721459ebdb26a2fbb0e5ac
MD5 65863c3a1e3d565a3715632ecf67a266
BLAKE2b-256 7af797902191ff56f78310fe53cf65a16e898aa3304f218f74e06dbf8c087ca0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clientele-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.5.0

File hashes

Hashes for clientele-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35e12ffb3584fe0fc62c7fcc3e81caf335b32c6802510a82b7b9e2a020b5d607
MD5 227119a778b1a8a27e723a1b560da00b
BLAKE2b-256 a39317dcb83444dab20dfc3c106f123f6a68394090d99b5aee6f1b4f48947fc8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page