Live data from Hacker News

Kivy – a cross platform Python UI framework

kivy.org

91–100 of 107 posts

Re: Kivy – a cross platform Python UI framework

#91
I have been following the progress of this project for the past two years, but unfortunately the community support does not seem to be ready to take this project anywhere. The most basic app store in-app purchase support is directly rejected. If an application framework cannot quickly help people get started, how can it get people's support?

Re: Kivy – a cross platform Python UI framework

#92

One cross platform Python framework I found interesting is flet https://flet.dev/ It's powered by Flutter behind the scenes and familiar enough so that you can translate most things from Flutter/Dart tutorials to Flet. I haven't used it and I'll most likely never will (Flutter developer trying to pivot to real native development), but it seems to have an active community, and in theory, it enables developers to write…

What do you mean by "Flutter developer trying to pivot to real native development" ?

Re: Kivy – a cross platform Python UI framework

#94
post #15

There is a galaxy of projects around Kivy, such as https://github.com/kivy/python-for-android to compile python project for Android (with Kivy or not) or https://plyer.readthedocs.io/en/latest/ for cross plateform API (notifications, hardware, filechooser, etc). For UI there is https://github.com/kivymd/KivyMD for Material design on top of Kivy. And the team is nice (I've met some of them at PyCon or FOSDEM). The fra…

Thanks for sharing your experience and links! Based on plyer's GH, it looks like you could use it to develop an iOS and Android app. If it supported more APIs (like Health Kit, accessibility), I would try it in a heartbeat.

https://github.com/kivy/plyer

Re: Kivy – a cross platform Python UI framework

#95
post #48

Earlier quoted context omitted.

Does it appear native? And I keep hearing that even though swing is really old, it has better performance and that it’s used by IntelliJ. Not sure though

Yes (to a reasonable approximation), after calling: UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); ( https://docs.oracle.com/javase%2Ftutorial%2Fuiswing%2F%2F/lo... )

On Mac, the only thing that looks and feels native is the actual native Objective-C or Swift framework.

Everything else has subtle differences, and yes, your users will notice. You may as well just ship a janky Electron app like Teams. But if you want to impress your users with a native feel, it's the Apple toolkits or nothing.

Re: Kivy – a cross platform Python UI framework

#96
post #95
post #48

Earlier quoted context omitted.

Yes (to a reasonable approximation), after calling: UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); ( https://docs.oracle.com/javase%2Ftutorial%2Fuiswing%2F%2F/lo... )

On Mac, the only thing that looks and feels native is the actual native Objective-C or Swift framework. Everything else has subtle differences, and yes, your users will notice. You may as well just ship a janky Electron app like Teams. But if you want to impress your users with a native feel, it's the Apple toolkits or nothing.

In my case the users were just really happy we solved the problem, I don't think they would care if it ran on minecraft redstone.

Re: Kivy – a cross platform Python UI framework

#97

Kivy led to one of my first open source contributions in 2014. I submitted Kivy file support to Vim. It was done via patch diffs over email with Bram Moolenaar. It's still in Vim today[1]. RIP Bram. [1]: https://github.com/vim/vim/blob/master/runtime/syntax/kivy.v...

Nice, that’s pretty sweet. Also RIP Bram, great human being.

Re: Kivy – a cross platform Python UI framework

#99

One cross platform Python framework I found interesting is flet https://flet.dev/ It's powered by Flutter behind the scenes and familiar enough so that you can translate most things from Flutter/Dart tutorials to Flet. I haven't used it and I'll most likely never will (Flutter developer trying to pivot to real native development), but it seems to have an active community, and in theory, it enables developers to write…

Interesting. Looking for something like this to use instead of Flask, which is great on the server side but need something that’s easy to work with on the client side that provides a feature complete and nice looking set on controls for the client side.

Re: Kivy – a cross platform Python UI framework

#100
post #50

Earlier quoted context omitted.

Is there a cross-platform accessibility library? I can tell you that developing a cross-platform GUI framework is a gigantic can of worms fraught with forced yakshaving, no documentarion, no support, and endless bugs across the stack even down into the OS and GPU driver stack. So in my opinion, everyone asking for accessibility features on every GUI framework announcement should get together and make a GLFW for acces…

Sounds like AccessKit [0] to me [0]: https://github.com/AccessKit/accesskit

Thanks. I'll take a look. But it being in Rust makes me a bit hesitant. A lot of these projects in Rust seem to fizzle out as soon as people get bored with them once they become hard.

Do you know of anything major that's using it?

Post reply on HN