Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Which GUI?

163 views
Skip to first unread message

Paulo da Silva

unread,
Jul 24, 2015, 2:31:53 PM7/24/15
to
Hi all!

I am about to write an application (python3 in linux) that needs:

1. Display time series graphics dynamically changed as the application
runs, i.e. the graphics should reflect some internal variables states.

2. The same but for some network like diagrams. Basically nodes and
connections (straight lines). Nodes can have different colors depending
on their activity levels and also, together with connection lines, may
be created and deleted dynamically.

3. Interaction with the user (not sure yet, here).

4. Some modules may need to be moved to C++ in case of lack of enough
speed. So, the possibility of the GUI libs be used with C++ may be an
advantage. Anyway I can always stay in Python and write a C++ extension.

5. Several multi processor segments.

6. For now single user - possible but unlikely multi-user in the future.

Which technology is better?
matplotlib?
tkinter?
wxwidgets?
qt?
Web: ajax (I don't know much about this - need to learn), using cherrypy
or django?
Any other?

Thanks for any help or comments.

Christopher Mullins

unread,
Jul 24, 2015, 2:45:12 PM7/24/15
to Paulo da Silva, pytho...@python.org
You might checkout pyqtgraph.  I think a ton of the examples will be relevant to your use case.  

Laura Creighton

unread,
Jul 24, 2015, 3:19:19 PM7/24/15
to pytho...@python.org
You may be interested in bokeh.
http://bokeh.pydata.org/en/latest/

It's a python interactive visualisation library.

Laura

Cecil Westerhof

unread,
Jul 24, 2015, 4:14:59 PM7/24/15
to
On Friday 24 Jul 2015 20:37 CEST, Christopher Mullins wrote:

> You might checkout pyqtgraph. I think a ton of the examples will be
> relevant to your use case.

Top-posting is (rightly) frowned upon in this group. Could you use
inline posting next time?


A3: Please.
Q3: Should I avoid top posting on this mailing list?

A2: Because, by reversing the order of a conversation, it leaves the
reader without much context, and makes them read a message in an
unnatural order.
Q2: Why is top posting irritating?

A1: It is the practice of putting your reply to a message before the
quoted message, instead of after the (trimmed) message.
Q1: What is top posting?
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Frank Miles

unread,
Jul 24, 2015, 6:22:00 PM7/24/15
to
On Fri, 24 Jul 2015 19:31:36 +0100, Paulo da Silva wrote:

[snip]


> Which technology is better?
> matplotlib?
> tkinter?
> wxwidgets?
> qt?

Sadly - I don't think wxpython has been ported to python3 yet.

Mark Lawrence

unread,
Jul 24, 2015, 7:16:19 PM7/24/15
to pytho...@python.org
http://wxpython.org/Phoenix/docs/html/main.html

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

llanitedave

unread,
Jul 25, 2015, 3:06:23 PM7/25/15
to
Matplotlib apparently still has some issues with wxPhoenix. Not that Matplotlib is a necessity for the OP's application, but it could address some of the speed issues he was concerned about.

Kevin Walzer

unread,
Jul 25, 2015, 4:11:10 PM7/25/15
to
On 7/24/15 4:11 PM, Cecil Westerhof wrote:
> Top-posting is (rightly) frowned upon in this group. Could you use
> inline posting next time?

Meta is definitely NOT discouraged on this list, but it should be.
Nothing like derailing an interesting thread with lectures on where to
post. Aaaaand someone will chime in with a diatribe against Google
groups...wait for it...wait for it...

To address the OP's query, I recommend Tkinter. Plays very nicely with C
and C++.

--Kevin

--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com

blue

unread,
Jul 26, 2015, 12:47:51 AM7/26/15
to

Paulo da Silva

unread,
Jul 26, 2015, 1:19:41 PM7/26/15
to
On 26-07-2015 05:47, blue wrote:
> Hi .
> I tested all. Now I think the PySide can more.

No python3!
Besides ... any differences to pyqt4?
Thanks


Todd

unread,
Jul 27, 2015, 8:51:40 AM7/27/15
to pytho...@python.org
pyside has supported python 3 for a long time now.

As for differences, the main difference is the license.

Paulo da Silva

unread,
Jul 30, 2015, 1:17:03 AM7/30/15
to
On 24-07-2015 19:31, Paulo da Silva wrote:

I'll begin with pyqtgraph. Seems to be simple to start with. Thanks
Chistopher.

Later I'll give a try to bokeh. I'll need to look better at web
applications first. I still don't know if dynamically changing is
possible without the bokeh server. Thanks Laura.

Thank you all who responded.

Paulo

0 new messages