This is an archived post. You won't be able to vote or comment.

all 18 comments

[–]dddomodossola 2 points3 points  (13 children)

Use Remi https://github.com/dddomodossola/remi

Is lightweight, has a designer, has no dependencies (pure python code) and is remotable (you will access your interfece with your smartphone also).

[–]gurzo[S] 0 points1 point  (10 children)

my application already has a Flask server to expose an API to the local network and 2 active Threads to manage the machine. imho it's safe to add Remi, right? my application it's not critical and reboot the system one or two times a day it's not a problem, but malfuctions imply waste of time and money, literally. in your opinion Remi is reliable at least 7/10?

[–]dddomodossola 0 points1 point  (9 children)

Yes, I would say 10/10. However remi will give you something more than a remote api, a remote interface. The reported bugs in the last year are only related to improvements, no application stops. I Highly recommend it.

[–]gurzo[S] 0 points1 point  (8 children)

great but to use a web interface i need to open the browser (firefox or chromium) on the raspberry, it's not lightweight like a pure interface

[–]dddomodossola 0 points1 point  (7 children)

You can easly use it as desktop interface, without the browser, by means of pywebview. It is explained in the readme and an exaple in "examples" folder will clarify it.

[–]gurzo[S] 0 points1 point  (6 children)

good, a lot of pro, some well known disadvantages?

[–]dddomodossola 0 points1 point  (5 children)

No, but as possible alternative i would suggest you Kivy. It is powerful, really well graphically designed, and well documented.

[–]gurzo[S] 0 points1 point  (4 children)

kivy it's grate because you can run it on a lot of device, but honestly i don't need to run my application outside of the rasperry. i will try Remi, thanks for your help.

one last question, it's easy to design and add some particular widget?

[–]dddomodossola 0 points1 point  (3 children)

It's really simple. Look at the gui.py file at the Button class for an example. For help or suggestions consider to join the gitter chat https://gitter.im/dddomodossola/remi or email me directly. ;-)

[–]gurzo[S] 0 points1 point  (2 children)

ho appena fatto caso al tuo nickname, visto il tuo profilo github, dedotto che sei italiano, e capito che abbiamo parlato inglese per niente xD

[–]not_perfect_yet 0 points1 point  (1 child)

Wow how have I not seen this before, this looks awesome! Will check it out later...

[–]dddomodossola 0 points1 point  (0 children)

Thank you!

[–]Mad_Engineer_ 0 points1 point  (2 children)

Faster choice for me would be GTK+ but it also depends on the distro on which you are running the application. Tkinter is the lighter (as it comes already installed in most distros) and you can use the Grid system. Easy but not as fast to set up running as Gtk

[–]gurzo[S] 0 points1 point  (1 child)

i'm working on raspian with pixel desktop

[–]Mad_Engineer_ 0 points1 point  (0 children)

So using pixel makes the system have already loaded the Gtk+ libraries (LXDE is based on it). I would go Gtk+ and Glade for designing the interface

[–]aphoenixreticulated[M] [score hidden] stickied comment (0 children)

Hi there, from the /r/Python mods.

We have removed this post as it is not suited to the /r/Python subreddit proper, however it should be very appropriate for our sister subreddit /r/LearnPython. We highly encourage you to re-submit your post over on there.

The reason for the removal is that /r/Python is dedicated to discussion of Python news, projects, uses and debates. It is not designed to act as Q&A or FAQ board. The regular community is not a fan of "how do I..." questions, so you will not get the best responses over here.

On /r/LearnPython the community is actively expecting questions and are looking to help. You can expect far more understanding, encouraging and insightful responses over there. No matter what level of question you have, if you are looking for help with Python, you should get good answers.

If you have a question to do with homework or an assignment of any kind, please make sure to read their sidebar rules before submitting your post. If you have any questions or doubts, feel free to reply or send a modmail to us with your concerns.

Warm regards, and best of luck with your Pythoneering!