Live data from Hacker News

Kivy: Cross-Platform Python Framework for UI Development

kivy.org

11–20 of 59 posts

Re: Kivy: Cross-Platform Python Framework for UI Development

#11

So, I’m not sure whether the website was made using the product, but the homepage renders overlapping text on Chrome for IPhone 11 with IOS 14

As has already been said, Kivy isn't a web framework, but we're well aware the website isn't great. Unfortunately it hasn't had much love for a long time, especially as it's quite a task to seriously change it and we're both under-resourced and Python-oriented. We've been talking about various options for a long time. It's possible we might make some moves now as Kivy 2.0 was just recently released, which was a major update taking up a lot of focus.

Re: Kivy: Cross-Platform Python Framework for UI Development

#14

It's quite fascinating to read about mobile crossplatform projects beyond React Native/Flutter/Xamarin and the old Cordova/PhoneGap and Appcelerator Titanium efforts. There's a surprising amount of them out there- Kivy isn't even the only one in Python, there's also Beeware ( https://www.youtube.com/watch?v=qaPzlIJ57dk ) and PyMob. The question is, who actually uses these projects? The people developing them? Hobbyis…

> The question is, who actually uses these projects? The people developing them? Hobbyists? Language diehards?

This is an interesting question, and one that (as Kivy developers) we wonder about ourselves. Others may have different perspectives, but mine is:

* Kivy is very much community built and community driven, it has no serious financial backing (though we are grateful for the donations we do get!) and a fairly small developer pool.

* Most of the commercial use of Kivy that I'm aware of is small companies using it for specific reasons that happen to make sense for them, usually involving some technical reason such as the combination of Python and a flexible drawing toolkit fitting both their dev interests and product requirements. I don't think there is a lot of commercial use, but e.g. one of the Kivy founders has been using Kivy commercially for many years in a variety of interesting projects.

* Kivy is not mobile-only or even mobile-focused, and the commercial usage reflects that. This is worth noting because people often think it was invented for mobile: it wasn't, it was invented to be very flexible, and this happened to make it mobile-ready.

* Most use of Kivy is probably from Python hobbyists, and may well be more weighted towards mobile since that's the most obvious standout feature as a Python gui toolkit (although not the only one).

I've been involved with Kivy for a long time, but never commercially - I got into it for fun while looking to make an app and strugging with an android development tutorial (turns out the instructions were just wrong for Linux...), and stayed with it for also fun. I'm most interested in the general principle that app development ought to be simple and easy for a wide range of tasks, and that in pursuit of this goal it does not have to be perfect. I like the idea that e.g. someone who has programmed a simple game or visualisation should be able to easily share it with their friends, on any platform including mobile. This is just my perspective of course, others do use it for other things.

I have a couple of my own apps that I think emphasise this perspective. Lazy Baduk (https://play.google.com/store/apps/details?id=net.inclem.laz...) is a Go analysis tool that bundles a superhuman AI: I threw it together in a weekend using some existing Python code I had lying around, because there was no Android app currently supporting the functionality I wanted. If I couldn't do that with Python, the app simply wouldn't exist. ColourBlind (https://play.google.com/store/apps/details?id=net.inclem.col...) runs the camera feed through a basic colour blindness simulation filter, I made this one just because I wanted to see what it was like and all the existing apps I could find were rubbish (in my opinion!). Even with the limitations of Python, I like mine much better than them.

Re: Kivy: Cross-Platform Python Framework for UI Development

#15
A cross-platform framework which does not support the web platform. What's the point? There are so many UI development frameworks, and so many of them are missing the web. This limits the options available enormously, and is forcing programmers into inconvenient and inappropriate solutions.

Re: Kivy: Cross-Platform Python Framework for UI Development

#17

It's quite fascinating to read about mobile crossplatform projects beyond React Native/Flutter/Xamarin and the old Cordova/PhoneGap and Appcelerator Titanium efforts. There's a surprising amount of them out there- Kivy isn't even the only one in Python, there's also Beeware ( https://www.youtube.com/watch?v=qaPzlIJ57dk ) and PyMob. The question is, who actually uses these projects? The people developing them? Hobbyis…

I'm a hobbyist and I've been looking into these kinds of projects for a while. From my (limited) experience, the easiest way to go for a lot of cases is just to use a cross-platform game engine's UI capabilities, but there's some other interesting not-well-known stuff like HaxeUI and LambdaNative.

Re: Kivy: Cross-Platform Python Framework for UI Development

#18

It's quite fascinating to read about mobile crossplatform projects beyond React Native/Flutter/Xamarin and the old Cordova/PhoneGap and Appcelerator Titanium efforts. There's a surprising amount of them out there- Kivy isn't even the only one in Python, there's also Beeware ( https://www.youtube.com/watch?v=qaPzlIJ57dk ) and PyMob. The question is, who actually uses these projects? The people developing them? Hobbyis…

I'm a hobbyist and I've been looking into these kinds of projects for a while. From my (limited) experience, the easiest way to go for a lot of cases is just to use a cross-platform game engine's UI capabilities, but there's some other interesting not-well-known stuff like HaxeUI and LambdaNative.

> use a cross-platform game engine's UI capabilities

Have you seen any examples, either production apps or tutorials doing so? Ironically, I've considered building a heavily menu-driven game in Flutter rather than using Unity, and seen an example of such:

https://www.reddit.com/r/FlutterDev/comments/iit6cf/i_made_a...

Re: Kivy: Cross-Platform Python Framework for UI Development

#19

So, I’m not sure whether the website was made using the product, but the homepage renders overlapping text on Chrome for IPhone 11 with IOS 14

As has already been said, Kivy isn't a web framework, but we're well aware the website isn't great. Unfortunately it hasn't had much love for a long time, especially as it's quite a task to seriously change it and we're both under-resourced and Python-oriented. We've been talking about various options for a long time. It's possible we might make some moves now as Kivy 2.0 was just recently released, which was a major…

From a marketing protective it may have made sense to revamp the website before launching 2.0 since you could've made a lot of better first impressions.

That said I don't think it's that bad, but the styling could be nicer.

Re: Kivy: Cross-Platform Python Framework for UI Development

#20
Long time fan of kivy checking in here. Important if you wanna be off internet grid. Portal to OpenGL as well. Kivy hugely underrated and better than QT imho. Made a 2D skateboarding game and tried to get it working with buildozer on android back in the day (2017) Cheers to the devs.
Post reply on HN