https://github.com/python-lapidary/lapidary-render
Web API client generator
https://github.com/python-lapidary/lapidary-render
codegenerator openapi openapi3
Last synced: 17 days ago
JSON representation
Web API client generator
- Host: GitHub
- URL: https://github.com/python-lapidary/lapidary-render
- Owner: python-lapidary
- License: agpl-3.0
- Created: 2023-01-02T19:09:02.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2026-03-29T16:18:33.000Z (25 days ago)
- Last Synced: 2026-03-29T17:57:29.875Z (25 days ago)
- Topics: codegenerator, openapi, openapi3
- Language: Python
- Homepage: https://python-lapidary.github.io/lapidary-render/
- Size: 1.76 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: Readme.md
- Changelog: ChangeLog.md
- License: License.txt
Awesome Lists containing this project
README
# Lapidary render
[](https://github.com/python-lapidary/lapidary-render/actions/workflows/test.yml)
Lapidary-render is a program that generates Python Web API clients from OpenAPI documents.
## Why
It's a good practice to encapsulate Web API client code in functions or classes and methods,
If the Web API exposes an OpenAPI document, you can reduce the manual effort by generating the client code.
## How
Install Lapiary-render, for example with pipx
```shell
pipx install lapidary-render
```
Start your project
```shell
lapidary-render init --save https://example.com/openapi.json project_dir my_api_client
```
Generate code:
```shell
cd project_dir
lapidary-render render
```
Check the [documentation](https://lapidary.dev/lapidary-render/) for more details.