SkillAgentSearch skills...

Plyer

Plyer is a platform-independent Python wrapper for platform-dependent APIs

Install / Use

/learn @kivy/Plyer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Plyer

Plyer is a platform-independent Python API for accessing hardware features of various platforms (Android, iOS, macOS, Linux and Windows).

Plyer is managed by the Kivy Team. It is suitable for use with Kivy apps, but can be used independently.

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

PyPI - Version PyPI - Python Version

coverage Continuous Integration with Ubuntu Continuous Integration with OSX Continuous Integration with Windows Deploy to PyPI

How plyer works?

Plyer tries not to reinvent the wheel, and will call external libraries to implement the API in the easiest way, depending on the current platform.

Supported APIs

| Platform | Android | iOS | Windows | macOS | Linux | | ------------------------------ |:-------:|:---:|:-------:|:-----:|:-----:| | Accelerometer | ✔ | ✔ | | ✔ | ✔ | | Audio recording | ✔ | | ✔ | ✔ | | | Barometer | ✔ | ✔ | | | | | Battery | ✔ | ✔ | ✔ | ✔ | ✔ | | Bluetooth | ✔ | | | ✔ | | | Brightness | ✔ | ✔ | | | ✔ | | Call | ✔ | ✔ | | | | | Camera (taking picture) | ✔ | ✔ | | | | | Compass | ✔ | ✔ | | | | | CPU count | | | ✔ | ✔ | ✔ | | Devicename | ✔ | | ✔ | ✔ | ✔ | | Email (open mail client) | ✔ | ✔ | ✔ | ✔ | ✔ | | Flash | ✔ | ✔ | | | | | GPS | ✔ | ✔ | | | | | Gravity | ✔ | ✔ | | | | | Gyroscope | ✔ | ✔ | | | | | Humidity | ✔ | | | | | | IR Blaster | ✔ | | | | | | Keystore | ✔ | ✔ | ✔ | ✔ | ✔ | | Light | ✔ | | | | | | Maps | | ✔ | | ✔ | | | Native file chooser | ✔ | ✔ | ✔ | ✔ | ✔ | | Notifications | ✔ | | ✔ | ✔ | ✔ | | Orientation | ✔ | | | | ✔ | | Proximity | ✔ | | | | | | Screenshot | | | ✔ | ✔ | ✔ | | SMS (send messages) | ✔ | ✔ | | ✔ | | | Spatial Orientation | ✔ | ✔ | | | | | Speech to text | ✔ | | | | | | Storage Path | ✔ | ✔ | ✔ | ✔ | ✔ | | Temperature | ✔ | | | | | | Text to speech | ✔ | ✔ | ✔ | ✔ | ✔ | | Unique ID | ✔ | ✔ | ✔ | ✔ | ✔ | | Vibrator | ✔ | ✔ | | | | | Voip | ✔ | ✔ | | | | | Wifi | | | ✔ | ✔ | ✔ |

Documentation

Full documentation, including details about the API, is available online. If you are not using the latest version of Plyer, earlier versions of the documentations are linked from there.

Installation

To use on desktop: pip install plyer To use in python-for-android and Kivy for iOS, add plyer to your requirements if needed.

License

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

Support

Are you having trouble using Plyer or any of its related projects in the Kivy ecosystem? 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

Plyer is part of the Kivy ecosystem - a large group of products used by many thousands of developers for free, but it is built entirely by the contributions of volunteers. We welcome (and rely on) users who want to give back to the community by contributing to the project.

Contributions can come in many forms. See the latest Contribution Guidelines for how you can help us.

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].

<img src="https://contrib.nn.ci/api?repo=kivy/plyer&pages=5&no_bot=true&radius=22&cols=18">

Backers

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

<img src="https://opencollective.com/kivy/backers.svg?width=890&avatarHeight=44&button=false">

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.

<!--- See https://github.com/orgs/kivy/discussions/15 for explanation of this code. -->

<a href="https://opencollective.com/kivy/sponsor/0/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/0/avatar.svg"></a> <a href="https://opencollective.com/kivy/sponsor/1/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/1/avatar.svg"></a> <a href="https://opencollective.com/kivy/sponsor/2/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/2/avatar.svg"></a> <a href="https://opencollective.com/kivy/sponsor/3/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/3/avatar.svg"></a>

<a href="https://opencollective.com/kivy/sponsor/4/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/4/avatar.svg"></a> <a href="https://opencollective.com/kivy/sponsor/5/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/5/avatar.svg"></a> <a href="https://opencollective.com/kivy/sponsor/6/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/6/avatar.svg"></a> <a href="https://opencollective.com/kivy/sponsor/7/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/7/avatar.svg"></a>

<a href="https://opencollective.com/kivy/sponsor/8/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/8/avatar.svg"></a> <a href="https://opencollective.com/kivy/sponsor/9/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/9/avatar.svg"></a> <a href="https://opencollective.com/kivy/sponsor/10/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/10/avatar.svg"></a> <a href="https://opencollective.com/kivy/sponsor/11/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/11/avatar.svg"></a>

<a href="https://opencollective.com/kivy/sponsor/12/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/12/avatar.svg"></a> <a href="https://opencollective.com/kivy/sponsor/13/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/13/avatar.svg"></a> <a href="https://opencollective.com/kivy/sponsor/14/website" target="_blank"><img src="https://opencollective.com/kivy/sponsor/14/avatar.svg"></a> <a href="https://opencollective.com/kivy/sponsor/15/website" target="_blank"><

View on GitHub
GitHub Stars1.8k
CategoryDevelopment
Updated11d ago
Forks434

Languages

Python

Security Score

100/100

Audited on Mar 26, 2026

No findings