kivy README

The project's README from github.com/kivy/kivy. As one markdown file: README.md.

Kivy

Kivy is an open-source Python framework for developing GUI apps that work cross-platform, including desktop, mobile and embedded platforms.

The aim is to allow for quick and easy interaction design and rapid prototyping whilst making your code reusable and deployable: Innovative user interfaces made easy.

Kivy is written in Python and Cython and is built on OpenGL ES 2.0. It supports various input devices and has an extensive (and extensible) widget library. With the same codebase, you can target Windows, macOS, Linux (including Raspberry Pi OS), Android, and iOS. All Kivy widgets are built with multitouch support.

Kivy is MIT licensed, actively developed by a great community and is supported by many projects managed by the Kivy Organization.

Backers on Open Collective Sponsors on Open Collective Contributor Covenant GitHub contributors

PyPI - Version PyPI - Python Version

Windows Unittests Status Ubuntu Unittests Status OSX Unittests Status Coverage Status

Windows wheels Status Manylinux wheels Status Raspberry Pi wheels Status OSX wheels Status

Installation, Documentation and Examples

Extensive installation instructions as well as tutorials and general documentation, including an API reference, can be found at https://www.kivy.org/docs. A PDF version is also available.

Kivy ships with many examples which can be found in the examples folder.

Support

Are you having trouble using the Kivy framework, or any of its related projects? Is there an error you don’t understand? Are you trying to figure out how to use it? We have volunteers who can help!

The best channels to contact us for support are listed in the latest Contact Us document.

Contributing

We love pull requests and discussing novel ideas. Check out our latest contribution guide and feel free to improve Kivy.

It gives details of the best places online to discuss the development with the core developers and other enthusiasts.

Sibling projects

The Kivy team manages a number of additional projects that support the Kivy eco-system.

Licenses

Code of Conduct

In the interest of fostering an open and welcoming community, we as contributors and maintainers need to ensure participation in our project and our sister projects is a harassment-free and positive experience for everyone. It is vital that all interaction is conducted in a manner conveying respect, open-mindedness and gratitude.

Please consult the latest Code of Conduct.

Contributors

This project exists thanks to all the people who contribute. [Become a contributor].

Backers

Thank you to all of our backers! 🙏 [Become a backer]

Sponsors

Special thanks to all of our sponsors, past and present. Support this project by [becoming a sponsor].

Here are our top current sponsors. Please click through to see their websites, and support them as they support us.

kivy (kivy/kivy)

Searching Database…

19K ·GitHub
这是做什么用的?Kivy 是一个用 Python 编写的开源 UI 框架,用于快速开发界面新颖、常常支持多点触控的应用程序。同一套代码可以运行在 Windows、Linux、macOS、Android 和 iOS 上。
那它是用来从头搭建整个应用的框架,还是嵌到别的程序里用的库?它是一个用来构建完整应用的框架:布局、控件和应用逻辑都直接用 Python 加 Kivy 来写,而不是嵌入到现有的应用里。
我该怎么把它跑起来?用 'pip install kivy' 从 PyPI 安装即可;kivy.org 上有各个受支持平台的安装指南和示例。
开发和测试多点触控功能时,我需要触摸屏吗?不需要。Kivy 原生支持大多数输入方式和设备——WM_Touch、WM_Pen、Mac 触控板和 Magic Mouse、Linux 内核 HID、TUIO——并且自带一个鼠标多点触控模拟器,所以用普通鼠标就能体验。
一套代码真的能覆盖手机吗,还是我得单独写移动端代码?一套 Python 代码就能面向全部五个平台:Windows、Linux、macOS、Android 和 iOS。该项目甚至在 CI 流水线里为 iOS 和 macOS 编译 Kivy 的 wheel 包。
我能在商业应用里用 Kivy 吗,还是有什么限制?任何用途都可以免费使用:GitHub 上 Kivy 采用 MIT 许可证,无论个人还是商业应用,都没有费用、限制或付费版本。
比起我所用平台的原生开发工具,我为什么选 Kivy?因为同一套 Python 代码可以运行在 Windows、Linux、macOS、Android 和 iOS 上——你只需维护一个应用和一套界面,而不用为每个平台单独建一个原生项目。
它适合做哪类应用?适合界面新颖、定制度高的应用——最典型的例子就是多点触控应用——这类应用不以标准原生菜单和按钮为目标。
What are similar projects?flutter, Avalonia, edex-ui, bgfx, react-native, mui, mygo, framework7
Creator
kivy
Size
76.2 MB
Stars
19K
Age
15y
Commits · 90 Days