Kivy Cookbook

· Packt Publishing Ltd
电子书
246
评分和评价未经验证  了解详情

关于此电子书

Enhance your skills in developing multi-touch applications with KivyAbout This BookCreate most diverse apps and learn how to distribute them with the help of the Kivy frameworkExplore Kivy API to develop user interfaces and control multi-touch eventsStep-by-step recipes that provide deeper understanding of the Kivy 1.9.0 frameworkBuild and use your own events, widgets and gestures using features and tools in KivyWho This Book Is For

This book is intended for developers who want to use features of the Kivy framework and develop multi-touch applications. Prior experience with Kivy is not required, although familiarity with Python is expected.

What You Will LearnAccess widgets defined inside Kv language in your Python codeHandle Kivy events to control widgets, touches, the mouse, the keyboard, and animationsRecognize touch shapes and detecting multi-tappingCreate custom events and declare propertiesOrganizing your layouts while working with the ActionBarStore and retrieve the coordinate space contextCreate your own shader and render in a framebufferLeverage Factory objects, multi-touch in iOS and multi-touch in AndroidIn Detail

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.

Style and approach

This is an easy-to-follow practical guide packed with graspable recipes that cover important tasks to be performed while developing multi-touch applications with Kivy. All the code used in each recipe is explained in detail.

作者简介

Hugo Solis is an assistant professor in the physics department at the University of Costa Rica. In the same institution, he collaborates with CITIC and CICIMA. His current research interests include computational cosmology, complexity, and the influence of hydrogen on material properties. He has wide experience in languages, including C/C++ and Python for scientific programming and visualization. He is a member of the Free Software Foundation and has contributed code to some free software projects. He has also been a technical reviewer for Mastering Object-oriented Python, Kivy: Interactive Applications in Python, and Learning Object-Oriented Programming by Packt Publishing. Currently, he is in charge of the IFT, a Costa Rican scientific nonprofit organization for the multidisciplinary practice of physics (http://iftucr.org).

为此电子书评分

欢迎向我们提供反馈意见。

如何阅读

智能手机和平板电脑
只要安装 AndroidiPad/iPhone 版的 Google Play 图书应用,不仅应用内容会自动与您的账号同步,还能让您随时随地在线或离线阅览图书。
笔记本电脑和台式机
您可以使用计算机的网络浏览器聆听您在 Google Play 购买的有声读物。
电子阅读器和其他设备
如果要在 Kobo 电子阅读器等电子墨水屏设备上阅读,您需要下载一个文件,并将其传输到相应设备上。若要将文件传输到受支持的电子阅读器上,请按帮助中心内的详细说明操作。