Awesome
KivyMD 2.0.0
<img align="right" height="256" src="https://github.com/kivymd/internal/raw/main/logo/kivymd_logo_blue.png"/>KivyMD is a collection of Material Design compliant widgets for use with Kivy, a framework for cross-platform, touch-enabled graphical applications.
The project's goal is to approximate Google's Material Design spec as close as possible without sacrificing ease of use. This library is a fork of the KivyMD project. We found the strength and brought this project to a new level.
Join the project! Just fork the project, branch out and submit a pull request when your patch is ready. If any changes are necessary, we'll guide you through the steps that need to be done via PR comments or access to your for may be requested to outright submit them.
If you wish to become a project developer (permission to create branches on the project without forking for easier collaboration), have at least one PR approved and ask for it. If you contribute regularly to the project the role may be offered to you without asking too.
Installation
pip install kivymd==2.0.0
Dependencies:
- Kivy >= 2.3.0 (Installation)
- Python 3.7+
- Pillow
- MaterialColor
- asynckivy
How to install
Command above will install latest release version of KivyMD from PyPI.
If you want to install development version from master branch, you should specify link to zip archive:
pip install https://github.com/kivymd/KivyMD/archive/master.zip
Tip: Replace master.zip
with <commit hash>.zip
(eg 51b8ef0.zip
) to
download KivyMD from specific commit.
Also you can install manually from sources. Just clone the project and run pip:
git clone https://github.com/kivymd/KivyMD.git --depth 1
cd KivyMD
pip install .
Speed Tip: If you don't need full commit history (about 1.14 GiB), you can
use a shallow clone (git clone https://github.com/kivymd/KivyMD.git --depth 1
)
to save time. If you need full commit history, then remove --depth 1
.
How to use with Buildozer
requirements = python3,
kivy,
https://github.com/kivymd/KivyMD/archive/master.zip,
materialyoucolor,
exceptiongroup,
asyncgui,
asynckivy
This will download latest release version of KivyMD from PyPI.
If you want to use development version from master branch, you should specify link to zip archive:
requirements = kivy, https://github.com/kivymd/KivyMD/archive/master.zip
Do not forget to run buildozer android clean
or remove .buildozer
directory
before building if version was updated (Buildozer doesn't update already
downloaded packages).
On Linux
On Windows 10
- Install Ubuntu WSL and follow Linux steps.
Build automatically via GitHub Actions
- Use ArtemSBulgakov/buildozer-action@v1 to build your packages automatically on push or pull request.
- See full workflow example.
How to use with kivy-ios
toolchain build python3 kivy pillow
toolchain pip install --no-deps kivymd
Documentation
- See documentation at https://kivymd.readthedocs.io
- Wiki with examples of using KivyMD widgets: https://github.com/kivymd/KivyMD/wiki
Demos
<p align="center"> <a href="https://www.youtube.com/watch?v=4er9b6TH_TA"> <img width="600" src="https://github.com/HeaTTheatR/KivyMD-data/raw/master/gallery/preview-kitchen-sink.png" title="Click to watch demo application of the KivyMD library widgets" > </a> </p>Kitchen sink app demonstrates every KivyMD widget. You can see how to use widget in code of app.
Comparison of Flutter & KivyMD
Sky View Concept | Healthy Food Delivery |
---|---|
<a href="https://www.youtube.com/watch?v=xvi2D1c4mfQ"><img src="https://github.com/HeaTTheatR/KivyMD-data/raw/master/gallery/preview-youtube-1.png" title="Click to watch it on YouTube"></a> | <a href="https://www.youtube.com/watch?v=P-ylDDm4TJM"><img src="https://github.com/HeaTTheatR/KivyMD-data/raw/master/gallery/preview-youtube-2.png" title="Click to watch it on YouTube"></a> |
Asics Shoes Concept | Facebook Desktop Redesign |
<a href="https://www.youtube.com/watch?v=ehuXPgun0k0"><img src="https://github.com/HeaTTheatR/KivyMD-data/raw/master/gallery/preview-youtue.png" title="Click to watch it on YouTube"></a> | <a href="https://www.youtube.com/watch?v=ZNBQib6Hk4s"><img src="https://github.com/HeaTTheatR/KivyMD-data/raw/master/gallery/preview-youtue-3.png" title="Click to watch it on YouTube"></a> |
Use MVC and Hot Reload
<p align="center"> <a href="https://www.youtube.com/watch?v=JLBrgoSSeTU&t"> <img img width="600" src="https://github.com/HeaTTheatR/KivyMD-data/raw/master/gallery/hot-reload-preview-youtube.png" title='Click to watch video on YouTube' > </a> </p>Support
If you need assistance or you have a question, you can ask for help on our mailing list:
- Discord server: https://discord.gg/wu3qBST (English #support, Russian #ru-support)
- StackOverflow tag: kivymd
- Email: KivyMD-library@yandex.com
Settings
Syntax highlighting and auto-completion for Kivy/KivyMD .kv files in PyCharm/Intellij IDEA
Promo Video
<p align="center"> <a href="https://www.youtube.com/watch?v=crt8wA4Q5eU"> <img img width="600" src="https://github.com/HeaTTheatR/KivyMD-data/raw/master/gallery/prevideo.png" title='Click to watch video on YouTube' > </a> </p>Contributing
We always welcome your Bug reports, Feature requests and Pull requests! Check out CONTRIBUTING.md and feel free to improve KivyMD.
Setup environment
We recommend you to use PyCharm to work with KivyMD code. Install Kivy and development dependencies to your virtual environment:
pip install -e .[dev,docs]
pre-commit install
Format all files and run tests:
pre-commit run --all-files
pytest kivymd/tests --timeout=600 --cov=kivymd --cov-report=term
pre-commit will format modified files with Black and sort imports with isort.
Sister projects
<img align="left" width="128" src="https://github.com/kivymd/internal/raw/main/logo/kivymd_extensions.png"/>KivyMD Extensions
Additional extensions for the KivyMD library.
https://github.com/kivymd-extensions
<img align="left" width="128" src="https://github.com/kivymd/internal/raw/main/logo/kivymdbuilder.png"/>KivyMDBuilder
Build apps visually.
https://github.com/kivymd/KivyMDBuilder
License
- KivyMD is released under the terms of the MIT License, same as Kivy.
- Roboto font is licensed and distributed under the terms of the Apache License, Version 2.0.
- Iconic font by the Material Design Icons community covered by SIL Open Font License 1.1
Contributors
KivyMD Team
They spent a lot of time to improve KivyMD.
- Yuri Ivanov @HeaTTheatR - Core developer
- Artem Bulgakov @ArtemSBulgakov - Technical administrator, contributor
- Andrés Rodríguez @mixedCase - First author of KivyMD project, contributor
Code Contributors
This project exists thanks to all the people who contribute. How to contribute
<a href="https://github.com/kivymd/KivyMD/graphs/contributors"> <img src="https://opencollective.com/kivymd/contributors.svg?width=890&button=false"/> </a>Financial Contributors
Become a financial contributor on OpenCollective and help us sustain our community.
Gold Sponsors
Become a Gold Sponsor and get your logo on our Readme with a link to your website.
<!-- FIXME: sponsors are not displayed --><a href="https://opencollective.com/peter-surda?requireActive=false" target="_blank"><img src="https://github.com/HeaTTheatR/KivyMD-data/raw/master/gallery/gold-sponsor-1.png?requireActive=false"></a>
<a href="https://route4me.com" target="_blank" style="display: inline-block; text-align: center;"> <div style="text-align: center;"> <img width="280" src="https://github.com/HeaTTheatR/KivyMD-data/raw/master/gallery/route4me.png" alt="Best Route Planner"><br> Best Route Planner - Route Optimization Software </div> </a>Backers
Become a Backer if you want to help develop this project.
<a href="https://opencollective.com/kivymd#backers" target="_blank"> <img src="https://opencollective.com/kivymd/backers.svg?width=890"> </a>