semvec/pypi-packages huggingface dataset:
borco-shiboken-example 0.0.7
Example creating a Python binding for Qt6 and C++ with shiboken
License: MIT License
Requires Python: >=3.12
Keywords: c++, cmake, cpp, cxx, example, pyside6, python, scikit-build-core, shiboken, shiboken6

# shiboken example

Example creating a Python binding for Qt6 & C++ with
[shiboken](https://doc.qt.io/qtforpython-6/shiboken6/index.html). Based on the
[shiboken examples](https://doc.qt.io/qtforpython-6/shiboken6/examples/index.html).

## Usage

Add the bindings to another project using `uv`:

```bash
$ uv add borco-shiboken-example
$ uv sync
...
+ borco-shiboken-example==0.0.4
+ shiboken6==6.8.1
...
```

Test the bindings were added and are usable (after activating the virtual environment created by `uv sync`):

```python
$ python
>>> import borco_shiboken_example as x
>>> dog = x.Dog()
>>> dog.name = "Max"
>>> dog.bark()
Max: woof!
>>>
```