Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #69399 > unrolled thread
| Started by | "D. Xenakis" <gouzounakis@hotmail.com> |
|---|---|
| First post | 2014-03-30 16:16 -0700 |
| Last post | 2014-04-04 09:44 +1100 |
| Articles | 19 — 11 participants |
Back to article view | Back to comp.lang.python
Examples of modern GUI python programms "D. Xenakis" <gouzounakis@hotmail.com> - 2014-03-30 16:16 -0700
Re: Examples of modern GUI python programms Michael Torrie <torriem@gmail.com> - 2014-03-30 20:16 -0600
Re: Examples of modern GUI python programms Metallicow <metaliobovinus@gmail.com> - 2014-03-30 22:47 -0700
Re: Examples of modern GUI python programms Sturla Molden <sturla.molden@gmail.com> - 2014-03-31 08:48 +0000
Re: Examples of modern GUI python programms Metallicow <metaliobovinus@gmail.com> - 2014-03-31 02:33 -0700
Re: Examples of modern GUI python programms Sturla Molden <sturla.molden@gmail.com> - 2014-03-31 20:16 +0000
Re: Examples of modern GUI python programms Metallicow <metaliobovinus@gmail.com> - 2014-03-31 20:47 -0700
Re: Examples of modern GUI python programms David Hutto <dwightdhutto@gmail.com> - 2014-04-01 00:24 -0400
Re: Examples of modern GUI python programms Jonathan Harden <jfharden@gmail.com> - 2014-03-31 10:14 +0100
Re: Examples of modern GUI python programms CM <cmpython@gmail.com> - 2014-03-31 22:14 -0700
Re: Examples of modern GUI python programms Wolfgang Keller <feliphil@gmx.net> - 2014-04-01 17:19 +0200
Re: Examples of modern GUI python programms Sturla Molden <sturla.molden@gmail.com> - 2014-04-02 12:14 +0000
Re: Examples of modern GUI python programms Sturla Molden <sturla.molden@gmail.com> - 2014-04-02 11:52 +0000
Re: Examples of modern GUI python programms Robert Kern <robert.kern@gmail.com> - 2014-04-03 15:02 +0100
Re: Examples of modern GUI python programms Fabio Zadrozny <fabiofz@gmail.com> - 2014-04-03 11:00 -0300
Re: Examples of modern GUI python programms Chris Angelico <rosuav@gmail.com> - 2014-04-04 01:25 +1100
Re: Examples of modern GUI python programms Sturla Molden <sturla.molden@gmail.com> - 2014-04-03 17:22 +0200
Re: Examples of modern GUI python programms Sturla Molden <sturla.molden@gmail.com> - 2014-04-03 22:31 +0000
Re: Examples of modern GUI python programms Chris Angelico <rosuav@gmail.com> - 2014-04-04 09:44 +1100
| From | "D. Xenakis" <gouzounakis@hotmail.com> |
|---|---|
| Date | 2014-03-30 16:16 -0700 |
| Subject | Examples of modern GUI python programms |
| Message-ID | <c168919b-5d38-46f8-b97f-91eb49867814@googlegroups.com> |
Id like to ask.. do you know any modern looking GUI examples of windows software written in python? Something like this maybe: http://techreport.com/r.x/asus-x79deluxe/software-oc.jpg (or hopefully something like this android look: http://chromloop.com/wp-content/uploads/2013/07/Skype-4.0-Android-screenshot.jpg). What i need is to develop an android looking program (entirelly in python) for windows, but dunno if this is possible (most propably is), and which tool between those would help me most: tkinter - wxpython - pyqt - pygtk . Any examples and suggestions are most welcome.
[toc] | [next] | [standalone]
| From | Michael Torrie <torriem@gmail.com> |
|---|---|
| Date | 2014-03-30 20:16 -0600 |
| Message-ID | <mailman.8727.1396232185.18130.python-list@python.org> |
| In reply to | #69399 |
On 03/30/2014 05:16 PM, D. Xenakis wrote: > What i need is to develop an android looking program (entirelly in > python) for windows, but dunno if this is possible (most propably > is), and which tool between those would help me most: tkinter - > wxpython - pyqt - pygtk . > > Any examples and suggestions are most welcome. Your best bet is to use PyQt. I bet you can make some android-looking UIs using QtQuick (Javascript) with a bit of Python glue.
[toc] | [prev] | [next] | [standalone]
| From | Metallicow <metaliobovinus@gmail.com> |
|---|---|
| Date | 2014-03-30 22:47 -0700 |
| Message-ID | <dc3dc297-2e18-4272-ad65-b4ccf7ee65e8@googlegroups.com> |
| In reply to | #69402 |
On Sunday, March 30, 2014 9:16:06 PM UTC-5, Michael Torrie wrote: > On 03/30/2014 05:16 PM, D. Xenakis wrote: > > > What i need is to develop an android looking program (entirelly in > > python) for windows, but dunno if this is possible (most propably > > is), and which tool between those would help me most: tkinter - > > > wxpython - pyqt - pygtk . > > > > Any examples and suggestions are most welcome. > > Your best bet is to use PyQt. I bet you can make some android-looking > UIs using QtQuick (Javascript) with a bit of Python glue. Well, I wouldn't exactly say that Qt is the way to go just yet... The author needs to weigh the benefits of each toolkit and make a decision for themselves. As far as Qt is concerned, it is a bit more geared towards mobile apps at this point in its python life. It is a bit nicer with the animated stuff also. wxPython on the other hand has way better community support than QT side and has been around longer, so that may be a consideration. Tk is alright and bundled with python but requires more work than the others and isn't always native looking without a bit of extra work. Overall if you are fine with using a GUI builder for the GUI framework, then QT has a nice put-it-all-together IDE. If you are looking for a really customized(hand-tweakable) GUI with relative hassle, then I would recommend wxPython or if you know Tk this would be ok for the majority of stuff, but requires a bit more work. Another thing to consider is that if you are actually wanting this to work on a android or mobile device QT would be a better choice. Especially if touch support is an option. If you are only wanting it to look like android themed app, the other choices provide better long term benefits. As far as pygtk, that fairs better with linux, and in my opinion could use some updates platform-wise rounding the bugs out overall. My opinion would be wxPython if not actually using for a mobile, or PySide if you are. Both of these have acceptable licenses if you want to go commercial also without having to pay for commercial library usage.
[toc] | [prev] | [next] | [standalone]
| From | Sturla Molden <sturla.molden@gmail.com> |
|---|---|
| Date | 2014-03-31 08:48 +0000 |
| Message-ID | <mailman.8736.1396255726.18130.python-list@python.org> |
| In reply to | #69409 |
Metallicow <metaliobovinus@gmail.com> wrote: > My opinion would be wxPython if not actually using for a mobile, or > PySide if you are. Both of these have acceptable licenses if you want to > go commercial also without having to pay for commercial library usage. If you are to distribute a program using LGPL software on AppStore or Gopgle Play, then remember that the user must be allowed to relink the program with anpther version of the library. That is an LGPL requirement. I don't see how this requirement can be satisfied in this case. Thus, LGPL on AppStore or Google Play is probably put of the question. At least on iOS, the user cannot change what you put in an App bundle. This excludes wxPython and PySide. Thus, the only viable cross-platform choices are commercial PyQt + commercial Qt or tkinter. In case of iOS, PyObjC is also an option. py2app will also be useful for creating App bundles on iOS. Sturla
[toc] | [prev] | [next] | [standalone]
| From | Metallicow <metaliobovinus@gmail.com> |
|---|---|
| Date | 2014-03-31 02:33 -0700 |
| Message-ID | <db2ed73f-aa1f-42d6-abcd-0b7c29c95e1f@googlegroups.com> |
| In reply to | #69418 |
On Monday, March 31, 2014 3:48:33 AM UTC-5, Sturla Molden wrote: > If you are to distribute a program using LGPL software on AppStore or > Gopgle Play, then remember that the user must be allowed to relink the > program with anpther version of the library. That is an LGPL requirement. I > don't see how this requirement can be satisfied in this case. Thus, LGPL on > AppStore or Google Play is probably put of the question. At least on iOS, > the user cannot change what you put in an App bundle. This excludes > wxPython and PySide. Thus, the only viable cross-platform choices are > commercial PyQt + commercial Qt or tkinter. In case of iOS, PyObjC is also > an option. py2app will also be useful for creating App bundles on iOS. > > Sturla The OP didn't exactly detail what exactly was being looked for just "python on windows" basically. So that part still hasn't been answered... As far as wxPython, that is not LGPL, it is wxPython/wxWidgets which is fine for licensing your compiled app as however you want. Modifications to the library stuff for example is good in the fact with this that most all improvements(to the library-stuff) eventually work their way back in or have to be released GPL v2. One would have to tool through the PySide agreement for their specifics, but as I recall it is exactly the same as Qt is, which makes sense. Riverbank/PyQt is not Qt, they are a separate entity, just to make that clear. The reason PySide was made was because Riverbank didn't want to license their bindings that same as Qt basically. A lot depends on what you intend to do with "the" app and how many hoops you are willing to jump through license wise. Just because a library is LGPL doesn't mean the authors code has to be depending on the circumstances. That just means usually you have to be able to provide the library code(and your mods to it) used. If the author doesn't care about releasing his/her own source code, then just about any toolkit would be at the same level of "python on windows" for the most part. It all depends on what the target for the app is. "Windows desktop?", "Windows Phone?", "MSW XBox?", etc...
[toc] | [prev] | [next] | [standalone]
| From | Sturla Molden <sturla.molden@gmail.com> |
|---|---|
| Date | 2014-03-31 20:16 +0000 |
| Message-ID | <mailman.8753.1396296992.18130.python-list@python.org> |
| In reply to | #69419 |
Metallicow <metaliobovinus@gmail.com> wrote: > One would have to tool through the PySide agreement for their specifics, > but as I recall it is exactly the same as Qt is, which makes sense. According to their web page, PySide is only LGPL. Qt is LGPL or commercial. > Just because a library is LGPL doesn't mean the authors code has to be > depending on the circumstances. That just means usually you have to be > able to provide the library code(and your mods to it) used. No, that would be MPL (Mozilla Public License). Many believe LGPL implies the same freedom as MPL. It does not. LGPL also means you also have to give the user a means to "relink the program with a different version of the library". That is a less known restriction of LGPL. Usually this is done by providing the LGPL library as a DLL. But a DLL is actually not sufficient, in case a different version of the library breaks the application binary interface (ABI). In case of ABI breakage, LGPL means the user be given access to the program source code to recompile and relink the program. Because of the closed nature of app bundles on iOS, the user cannot do anything with an .so or .dylib file. Thus, the DLL solution to LGPL infestation is not possible on iOS, even if it were sufficient. MPL is basically a version og LGPL that has removed the requirement to make relinkage possible. That is e.g. why a library like Eigen is released as MPL instead of LGPL. Sturla
[toc] | [prev] | [next] | [standalone]
| From | Metallicow <metaliobovinus@gmail.com> |
|---|---|
| Date | 2014-03-31 20:47 -0700 |
| Message-ID | <7731beae-7309-4fbc-b706-d4dd4983f535@googlegroups.com> |
| In reply to | #69444 |
On Monday, March 31, 2014 3:16:16 PM UTC-5, Sturla Molden wrote: > > According to their web page, PySide is only LGPL. Qt is LGPL or commercial. """ Licensing PySide has been published as a response to the lack of suitably licensed Qt bindings for Python. PySide is licensed under the LGPL version 2.1 license, allowing both Free/Open source software and proprietary software development. """ Read the legal definition of/and proprietary, then go consult a lawyer. That is caught as an exception/addition to the LGPL in the wording. I don't think anyone pressing the issue would get very far at all, unless there is a real good reason your own non-library source should be disclosed. Are there any legal precedents yet?.... If you didn't pay for it, or don't have a class action suit, or is of national security, then good luck. So, yes, PySide is acceptable also in certain situations you don't have to disclose own source. May need to consult with Qt personally on the matter if a Qt license is actually needed for your particular project, but in plain legal wording of the LGPL/Qts/PySides agreements, no, it is not but there are a few rules that have been layed out you will need to follow if you don't have a Qt license. Anywho, here is some infos detailing a bit more commonly asked situations on their forums regarding PySide. http://qt-project.org/wiki/About-PySide http://qt-project.org/forums/viewthread/34770 If you do have a Qt license, then the rules change a bit more in your favor at levels of what you can ignore, that others can't legally. A couple of our team members has a license to cover the stuff we do, so I don't worry about it much. The majority of it is open anyway, but pity those who expect everything for free. *I can hear it now* boo hoo pdf format is finally "free and open" after all these years of adobe's money*grubbin*making. geez... Lesson is: Any software/hardware dev should be familiar with the licensing terms of the toolkits they intend to use. There are always hoops to jump through for "Free-Types". Everyone needs to eat also, because as of this writing "Money" has yet to be abolished in this needy world of ours. And also it seems to fuel development in certain cases also. I often find the writings on the GPL pages about stuff related similarly to sound like a Richard being a crybaby at times, even tho I do respect him for his views he tries to emboss on everyone to create a "not-exactly-freeier-but-just-more-open" overall software society. If everyone had a flat wallet, then this idea would work out nicely. If I ever write a printer driver, I will make sure I license it GPL and personally send him a copy to inspect, believe me. Maybe when the next raspberry pi revision comes out he'll send 1000's of them out for free also to his supporters and developers also, but I somehow doubt it. http://www.gnu.org/philosophy/proprietary.html Anyhow, this should hopefully be enough infos for the OP to get a general idea of what toolkit would be needed for whatever project is in mind. As I say ",If not satisfied, contact sales. They are always reassuring to sound the least."
[toc] | [prev] | [next] | [standalone]
| From | David Hutto <dwightdhutto@gmail.com> |
|---|---|
| Date | 2014-04-01 00:24 -0400 |
| Message-ID | <mailman.8766.1396326262.18130.python-list@python.org> |
| In reply to | #69462 |
[Multipart message — attachments visible in raw view] — view raw
Caveat emptor(I have a copy of Latin For Idiots). When you get through with refining, in whatever language, the open source/proprietary app you're developing, is there anyway you can say for sure how many people's work went into things under different licenses accompanying what you may have copy and pasted into it, and neither can the individuals who developed the systems they "designed", and threw a license on it? *Standing on the shoulder's of giants can still be unsteady ground.*
[toc] | [prev] | [next] | [standalone]
| From | Jonathan Harden <jfharden@gmail.com> |
|---|---|
| Date | 2014-03-31 10:14 +0100 |
| Message-ID | <mailman.8741.1396272420.18130.python-list@python.org> |
| In reply to | #69399 |
[Multipart message — attachments visible in raw view] — view raw
On 31 Mar 2014 00:21, "D. Xenakis" <gouzounakis@hotmail.com> wrote: > ... Snip ... > What i need is to develop an android looking program (entirelly in python) for windows, but dunno if this is possible (most propably is), and which tool between those would help me most: tkinter - wxpython - pyqt - pygtk . > > Any examples and suggestions are most welcome. While I've not used it much Kivy could be useful if you want it to look Android like, with the added benefit that you can build for android as well.
[toc] | [prev] | [next] | [standalone]
| From | CM <cmpython@gmail.com> |
|---|---|
| Date | 2014-03-31 22:14 -0700 |
| Message-ID | <9563e381-f5a6-4c13-a941-e56290ca6549@googlegroups.com> |
| In reply to | #69399 |
On Sunday, March 30, 2014 7:16:07 PM UTC-4, D. Xenakis wrote:
> Id like to ask.. do you know any modern looking GUI examples of windows software written in python? Something like this maybe: http://techreport.com/r.x/asus-x79deluxe/software-oc.jpg (or hopefully something like this android look: http://chromloop.com/wp-content/uploads/2013/07/Skype-4.0-Android-screenshot.jpg).
>
> What i need is to develop an android looking program (entirelly in python) for windows, but dunno if this is possible (most propably is), and which tool between those would help me most: tkinter - wxpython - pyqt - pygtk .
>
I just know wxPython, so I'll discuss that. I'm pretty sure you could achieve either of those with wxPython, but it isn't really set up to look like that ("modern looking" in your words) by default. wxPython is set up to look *native* for each platform it runs on. On WinXP, for example, toolbars and buttons generally have "system gray" backgrounds, but some widgets can be changed, some can't. There are custom widgets that are more flexible though are not native.
You could cleverly simulate these sorts of looks with creative use of library-included custom widgets, a few of your own custom widgets possibly, black backgrounds, drawing on a DC directly to the screen, image backgrounds, and a few other things (basically creating your own "skin"). The harder one is probably the first one you linked--the other, Skype on Android, is mostly just big fluffy images. Probably the first 90% of that is pretty easy and the last 10% might be somewhat difficult, but not too bad.
It would be fun to try.
[toc] | [prev] | [next] | [standalone]
| From | Wolfgang Keller <feliphil@gmx.net> |
|---|---|
| Date | 2014-04-01 17:19 +0200 |
| Message-ID | <20140401171927.edf916b2b03dda70d2b2b012@gmx.net> |
| In reply to | #69399 |
> Id like to ask.. do you know any modern looking GUI examples of > windows software written in python? Something like this maybe: > http://techreport.com/r.x/asus-x79deluxe/software-oc.jpg (or > hopefully something like this android look: > http://chromloop.com/wp-content/uploads/2013/07/Skype-4.0-Android-screenshot.jpg). These are textbook examples of totally anti-ergonomic gadgetcrap for gamekiddies. Judging from the example screenshots on their website, Kivy might be adequate. Sincerely, Wolfgang
[toc] | [prev] | [next] | [standalone]
| From | Sturla Molden <sturla.molden@gmail.com> |
|---|---|
| Date | 2014-04-02 12:14 +0000 |
| Message-ID | <mailman.8831.1396532534.18130.python-list@python.org> |
| In reply to | #69520 |
Wolfgang Keller <feliphil@gmx.net> wrote: >> Id like to ask.. do you know any modern looking GUI examples of > Judging from the example screenshots on their website, Kivy might be > adequate. If you want to build something from scratch, libSDL is excellent and free (zlib license). Official supported platforms are: Windows XP/Vista/7/8 Mac OS X 10.5+ Linux 2.6+ iOS 5.1.1+ Android 2.3.3+ libSDL can be used from Python using ctypes or Cython. There is no GUI, but you can draw whatever you like. Sturla
[toc] | [prev] | [next] | [standalone]
| From | Sturla Molden <sturla.molden@gmail.com> |
|---|---|
| Date | 2014-04-02 11:52 +0000 |
| Message-ID | <mailman.8834.1396532785.18130.python-list@python.org> |
| In reply to | #69520 |
Wolfgang Keller <feliphil@gmx.net> wrote: > Judging from the example screenshots on their website, Kivy might be > adequate. Kivy depends on PyGame which is GPL, and can only be used to build GPL software.
[toc] | [prev] | [next] | [standalone]
| From | Robert Kern <robert.kern@gmail.com> |
|---|---|
| Date | 2014-04-03 15:02 +0100 |
| Message-ID | <mailman.8840.1396533887.18130.python-list@python.org> |
| In reply to | #69520 |
On 2014-04-02 12:52, Sturla Molden wrote: > Wolfgang Keller <feliphil@gmx.net> wrote: > >> Judging from the example screenshots on their website, Kivy might be >> adequate. > > Kivy depends on PyGame which is GPL, and can only be used to build GPL > software. It is not. http://www.pygame.org/LGPL -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
[toc] | [prev] | [next] | [standalone]
| From | Fabio Zadrozny <fabiofz@gmail.com> |
|---|---|
| Date | 2014-04-03 11:00 -0300 |
| Message-ID | <mailman.8841.1396533967.18130.python-list@python.org> |
| In reply to | #69520 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, Apr 2, 2014 at 8:52 AM, Sturla Molden <sturla.molden@gmail.com>wrote: > Wolfgang Keller <feliphil@gmx.net> wrote: > > > Judging from the example screenshots on their website, Kivy might be > > adequate. > > Kivy depends on PyGame which is GPL, and can only be used to build GPL > software. Actually, PyGame is LGPL: http://www.pygame.org/LGPL (it's also what their source files say, although I noted that in their homepage the link which points to http://www.pygame.org/LGPL *wrongly* says GPL when the actual link goes to LGPL and the sources say LGPL). Cheers, Fabio
[toc] | [prev] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2014-04-04 01:25 +1100 |
| Message-ID | <mailman.8843.1396535138.18130.python-list@python.org> |
| In reply to | #69520 |
On Fri, Apr 4, 2014 at 1:00 AM, Fabio Zadrozny <fabiofz@gmail.com> wrote: > Actually, PyGame is LGPL: http://www.pygame.org/LGPL (it's also what their > source files say, although I noted that in their homepage the link which > points to http://www.pygame.org/LGPL *wrongly* says GPL when the actual link > goes to LGPL and the sources say LGPL). Where? I can't see it. The home page redirects me to /news.html which doesn't say anything about GPL (other than in its collection of tags, which seem to be for finding other people's projects - that is, clicking that link takes you to a list of all pygame-using projects that are GPL'd); on the Documentation page, the license is clearly LGPL. ChrisA
[toc] | [prev] | [next] | [standalone]
| From | Sturla Molden <sturla.molden@gmail.com> |
|---|---|
| Date | 2014-04-03 17:22 +0200 |
| Message-ID | <mailman.8844.1396538570.18130.python-list@python.org> |
| In reply to | #69520 |
On 03/04/14 16:02, Robert Kern wrote: >> Kivy depends on PyGame which is GPL, and can only be used to build GPL >> software. > > It is not. > > http://www.pygame.org/LGPL Their web paged says GPL, but I assume that is an error. Is Python allowed on iOS anyway? Apple used to ban any code not written in C, C++, Objective-C and Objective-C++. Sturla
[toc] | [prev] | [next] | [standalone]
| From | Sturla Molden <sturla.molden@gmail.com> |
|---|---|
| Date | 2014-04-03 22:31 +0000 |
| Message-ID | <mailman.8861.1396564322.18130.python-list@python.org> |
| In reply to | #69520 |
Chris Angelico <rosuav@gmail.com> wrote: > Where? I can't see it. The home page redirects me to /news.html which > doesn't say anything about GPL (other than in its collection of tags, > which seem to be for finding other people's projects - that is, > clicking that link takes you to a list of all pygame-using projects > that are GPL'd); on the Documentation page, the license is clearly > LGPL. > http://www.pygame.org/wiki/about "Pygame is free. Released under the GPL License, you can create open source, free, freeware, shareware, and commercial games with it. See the licence for full details." But as pointed out, it seems to be a typo. Sturla
[toc] | [prev] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2014-04-04 09:44 +1100 |
| Message-ID | <mailman.8864.1396565094.18130.python-list@python.org> |
| In reply to | #69520 |
On Fri, Apr 4, 2014 at 9:31 AM, Sturla Molden <sturla.molden@gmail.com> wrote: > Chris Angelico <rosuav@gmail.com> wrote: > >> Where? I can't see it. The home page redirects me to /news.html which >> doesn't say anything about GPL (other than in its collection of tags, >> which seem to be for finding other people's projects - that is, >> clicking that link takes you to a list of all pygame-using projects >> that are GPL'd); on the Documentation page, the license is clearly >> LGPL. >> > > http://www.pygame.org/wiki/about > > "Pygame is free. Released under the GPL License, you can create open > source, free, freeware, shareware, and commercial games with it. See the > licence for full details." > > But as pointed out, it seems to be a typo. Ah yes, I see. That should probably be raised as a bug. ChrisA
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web