Metadata-Version: 2.1
Name: borco-shiboken-example
Version: 0.0.6
Summary: Example creating a Python binding for Qt6 and C++ with shiboken
Keywords: c++,cmake,cpp,cxx,example,pyside6,python,scikit-build-core,shiboken,shiboken6
Author-Email: =?utf-8?q?Ioan_C=C4=83lin?= <iborco@gmail.com>
License: MIT License
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3
Project-URL: Homepage, https://iborco-pyside.gitlab.io/demos/borco-shiboken-example/#/
Project-URL: Repository, https://gitlab.com/iborco-pyside/demos/borco-shiboken-example
Project-URL: Issues, https://gitlab.com/iborco-pyside/demos/borco-shiboken-example/-/issues
Requires-Python: >=3.12
Requires-Dist: pyside6>=6.8.1
Description-Content-Type: text/markdown

# 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!
>>>
```
