- Kivy Cookbook
- Hugo Solis
- 235字
- 2021-07-16 20:39:56
Using Kivy garden
This recipe will teach you how to use Kivy garden, which is a helpful tool to get some Kivy add-ons.
Getting ready
This recipe needs the pip
system, which is a package management system used to install and manage software packages written in Python. The installation is very easy: just go to https://pip.pypa.io/en/latest/installing.html and download get-pip.py
. Now, in the terminal, type:
$ Python get-pip.py
This line installs pip
.
How to do it…
These are the most important tasks with Kivy garden:
- Install Kivy garden:
$ sudo pip install kivy-garden
- Install 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
There's more…
Also, we want to be able to search in the Kivy garden; for example, we can:
- Search new packages:
$ garden search
- Search all the packages that contain graph:
$ garden search graph
- Show the following:
$ garden --help
All the garden packages are installed by default in
~/.kivy/garden
.
推薦閱讀
- C語言程序設計教程
- Python機器學習:數據分析與評分卡建模(微課版)
- 自制編譯器
- 企業級Java EE架構設計精深實踐
- Visual Basic程序開發(學習筆記)
- JIRA 7 Administration Cookbook(Second Edition)
- Vue.js 3.x從入門到精通(視頻教學版)
- Java 9 Programming Blueprints
- BeagleBone Media Center
- 營銷數據科學:用R和Python進行預測分析的建模技術
- Monitoring Elasticsearch
- 深入淺出RxJS
- Swift細致入門與最佳實踐
- Learning Probabilistic Graphical Models in R
- MATLAB GUI純代碼編寫從入門到實戰