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

 

More Information

Kivy.org

Kivy Garden on Github

Related Articles

Settlement Secures Python Name For Language       

Grants Awarded To Kivy and NLTK To Boost Python 3       

Enum Causes Controversy for Python 3.4       

PyPy 2.0 Released       

Brython - Python In The Browser       

Advanced Python Arrays - Introducing NumPy       

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, FacebookGoogle+ or Linkedin,  or sign up for our weekly newsletter.

 

kotlin book

 

Comments




or email your comment to: comments@i-programmer.info

 

Banner


The Data Engineering Vault
11/10/2024

A curated network of knowledge designed to facilitate exploration, discovery, and deep learning in the field of data engineering.



CouchDB 3.4 Strengthens Password Hashes
03/10/2024

CouchDB 3.41 has been released with stronger password hashes, a Lucene-based full text search implementation, and QuickJS as a JavaScript option.


More News

Last Updated ( Sunday, 25 November 2018 )