Skip to main content

Semi-automated tool to wrap C++ code for use by python

Project description

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.

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

semiwrap-0.1.2.tar.gz (271.5 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.1.2-py3-none-any.whl (321.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for semiwrap-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0d3421ba43f6f974da5d0e5d2e792812a3b3e4f2273e61e876dd91d571cd246d
MD5 fa1d01e91b59c672ddd478d2a5890eaa
BLAKE2b-256 0f444a8ccba8bf660a8bb8534e3528e0d3398b0a016521a25b57521054ab3cb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for semiwrap-0.1.2.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.1.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for semiwrap-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1db5a27c36196e18c45c6672f056c7953b17d1d23d9e262607f3c00a15ec4d2e
MD5 cb4b38c10880dc1e594e837d6d67c267
BLAKE2b-256 38c933f8a64a2ba5e440db77ba26c369c01e56f373ca8ae756960185b384e6c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for semiwrap-0.1.2-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