<div dir="ltr"><div>Hello everyone!,</div><div><br></div><div>Thanks for the ones that were able to participate on</div><div>the Python BoF last Wednesday :)</div><div><br></div><div>The initial notes I suggested to discuss can be found here:</div><div><a href="https://wiki.qt.io/Qt_for_Python_Akademy2020">https://wiki.qt.io/Qt_for_Python_Akademy2020</a></div><div>and here are some comments/ideas/notes from the discussion:</div><div><br></div><div>* There are two main ways Python could play an important role in KDE development:</div><div>  (1) Exposing some C++ API to Python, so it gets easier for people to start using</div><div>        some libraries, to write simple applications.</div><div>  (2) Extend the functionality of C++ based applications with Python (as plugins, for example)</div><div><br></div><div>* Kirigami:</div><div>    - At the moment, Kirigami offers a well structured set of elements to create amazing UI/UX</div><div>      so it would be really beneficial if Kirigami could be exposed to Python users,</div><div>      both PyQt and PySide.</div><div>    - There is already some related work started by Jonah [1], so it would be really cool if someone</div><div>      else would like to help with the packaging process.</div><div><br></div><div>* Android deploy Qt<br></div><div>   - Mobile development is one of the weak points of Python applications, so this would benefit a lot</div><div>     the Python developers that currently want to have applications running on phones/tablets.</div><div><br></div><div>* PyKDE5</div><div>   - There has been some work related to PyKDE5, the port of PyKDE4 [2]</div><div>   - This set of bindings is based on sip, the binding generator that PyQt uses.</div><div>   - Some of the modules included here are: karchive, kcoreaddons, kitemviews, etc.</div><div><br></div><div>* Showcase of applications using Python</div><div>  - Falkon, has some scripts.</div><div>  - Krita, has support for Python scripting.</div><div>  - GNU Health is developed with PySide2. [4]<br></div><div><br></div><div>* Kross</div><div>  - Since it's based on QtScript, there might an option to evaluate of Python can replace it, since QtScript</div><div>    was deprecated.</div><div>  - A similar project on this topic is PythonQt [3]</div><div><br></div><div># Action points</div><div>1. Get Kirigami on PyPi for Python users (PyQt/PySide)</div><div>2. Check if something could be done to help projects like Falkon and Krita, from a scripting point of view</div><div>3. Provide shiboken (generator) as a system executable to make it easier to generate Python bindings for any C++ project.</div><div><br></div><div>I'm certain many of you have some cool ideas regarding</div><div>Python in KDE, so I would love to read your thoughts on the topic.</div><div><br></div><div>For any attendee, if you noticed I forgot to mention something,</div><div>or I got something wrong, please let's know!<br></div><div><br></div><div>Have a nice Saturday!</div><div><br></div><div>Cheers</div><div><br></div><div>PS: Join us on <a href="https://t.me/qtforpython">https://t.me/qtforpython</a> if you are interested in the PySide/Shiboken development.<br></div><div><br></div><div><br></div><div>[1] <a href="https://invent.kde.org/jbbgameich/kirigami/-/commits/python">https://invent.kde.org/jbbgameich/kirigami/-/commits/python</a></div><div>[2] <a href="https://invent.kde.org/kkremitzki/pykde5">https://invent.kde.org/kkremitzki/pykde5</a></div><div>[3] <a href="https://mevislab.github.io/pythonqt/Examples.html">https://mevislab.github.io/pythonqt/Examples.html</a></div><div>[4] <a href="https://gnuhealth.org/#/">https://gnuhealth.org/#/</a></div><div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Dr. Cristián Maureira-Fredes<br><a href="https://maureira.xyz" target="_blank">https://maureira.xyz</a></div></div></div>