litgen


Namelitgen JSON
Version 0.20.0 PyPI version JSON
download
home_pageNone
Summarylitgen, aka "Literate Generator", an automatic python bindings generator for humans who like nice code and APIs, based on srcML (https://srcml.org)
upload_time2024-11-21 09:20:05
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords bindings c++ code cpp generator pybind11 srcml
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![Pip](https://github.com/pthom/litgen/workflows/pip/badge.svg)


# litgen - Literate Generator

**litgen** is an automatic Python bindings generator designed for developers who appreciate clean, well-documented, and discoverable code and APIs.

It simplifies the process of creating Python bindings for C++ libraries using [pybind11](https://pybind11.readthedocs.io/en/stable/) or [nanobind](https://nanobind.readthedocs.io), and generating bindings that are easy to use, properly documented, and fully integrated into Python IDEs.

For a full guide on how to use litgen, see the [documentation](https://pthom.github.io/litgen/).

## Key Features
- Automatically generates Python bindings for C++ libraries.
- Generates fully documented and discoverable Python code, ensuring smooth interaction for end users.
- Provides IDE-friendly bindings with accurate function signatures and auto-completion.
- Works as a C++ transformation and refactoring tool, useful for various workflows.

## Documentation

To dive deeper into how litgen works, check out the [full documentation](https://pthom.github.io/litgen/).

## Battle-Tested
Though relatively new (released in 2022), litgen has been extensively tested on over 20 different libraries, totaling more than 100,000 lines of code. It is the main engine behind the Python bindings for the popular [Dear ImGui Bundle](https://github.com/pthom/imgui_bundle).

## Keep in Touch

We’d love to hear about how you're using litgen! If you are using it, please consider [sharing your experience and insights](https://github.com/pthom/litgen/discussions).

## Help the Project

If litgen has made a difference for you—especially in a commercial or research setting—please consider [making a donation](https://www.paypal.com/donate/?hosted_button_id=SHJ68RVDKURZA). Your support helps keep the project alive and growing. Every contribution, no matter the size, is greatly appreciated!


## Contributions

Contributions are welcome! If you'd like to report a bug, suggest a feature, or submit a pull request, please visit our [GitHub issues page](https://github.com/pthom/litgen/issues). See the developer documentation inside [Build.md](Build.md)

**Notable contributors:**
* Many thanks to [@davidlatwe](https://github.com/davidlatwe) for his contributions to the nanobind support in litgen!

## License

litgen is published under the [GNU General Public License, version 3](https://raw.githubusercontent.com/pthom/litgen/main/LICENSE.txt). Code generated by litgen is **not** subject to GPL, allowing you to freely use it in your projects.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "litgen",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "bindings, c++, code, cpp, generator, pybind11, srcml",
    "author": null,
    "author_email": "Pascal Thomet <pthomet@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/4a/1c/fd27263f5aef7eec7675d7df682e5bf0852e61ddd301d8edd41edf87c679/litgen-0.20.0.tar.gz",
    "platform": null,
    "description": "![Pip](https://github.com/pthom/litgen/workflows/pip/badge.svg)\n\n\n# litgen - Literate Generator\n\n**litgen** is an automatic Python bindings generator designed for developers who appreciate clean, well-documented, and discoverable code and APIs.\n\nIt simplifies the process of creating Python bindings for C++ libraries using [pybind11](https://pybind11.readthedocs.io/en/stable/) or [nanobind](https://nanobind.readthedocs.io), and generating bindings that are easy to use, properly documented, and fully integrated into Python IDEs.\n\nFor a full guide on how to use litgen, see the [documentation](https://pthom.github.io/litgen/).\n\n## Key Features\n- Automatically generates Python bindings for C++ libraries.\n- Generates fully documented and discoverable Python code, ensuring smooth interaction for end users.\n- Provides IDE-friendly bindings with accurate function signatures and auto-completion.\n- Works as a C++ transformation and refactoring tool, useful for various workflows.\n\n## Documentation\n\nTo dive deeper into how litgen works, check out the [full documentation](https://pthom.github.io/litgen/).\n\n## Battle-Tested\nThough relatively new (released in 2022), litgen has been extensively tested on over 20 different libraries, totaling more than 100,000 lines of code. It is the main engine behind the Python bindings for the popular [Dear ImGui Bundle](https://github.com/pthom/imgui_bundle).\n\n## Keep in Touch\n\nWe\u2019d love to hear about how you're using litgen! If you are using it, please consider [sharing your experience and insights](https://github.com/pthom/litgen/discussions).\n\n## Help the Project\n\nIf litgen has made a difference for you\u2014especially in a commercial or research setting\u2014please consider [making a donation](https://www.paypal.com/donate/?hosted_button_id=SHJ68RVDKURZA). Your support helps keep the project alive and growing. Every contribution, no matter the size, is greatly appreciated!\n\n\n## Contributions\n\nContributions are welcome! If you'd like to report a bug, suggest a feature, or submit a pull request, please visit our [GitHub issues page](https://github.com/pthom/litgen/issues). See the developer documentation inside [Build.md](Build.md)\n\n**Notable contributors:**\n* Many thanks to [@davidlatwe](https://github.com/davidlatwe) for his contributions to the nanobind support in litgen!\n\n## License\n\nlitgen is published under the [GNU General Public License, version 3](https://raw.githubusercontent.com/pthom/litgen/main/LICENSE.txt). Code generated by litgen is **not** subject to GPL, allowing you to freely use it in your projects.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "litgen, aka \"Literate Generator\", an automatic python bindings generator for humans who like nice code and APIs, based on srcML (https://srcml.org)",
    "version": "0.20.0",
    "project_urls": {
        "documentation": "https://pthom.github.io/litgen/",
        "homepage": "https://pthom.github.io/litgen/",
        "repository": "https://github.com/pthom/litgen"
    },
    "split_keywords": [
        "bindings",
        " c++",
        " code",
        " cpp",
        " generator",
        " pybind11",
        " srcml"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3ad2b3f3d1fb47c81407c707c04a548e583ec181196d704c1ed0da4a9ba835e2",
                "md5": "b5f7c056f1bf9e362524f562638ecd55",
                "sha256": "19bb7d4c71c89e10836f8da178bcb2e38d185648824ee907f0c8a56e12c033b4"
            },
            "downloads": -1,
            "filename": "litgen-0.20.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b5f7c056f1bf9e362524f562638ecd55",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 686854,
            "upload_time": "2024-11-21T09:20:02",
            "upload_time_iso_8601": "2024-11-21T09:20:02.700871Z",
            "url": "https://files.pythonhosted.org/packages/3a/d2/b3f3d1fb47c81407c707c04a548e583ec181196d704c1ed0da4a9ba835e2/litgen-0.20.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4a1cfd27263f5aef7eec7675d7df682e5bf0852e61ddd301d8edd41edf87c679",
                "md5": "01aa7a1b46c5485da21fce1593bcd04c",
                "sha256": "6aad0a9de8c4b87b187732f8002855b77f9beb27769485746577020daa282f6a"
            },
            "downloads": -1,
            "filename": "litgen-0.20.0.tar.gz",
            "has_sig": false,
            "md5_digest": "01aa7a1b46c5485da21fce1593bcd04c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 10636739,
            "upload_time": "2024-11-21T09:20:05",
            "upload_time_iso_8601": "2024-11-21T09:20:05.636440Z",
            "url": "https://files.pythonhosted.org/packages/4a/1c/fd27263f5aef7eec7675d7df682e5bf0852e61ddd301d8edd41edf87c679/litgen-0.20.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-21 09:20:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pthom",
    "github_project": "litgen",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "litgen"
}
        
Elapsed time: 1.20335s