Skip to main content

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.

Download files

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

Source Distribution

semiwrap-0.4.0.tar.gz (77.1 kB view details)

Uploaded Source

Built Distribution

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

semiwrap-0.4.0-py3-none-any.whl (97.6 kB view details)

Uploaded Python 3

File details

Details for the file semiwrap-0.4.0.tar.gz.

File metadata

  • Download URL: semiwrap-0.4.0.tar.gz
  • Upload date:
  • Size: 77.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for semiwrap-0.4.0.tar.gz
Algorithm Hash digest
SHA256 2337316ed2352f27d44901c396e5bad4fac5812f0c4207784129249594e41d64
MD5 0767ed8988f090b6c71ae3c28fb62f5c
BLAKE2b-256 8f2a98df99889f464404ed17b5d3132fbada0907879582cb2fe67d363731d671

See more details on using hashes here.

Provenance

The following attestation bundles were made for semiwrap-0.4.0.tar.gz:

Publisher: dist.yml on robotpy/semiwrap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file semiwrap-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: semiwrap-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 97.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for semiwrap-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9873516c0ea3e25049f2d12a7742a4171cd8e7b912f2c77e0f6091a2e295d795
MD5 53d117039d3e37ac0b7cb7b3ba854b41
BLAKE2b-256 603d0689310d772e9cb9ec41f61948146ad2b19dd017529e8b33e8c6f6ab20c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for semiwrap-0.4.0-py3-none-any.whl:

Publisher: dist.yml on robotpy/semiwrap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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