user559611
user559611

Reputation:

GUI library for PyPy

Is there presently any GUI library that can be used for development in PyPy?

Upvotes: 14

Views: 4307

Answers (3)

Christian Tismer
Christian Tismer

Reputation: 1413

Qt for Python (PySide6) is about to become a Gui tool for PyPy. At least there is much activity on https://bugreports.qt.io/browse/PYSIDE-535 at the moment, and they are planning to get Qt for PyPy ready still in this year.

Upvotes: 2

Paul Harrison
Paul Harrison

Reputation: 545

Gtk+ can be used using the python package "pgi".

https://pypi.python.org/pypi/pgi

pgi is a pure-python library for talking to GObject libraries such as Gtk. It's therefore compatible with both C-Python and PyPy, and since it can use cffi it should be extremely efficient with PyPy.

I have tested this on Linux, it's likely to also work on OS X, I'm less sure about Windows.

If you substutite from gi.repository with from pgi.repository in the following tutorial, it should get you started: http://python-gtk-3-tutorial.readthedocs.org/en/latest/

Upvotes: 3

fijal
fijal

Reputation: 3190

There is no GUI working with PyPy as of now, except wxPython (blog post). I use web-based UIs for stuff that I do anyway, but that's probably irrelevant.

Upvotes: 4

Related Questions