lapidary-render


Namelapidary-render JSON
Version 0.12.0 PyPI version JSON
download
home_pagehttps://lapidary.dev/
SummaryPython async OpenAPI client library generator
upload_time2025-03-01 17:09:36
maintainerNone
docs_urlNone
authorRafał Krupiński
requires_python~=3.13
licenseAGPL-3.0
keywords openapi openapi3 codegen code generation code generator openapi tools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

OpenAPI is a machine readable description of Web APIs. A large subset of it is very well suited for automatic translation to a client code.

## How

Lapidary render uses [Jinja](https://jinja.palletsprojects.com/) to generate client code, but most of the translation from OpenAPI to python is implemented in python itself. This makes it easier to read and maintain the generator itself.

Instead of generating large pieces of code that convert data and call http libraries, Lapidary generates code that uses [Lapidary runtime library](https://github.com/python-lapidary/lapidary). It's also a way to greatly simplify the code, at the expense of small runtime overhead related to processing method signatures.

            

Raw data

            {
    "_id": null,
    "home_page": "https://lapidary.dev/",
    "name": "lapidary-render",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "~=3.13",
    "maintainer_email": null,
    "keywords": "OpenAPI, OpenAPI3, CodeGen, Code Generation, Code Generator, OpenAPI Tools",
    "author": "Rafa\u0142 Krupi\u0144ski",
    "author_email": "rafal@lapidary.dev",
    "download_url": "https://files.pythonhosted.org/packages/30/5f/2fda2ee2b7183067944ff31a148e9d2a8444147fff50a10b663e9d3cd9d8/lapidary_render-0.12.0.tar.gz",
    "platform": null,
    "description": "# Lapidary render\n\n[![.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)\n\nLapidary-render is a program that generates Python Web API clients from OpenAPI documents.\n\n## Why\n\nOpenAPI is a machine readable description of Web APIs. A large subset of it is very well suited for automatic translation to a client code.\n\n## How\n\nLapidary render uses [Jinja](https://jinja.palletsprojects.com/) to generate client code, but most of the translation from OpenAPI to python is implemented in python itself. This makes it easier to read and maintain the generator itself.\n\nInstead of generating large pieces of code that convert data and call http libraries, Lapidary generates code that uses [Lapidary runtime library](https://github.com/python-lapidary/lapidary). It's also a way to greatly simplify the code, at the expense of small runtime overhead related to processing method signatures.\n",
    "bugtrack_url": null,
    "license": "AGPL-3.0",
    "summary": "Python async OpenAPI client library generator",
    "version": "0.12.0",
    "project_urls": {
        "Homepage": "https://lapidary.dev/",
        "Repository": "https://github.com/python-lapidary/lapidary-render"
    },
    "split_keywords": [
        "openapi",
        " openapi3",
        " codegen",
        " code generation",
        " code generator",
        " openapi tools"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b6516644679dcd7c6c816acf353e0fb717927fe0daf017a7cddeae55a541632b",
                "md5": "e1f9c87396041a2afab3a4d371fb2f29",
                "sha256": "403200151649af769ace4fbe01fdba2be38ef5409904985f938e013284fba610"
            },
            "downloads": -1,
            "filename": "lapidary_render-0.12.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e1f9c87396041a2afab3a4d371fb2f29",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.13",
            "size": 38233,
            "upload_time": "2025-03-01T17:09:34",
            "upload_time_iso_8601": "2025-03-01T17:09:34.241002Z",
            "url": "https://files.pythonhosted.org/packages/b6/51/6644679dcd7c6c816acf353e0fb717927fe0daf017a7cddeae55a541632b/lapidary_render-0.12.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "305f2fda2ee2b7183067944ff31a148e9d2a8444147fff50a10b663e9d3cd9d8",
                "md5": "410aae5fde0c5fe0919ab7b3341a558f",
                "sha256": "71cbcd49f06842aa760d32441d206c5b858e221f53cce75bc53b529ea1d4d58a"
            },
            "downloads": -1,
            "filename": "lapidary_render-0.12.0.tar.gz",
            "has_sig": false,
            "md5_digest": "410aae5fde0c5fe0919ab7b3341a558f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.13",
            "size": 28953,
            "upload_time": "2025-03-01T17:09:36",
            "upload_time_iso_8601": "2025-03-01T17:09:36.002957Z",
            "url": "https://files.pythonhosted.org/packages/30/5f/2fda2ee2b7183067944ff31a148e9d2a8444147fff50a10b663e9d3cd9d8/lapidary_render-0.12.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-03-01 17:09:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "python-lapidary",
    "github_project": "lapidary-render",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "lapidary-render"
}
        
Elapsed time: 1.03874s