Have a personal or library account? Click to login
Kivy Cookbook Cover

Kivy Cookbook

Enhance your skills in developing multi-touch applications with Kivy

Paid access
|Sep 2025
Product purchase options

Key Features

    Book Description

    Kivy is an open-source Python library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps. It is a promising Python framework to develop UI and UX apps in a cross-platform environment, under the Python philosophy.
    Kivy Cookbook is a practical book that will guide you through the Kivy framework to develop apps and get your apps ready for distribution in App Store and Android devices.
    You will start off with installing Kivy and building your interfaces. You will learn how to work the accelerometer and create custom events. Then, you will understand how to use the basics, buttons, labels and text inputs and manipulate the widget tree. Next, you will be able to work with manipulating instructions, create an atlas and layouts. Moving on, you will learn packing for Windows and packing for iOS, and use TestDrive.
    By the end of the book, you will have learnt in detail the relevant features and tools in Kivy and how to create portable packages to distribute your apps in the most used platforms.

    What you will learn

    • Access widgets defined inside Kv language in your Python code Handle Kivy events to control widgets, touches, the mouse, the keyboard, and animations Recognize touch shapes and detecting multi-tapping Create custom events and declare properties Organizing your layouts while working with the ActionBar Store and retrieve the coordinate space context Create your own shader and render in a framebuffer Leverage Factory objects, multi-touch in iOS and multi-touch in Android

    Who this book is for

    Table of Contents

    1. Kivy and the Kv Language
    2. Input, Motion and Touch
    3. Events
    4. Widgets
    5. Graphics
    6. Advancing Graphics
    7. The API in Detail
    8. Kivy for PC
    9. Kivy for Mobile Devices
    PDF ISBN: 978-1-78398-739-9
    Publisher: Packt Publishing Limited
    Copyright owner: © 2015 Packt Publishing Limited
    Publication date: 2025
    Language: English
    Pages: 246