Kivy Garden is a project and command-line tool that centralizes user-contributed add-ons, called "flowers," for the Kivy framework. These "flowers" are typically distributed as separate PyPI packages under the `kivy_garden.*` namespace (e.g., `kivy_garden.mapview`). The `kivy-garden` tool facilitates the management and installation of both legacy and modern pip-installable Kivy extensions. It is currently at version 0.1.5 and provides utilities for Kivy developers to extend their applications with community-contributed widgets and tools.
pip install kivy-gardenVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to create a simple Kivy application displaying an interactive map using the `kivy_garden.mapview` 'flower'. It initializes a MapView widget and places a marker on it, showcasing the standard import and usage pattern for modern Kivy Garden components.
For new projects, prioritize `pip install kivy_garden.flower_name` and `from kivy_garden.flower_name import ...`. For existing legacy projects, ensure `kivy-garden` is installed and use the `garden` command or migrate flowers to the new format if possible.
Always check the specific 'flower's' GitHub repository or documentation for its status, last update, and compatibility. Use at your own risk and consider contributing or forking if a critical 'flower' becomes unmaintained.
In `buildozer.spec`, add `kivy_garden.flower_name` to the `requirements` list (e.g., `requirements = python3,kivy,kivy_garden.mapview`). Alternatively, for legacy flowers, use `garden install --app flower_name` from your app directory.