Metadata-Version: 2.3
Name: lapidary-render
Version: 0.12.1
Summary: Python async OpenAPI client library generator
License: AGPL-3.0
Keywords: OpenAPI,OpenAPI3,CodeGen,Code Generation,Code Generator,OpenAPI Tools
Author: Rafał Krupiński
Author-email: rafal@lapidary.dev
Requires-Python: ~=3.13
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Code Generators
Classifier: Typing :: Typed
Requires-Dist: click (>=8,<9)
Requires-Dist: httpx (>=0.28,<0.29)
Requires-Dist: libcst (>=1.5,<2.0)
Requires-Dist: openapi-pydantic (>=0.5,<0.6)
Requires-Dist: pybase62 (>=1,<2)
Requires-Dist: pydantic (>=2,<3)
Requires-Dist: python-mimeparse (>=1.6,<3.0)
Requires-Dist: ruamel-yaml (>=0.18,<0.19)
Requires-Dist: tomli-w (>=1,<2)
Project-URL: Homepage, https://lapidary.dev/
Description-Content-Type: text/markdown

# Lapidary render

[![.github/workflows/test.yml](https://github.com/python-lapidary/lapidary-render/actions/workflows/test.yml/badge.svg)](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 init --save https://example.com/openapi.json project_dir my_api_client
```

Generate code:
```shell
cd project_dir
lapidary render
```

Check the [documentation](https://lapidary.dev/lapidary-render/) for more details.

