Skip to main content

CLI to generate and maintain pybind11 bindings

Project description

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

pip install sflibgen

Usage

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sflibgen-0.1.2.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sflibgen-0.1.2-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file sflibgen-0.1.2.tar.gz.

File metadata

  • Download URL: sflibgen-0.1.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sflibgen-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b662fd2d1e94450493bb56924dba3f9593db9f5df6ca3a7a69667b178a750136
MD5 e93e36f052765a782b9d128403b912cc
BLAKE2b-256 6110bbc20d84e7cb0bf1224b8c491c2ab30a2207224e001e0e80d220bc254cfe

See more details on using hashes here.

File details

Details for the file sflibgen-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: sflibgen-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sflibgen-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ab86eab4968eef0f62879117a200c63d139e46d0da4cad38e9ce2fc83f1f57a1
MD5 b7ba8a07f47338c222b1e4199e0d924d
BLAKE2b-256 6319804789d067140633d6afe6449a37208b537f8ed70c34a28751e290d6d27b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page