Live data from Hacker News

Kivy – Open-source Python library for rapid development of applications

kivy.org

1–10 of 50 posts

Re: Kivy – Open-source Python library for rapid development of applications

#2
I've tried it, but the resulted built size is huge. How could a Hello World application (built for android) took 15 minutes to build, and about 60MB in size ?? Why not those measurement been told in the main site to tell other to try and use ?

Re: Kivy – Open-source Python library for rapid development of applications

#3
post #2

I've tried it, but the resulted built size is huge. How could a Hello World application (built for android) took 15 minutes to build, and about 60MB in size ?? Why not those measurement been told in the main site to tell other to try and use ?

I'm guessing this is because Kivy includes a Python interpreter and Python libraries in each APK?

Re: Kivy – Open-source Python library for rapid development of applications

#4
post #2

I've tried it, but the resulted built size is huge. How could a Hello World application (built for android) took 15 minutes to build, and about 60MB in size ?? Why not those measurement been told in the main site to tell other to try and use ?

The actual apk can be as small as 5-6mb, but yes it's too big. Ideally common files to all Kivy applications (the python runtime and libraries) would only exist once, but that's a problem people can't quite agree how to solve. https://github.com/kivy/python-for-android/issues/202

Re: Kivy – Open-source Python library for rapid development of applications

#7
post #3
post #2

I've tried it, but the resulted built size is huge. How could a Hello World application (built for android) took 15 minutes to build, and about 60MB in size ?? Why not those measurement been told in the main site to tell other to try and use ?

I'm guessing this is because Kivy includes a Python interpreter and Python libraries in each APK?

The Python interpreter itself is only about 1.5-2 Mo. The issue is mainly related to the libraries.

Re: Kivy – Open-source Python library for rapid development of applications

#8
I found this in my logs from 2013 and it looks really nice now.

Another example app with Kivy + SQLite: Image Viewer and Organizer, https://github.com/gau-veldt/ImageOrg

This is also interesting: http://libnui.github.io/nui3/ I'm not exactly sure anymore about the relation. Is Kivy based on libnui?

Re: Kivy – Open-source Python library for rapid development of applications

#10
post #2

I've tried it, but the resulted built size is huge. How could a Hello World application (built for android) took 15 minutes to build, and about 60MB in size ?? Why not those measurement been told in the main site to tell other to try and use ?

The actual apk can be as small as 5-6mb, but yes it's too big. Ideally common files to all Kivy applications (the python runtime and libraries) would only exist once, but that's a problem people can't quite agree how to solve. https://github.com/kivy/python-for-android/issues/202

I'm pretty sure apps can have dependencies, so that looks like the best solution. Yes, users will be annoyed, but I think it's still better than various other "hacks".
Post reply on HN