Quick search

Table Of Contents

Garden

New in version 1.7.0.

Garden is a project to centralize addons for Kivy, maintained by users. You can find more information at Kivy Garden All the garden packages are centralized on the kivy-garden Github.

We provide a tool (kivy/tools/garden) for managing garden packages:

# Installing a garden package
garden install graph

# Upgrade a garden package
garden install --upgrade graph

# Uninstall a garden package
garden uninstall graph

# List all the garden packages installed
garden list

# Search new packages
garden search

# Search all the packages that contain "graph"
garden search graph

# Show the help
garden --help

All the garden packages are installed by default in ~/.kivy/garden.

Packaging

If you want to include garden package in your application, you can add –app in the install command. This will create a libs/garden directory in your current directory, and will be used by kivy.garden.

For example:

cd myapp
garden install --app graph
kivy.garden.garden_app_dir = '/usr/local/bin/libs/garden'

application path where garden modules can be installed

kivy.garden.garden_system_dir = 'garden'

system path where garden modules can be installed