Metadata-Version: 2.4
Name: sflibgen
Version: 0.1.1
Summary: CLI to generate and maintain pybind11 bindings
Author: LibGen Maintainers
License: MIT
Project-URL: Homepage, https://github.com/lhabacuc/libgen
Project-URL: Repository, https://github.com/lhabacuc/libgen
Project-URL: Issues, https://github.com/lhabacuc/libgen/issues
Keywords: cpp,python,pybind11,bindings,cli
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# LibGen CLI

LibGen is a CLI that scaffolds and maintains Python bindings for C++ modules using `pybind11`.

## Features

- `libgen create <name>`: create a Python + C++ project skeleton.
- `libgen update <path>`: regenerate `bindings.cpp`, `__init__.py`, README and basic tests from C++ sources.
- `libgen validate <path>`: validate that discovered C++ functions match exported bindings.
- `libgen compile <path> --release`: build wheel and verify Python import.
- `libgen list-templates`: show embedded templates.

## Installation

```bash
pip install sflibgen
```

## Usage

```bash
libgen create mylib
libgen update mylib
libgen validate mylib
libgen compile mylib --release
```
