π The Kivy team is happy to announce the release of Kivy 2.0.0.
Kivy is a full-featured framework for creating novel and performant user
π interfaces, such as multi-touch applications, released under the MIT license.
π The framework works on Windows, macOS, Linux, Android, iOS and Raspberry Pi.
pip install (see below).π Installation instructions and Kivy documentation is available on the Kivy website:
https://kivy.org
π or on GitHub.
π§ Kivy can now be installed into your Virtual Environment on Windows, Linux, OSX, and RPi simply with:
pip install kivy[base] kivy-examples
# or to get the media dependecies as well
pip install kivy[base,media] kivy-examples
# or to get most kivy optional dependencies
pip install kivy[full] kivy-examples
* For the RPi, additional system dependencies should be pre-installed.
π These selectors allow specifying dependency categories, instead of having to pin Kivy's kivy_deps dependencies to specific versions. These selectors will install the proper dependency version to match Kivy's version.
β Additionally, by default, Kivy will install the base dependencies even if base is not specified. In order to facilitate easier install for GUI installation users e.g. in PyCharm. However, this may change as pip evolves and base should be manually specified. Use pip's --no-deps flag to disable it.
π See the selector documentation for more details.
π Installation from source has also been simplified, relying on pip's pyproject.toml. See the simplified instructions.
π [#6351]: Support for Python 2 has been dropped and Kivy source code is now incompatible with Python 2.
π [#6368]: Support for async has been added to Kivy. Kivy can now run cooperatively, in the same process or thread as asynchronous code.
π We currently support the stdlib asyncio framework and the excellent trio framework. See the kivy examples for how to use it.
__self__ from widget to EventDispatcher and fix tests.id from Widget.slave to embeddedtext property in TextInputslave to embedded__self__ from widget to EventDispatcher and fix tests.id from Widget.kivy_build var (complements #6852)β‘οΈ The new stable branch is now derived from the 2.0.0 tag. The oldest stable branch has been renamed to stable-1.11.1. If you still want to compile on android with this branch, use "kivy==stable-1.11.1" as requirement. We do not support previous versions, so if things doesn't work anymore due to changes in python-for-android, please take time to update your application.
A big thanks to all of the Contributors, especially those github usernames mentioned here:
0x005c, Abenezer Adane, Akshay Arora, Alexander Taylor, Andre Miras, Andreas Ecker, Armin Sebastian, Asad Rauf, Cheaterman, Chris Hamberg, Christian Sirolli, CristiFati, D4SK, Daniel, ElliotGarbus, Evstifeev Roman, Felix Yan, Filip RadoviΔ, Franccisco, Francisco Bustos, Gabriel Pettier, Gabriel Vogel, Galland, Holger Badorreck, Howard Chang, Hudson Barkley, Ibrahim Cetin, Ivan Djuricic, Joao S O Bueno, Jordan Emerson, Joseph Kogut, Julian, Julian-O, Juraj Fiala, Kristian Sloth Lauszus, Lucas Samaruga, Ludwig Kraatz, Mathias LindstrΓΆm, Mathieu Virbel, Matthew Einhorn, Matthias Harrer, Michal SmrΕΎ, Mirko, Mirko Galimberti, Niklas Hasselmeyer, Nikolay Sedelnikov, Nils-Hero Lindemann, Olivier Boesch, Pol Canelles, Rafa, RafaΕ KropidΕowski, Richard Larkin, Sander Land, Sebastian Engel, Shashi Ranjan, Vibhakar Solanki, WutDuk?, Zachary Spector, Zen-CODE, akshauaurora, bajisci, chadys, comet, crigaut, eriksandberg, fluxrider, fruitbat, gottadiveintopython, ia7ck, luphord, matham, noEmbryo, pythonic64, quitegreensky, rafalou38, s0h3ck, salt-die, samize, sanderland, shreyash, snuq, td1803, vicendithas, wezu, yves-surrel, ζ°΄ζΈγη΄θ±ι½(NattΕsai MitΕ)
Hope we mentioned them all.
--
Kivy Team
https://kivy.org/#aboutus
We are pleased to announce Kivy 1.11.0.
Kivy is a full featured framework for creating novel and performant user
π interfaces, such as multitouch applications, released under the MIT license.
π The framework works on Windows, macOS, Linux, Android, iOS and Raspberry Pi.
kivy_deps.xxx namespace external to Kivy, rather than kivy.deps.xxx under Kivy. Whether you're upgrading Kivy, please pin the dependency versions when installing because Kivy binary dependencies are not generally backward compatible [#6312].kivy.garden.flower namespace is similarly being transitioned to the kivy_garden.flower namespace.π See below for more details.
Downloads and installation instructions are available on the Kivy website:
https://kivy.org
kivy.deps.xxx namespace stored under kivy/deps/xxx to the kivy_deps.xxx namespace stored under kivy_deps/xxx. Pip is sometimes not able to distinguish between these two formats, so follow the instructions below.
kivy.deps.xxx==x.y.z dependencies to the versions that was on pypi when your Kivy was released so that you don't get newer incompatible dependencies.kivy.deps.xxx dependencies because pip will not uninstall them when you're upgrading. Then re-install the kivy_deps.xxx dependencies as instructed on the Kivy website.π The new Linux wheels (#6248) can be installed with just pip install kivy, however, just like on macOS it comes without the Gstreamer dependencies so it has no video and minor audio support. For video/audio support, please install ffpyplayer and set KIVY_VIDEO=ffpyplayer in the environment, or install kivy using an alternative method that provides these dependencies.
[#6192]: Support for environmental variables that control the config in the form of KCFG_SECTION_KEY has been added. E.g. setting KCFG_KIVY_LOG_LEVEL=warning in the environment is the same as calling Config.set("kivy", "log_level", "warning") or setting the log_level in the kivy section of the config to warning. Note that underscores are not allowed in the section names.
Any key set this will way will take precedence on the loaded config.ini file. Support for this can be disabled by setting the enviornmental variable KIVY_NO_ENV_CONFIG=1 and the environment will not be read for configuration options.
[#6257]: A new KV-Python integration event that fires when all the KV rules of the widget has been applied, on_kv_post, has been added to the Widget class. This event fires for a widget when all the KV rules it participates in has been applied and ids has been initialized. Binding to this event will let you execute code for your widget without having to schedule the code for the next clock cycle.
Similarly, a new apply_class_lang_rules method was added to Widget that is called in order to apply the KV rules of that widget class. Inheriting and overwriting that method will give you the oppertunity to execute code before any KV rules are applied.
We are transitioning the Kivy garden flowers from the kivy.garden.flower namespace stored under kivy/garden/flower or ~/.kivy/garden to the normal python package format kivy_garden.flower namespace stored under kivy_garden/flower. With the new configuration, garden flowers will be pip installable, support cython flowers, and not require the custom garden tool.
We're hoping to transition all flowers to the new format, however, for now many flowers still require installation by the garden tool.
π For users, see https://kivy-garden.github.io/index.html#generalusageguidelines. For developers, see https://kivy-garden.github.io/index.html#developmentguidelines for how to start a new flower, and https://kivy-garden.github.io/index.html#guideformigratingflowersfromlegacystructure for how to migrate existing flowers to the new format.
π [#6313]: Pygame has been deprecated. We urge users who have been using pygame to try SDL2 and
our other providers. If there are any reasons why Pygame is used instead of SDL2 please let
us know so we can fix them.
π Deprecation warnings have also been added to everything that has been deprecated in the past.
App.user_data_dir for the configuration and added a missing dot to the config file name.Cache
Config
Inspector
Logger
Multistroke
Network
Properties
disabled aliaspropertyStorage
Tools
Utils
Camera
Clipboard
Image
Spelling
Text
Video
Window
background_color to Labeldata parameter for add_json_panel()_filename in svg.pxdnumpaddecimalOsc
Screen
π Showborder
Bubble
Carousel
Checkbox
Colorpicker
Filechooser
Modalview
Pagelayout
Recycleview
Scatter
Screen
Scrollview
Tabbedpanel
Textinput
Treeview
Widget
β‘οΈ The new stable branch is now derived from the 1.11.0 tag. The oldest stable branch has been renamed to stable-1.10.1. If you still want to compile on android with this branch, use "kivy==stable-1.10.1" as requirement. We do not support previous versions, so if things doesn't work anymore due to changes in python-for-android, please take time to update your application.
A big thanks to all of the Contributors, especially those github
π usernames mentioned here:
Akshay Arora, Albert Zeyer, Alexander Taylor, Andre Miras, Andres Vargas, Andrew McLeod, Armin Sebastian, Balazs OROSZI, Ben Saylor, Bernhard M. Wiedemann, Cheaterman, Christian RishΓΈj, Coen de Groot, CristiFati, Dominik Lang, Evstifeev Roman, Farley Lai, Filip RadoviΔ, Gabriel Pettier, Girts Folkmanis, GoBig87, Gunnar Strand, Guy Sheffer, Huyston, Jacob Gustafson, JakubBlaha, James Moore, Jess, Jim Morris, Jonas SchrΓΆder, Justin Marsh (:flaviusb), Kjetil Andre Liknes, Kristian Sloth Lauszus, LindstrΓΆm Mathias, Luke Biddle, Mathieu Virbel, Mike Tran, Mirko, Mirko Galimberti, Narcisse Assogba, Peter Badida, Peter Dave Hello, RafaΕ Kaczor, Robert Niederreiter, Sean O'Donnell, Shai Avraham, Silas Gyger, Skaft, Terje Skjaeveland, Tom Ritchford, Vyacheslav Korneev, Zachary Spector, Zen-CODE, clach04, dolang, e-matteson, el3phanten, erm3nda, gottadiveintopython, jfrancoc, maddyaby, matham, opacam, pythonic64, richard, saqib1707, vchslv13, vmaillol
Hope we mentioned them all.
--
Kivy Team
https://kivy.org/#aboutus