Python Libraries Codexery

Kivy (framework)

Open source Python framework for multitouch applications and mobile apps.

Last updated

Kivy is a free, open-source Python framework for building mobile apps and multitouch software with a natural user interface. Licensed under MIT, it runs on Android, iOS, Linux, macOS, and Windows. The framework offers extensive input support for various devices, an OpenGL ES 2 graphics library, multitouch widgets, and a custom language called Kv for designing widgets. It evolved from the PyMT project and is the main framework from the Kivy organization.

Kv language

The Kv language is dedicated to describing user interface and interactions in the Kivy framework. It allows creating a whole UI and attaching interaction, similar to other user interface markup languages. For example, a LoadDialog with a file browser and Cancel/Load buttons can be designed by creating the base widget in Python and constructing the UI in Kv. Alternatively, the layout and buttons can be loaded directly in the main.py file.

Related projects

Related projects include Buildozer, a generic Python packager for Android and iOS; Plyer, a platform-independent Python wrapper for platform-dependent APIs; Pyjnius for dynamic access to the Java/Android API; Pyobjus for dynamic access to the Objective-C/iOS API; Python for Android and Kivy for iOS toolchains; Audiostream for direct microphone and speaker access; KivEnt, an entity-based game engine; Kivy Garden for community widgets; Kivy SDK Packager; Kivy Remote Shell; KivyPie for Raspberry Pi; OSCPy; Condiment; KivyAuth for social login; KivMob for AdMob; and KivyMD for Material Design widgets.

More in Python Libraries

Sources

Compiled from Wikipedia and the sources listed below. Text from Wikipedia is available under CC BY-SA 4.0; this entry is adapted from it.

Spotted an error? Know more?

Reader corrections go straight into our review queue. Suggest an edit · How this site is sourced

Comments

Loading…
Open in the interactive codex →