[PySide] How to create Qt lib bindings and publicate it to pip

Михаил Миловидов milovidovmikhail at gmail.com
Sun Apr 26 22:31:40 CEST 2020


Hello,

I have open source project -
https://marketplace.qt.io/collections/featured/products/daggy
I want to create python bindings for my lib such as separate python package
and publicate it in pip.
The lib - https://github.com/synacker/daggy/tree/master/src/DaggyCore) -
that I want to publicate based on Qt framework and has signals/slots
interface.
It means, that lib must be binary compatable with pyside2 python
package, for using signals and slots.
I think, that this lib can give boost for using Qt in python in non-gui
cases, because it gives solution that not exists on python:
https://stackoverflow.com/questions/18322123/receiving-streaming-output-from-ssh-connection-in-python
https://stackoverflow.com/questions/57066148/streaming-python-command-executed-over-ssh-in-real-time
https://stackoverflow.com/questions/7680055/python-to-emulate-remote-tail-f
https://stackoverflow.com/questions/18421757/live-output-from-subprocess-command
https://stackoverflow.com/questions/50612710/read-streaming-data-over-pipe-in-python

There are no direct ways for local or remote data streaming and
aggregation, but my lib will offer to do this in simple way with Qt
signals/slot async model.
Therefore, I'm very motivated in python bindings, but still not understand,
how to ensure binary compatibility with pyside2 python package.

Is there any tutorials, examples or may be docker containers for building
Qt lib python bindings with the same envoronment, such as pyside2 in pip?
At this time, I understand, how to compile my Qt lib python bindings
compatable with pyside2 only for local compilation from source, but don't
understand how to ensure compatibility with pyside2 from pip.

Thank you for attention!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20200426/28b7b27b/attachment.html>


More information about the PySide mailing list