https://github.com/robotpy/semiwrap
(mostly) automated C++ wrapping for Python
https://github.com/robotpy/semiwrap
pybind11 python
Last synced: about 2 months ago
JSON representation
(mostly) automated C++ wrapping for Python
- Host: GitHub
- URL: https://github.com/robotpy/semiwrap
- Owner: robotpy
- License: bsd-3-clause
- Created: 2025-05-17T12:19:44.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-01-16T03:52:36.000Z (3 months ago)
- Last Synced: 2026-01-16T16:26:15.015Z (3 months ago)
- Topics: pybind11, python
- Language: Python
- Homepage:
- Size: 975 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Support: docs/support.rst
Awesome Lists containing this project
README
semiwrap
========
semiwrap is a build tool that makes it simpler to wrap C/C++ libraries with
pybind11 by automating large portions of the wrapping process and handling some
of the more complex aspects of creating pybind11 based wrappers (especially with
trampolines to allow inheriting from C++ classes from Python).
semiwrap includes a hatchling plugin that autogenerates `meson.build` files that
can be built using meson, and those build files parse your wrapped headers and
generate/compile pybind11 based wrappers into python extension modules.
Requires Python 3.8+
Documentation
-------------
Documentation can be found at https://semiwrap.readthedocs.io/
Author
------
Dustin Spicuzza is the primary author of semiwrap.
Semiwrap is a direct decendant of the robotpy-build project, and is culmination
of many years of experimentation with automated wrapper generation by members of
the RobotPy community.
semiwrap is available under the BSD 3-clause license.