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.1.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.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sflibgen-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e606eab7a31c0de01500540735db75960d56509d4cfa8c163f3fbef9354f8957
MD5 2abac5b42970bb9858b421a1f5226292
BLAKE2b-256 fc2f4025180a192e9994c8415b42d55feeaf16a3e10a7d8a3cc16213e9e9b562

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sflibgen-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63f1f048f330c35188ae7728762c8ee1ea2904fc52b2919ea2888396715e45cc
MD5 23fd3d00b8fc81dcb6d5902884769069
BLAKE2b-256 4a8543428bd6268034d8282f5174cc8d3f38ec76ce93aa78abe31e49efc1c66f

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