Kivy 1.7 Released
Written by Kay Ewbank   
Tuesday, 21 May 2013

A new version of Python library Kivy has been released with an Android Emulator and innovations for organizing widgets and addons.

Kivy is an open source Python library that gives a framework for creating apps with innovative user interfaces.

You can create apps that are multi-touch, that react to gestures, and that track objects and markers. Kivy runs on Linux, Windows, MacOSX, Android and IOS, and you can run the same code on all supported platforms. Raspberry Pi support was added in April after a crowdfunding drive by the Kivy team.

It makes use of OpenGL to create a standardized UI and graphics environment for Python. It's only real drawback at the moment is that it doesn't work with Python 3.

 

kivylogo

 

The new version of Kivy, 1.7.0, was released last week, and has some significant changes.

The support for the Android Emulator is a major improvement, and means you can now develop in Kivy for Android devices. In the official announcement of the new release, the Kivy team says that if you use python-for-android, cleaning and updating the source code should give you the latest kivy version which already supports the Android emulator (assuming it has gpu acceleration activated). The new version also supports ETC1 texture compression format, which is the standard on the Android platform.

The way Kivy’s ScrollView works has been changed, and the scrolling part is now separated as an effect, using a better physics calculation and timing. Multiple effects are available including the default DampingScrollEffect and an alternative OpacityScrollEffect. This design will let the team implement the Pull-and-release scrollview that is appearing on mobile views of gmail, twitter etc.

According to a blog post by Mathieu Virbel on TXZone about the new version:

“the scrollview doesn’t calculate anything now, it just pass the touch position to a Scroll effect. This class calculate the movement’s velocity, and the over-scroll’s distance (means how far you scrolled out of the bounds).”

Virbel also says that the Kivy team has implemented two visual effects that use the over-scroll to make the scrollview act as a damped spring. The changes also mean the scrollview fades out if the users over-scrolls too much.

Support has been added to give a way to organize user’s widgets and addons in a centralized location known as the Kivy. A tool lets users search for addons, and you can install and maintain a garden package containing widgets in your system or in your application layout. The team hopes developers will participate and share widgets with the community, and notes that there are already some garden packages available on Github

 

 

kivylogo

 

The new version is available for download on the Kivy website

 

Banner


Synaptic - Advanced Neural Nets In JavaScript
23/10/2014

This is a project you need to know about if you have an interest in AI or teaching AI. Put simply it is JavaScript library that lets you implement and work with neural networks. What's special is that [ ... ]



Eve Set To Make Programming Easy?
07/10/2014

Chris Granger is the man responsible for Light Table and what you think about his next project is probably conditioned by what you thought about his previous efforts.


More News

Last Updated ( Tuesday, 21 May 2013 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.