Clientele

Latest version: v0.9.0

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

0.4.0

* Change install suggestion to use [pipx](https://github.com/pypa/pipx) as it works best as a global CLI tool.
* Improved support for OpenAPI 3.0.3 schemas (a test version is available in the example_openapi_specs directory).
* `validate` command for validating an OpenAPI schema will work with clientele.
* `version` command for showing the current version of clientele.
* Supports HTTP DELETE methods.
* Big refactor of how methods are generated to reduce duplicate code.
* Support optional header parameters in all request functions (where they are required).
* Very simple Oauth2 support - if it is discovered will set up HTTP Bearer auth for you.
* Uses `dict` and `list` instead of `typing.Dict` and `typing.List` respectively.
* Improved schema generation when schemas have $ref to other models.

0.3.2

* Minor changes to function name generation to make it more consistent.
* Optional parameters in schemas are working properly.

0.3.1

* Fixes a bug when generating HTTP Authentication schema.
* Fixes a bug when generating input classes for post functions, when the input schema doesn't exist yet.
* Generates pythonic function names in clients now, always (like `lower_case_snake_case`).

0.3.0

* Now generates a `MANIFEST` file with information about the build versions
* Added a `constants.py` file to the output if one does not exist yet, which can be used to store values that you do not want to change between subsequent re-generations of the clientele client, such as the API base url.
* Authentication patterns now use `constants.py` for constants values.
* Removed `ipython` from package dependencies and moved to dev dependencies.
* Documentation! [https://phalt.github.io/clientele/](https://phalt.github.io/clientele/)

0.2.0

* Improved CLI output
* Code organisation is now sensible and not just one giant file
* Now supports an openapi spec generated from a dotnet project (`Microsoft.OpenApi.Models`)
* async client support fully working
* HTTP Bearer support
* HTTP Basic support

0.1.0

* Initial version
* Mostly works with a simple FastAPI generated spec (3.0.2)
* Works with Twilio's spec (see example_openapi_specs/ directory) (3.0.1)
* Almost works with stripes

Page 4 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.