Platform-independant wrapper for platform-dependant APIs
Project description
Plyer
====
Plyer is a platform-independent api to use features commonly found on various
platforms, notably mobile ones, in Python.
How
---
Plyer tries not to reinvent the wheel, and will call for external libraries to
implement the api in the easiest way, depending on the current platform.
- on python-for-android, pyjnius is used
- on kivy-ios, pyobjus is used
- on windows/mac/linux, commonly found libraries and programs will be used
Support
-------
================================== ============= ============= === ======= === =====
Platform Android < 4.0 Android > 4.0 iOS Windows OSX Linux
================================== ============= ============= === ======= === =====
Accelerometer X X X X
Camera (taking picture) X X
GPS X X
Notifications X X X X X
Text to speech X X X X X
Email (open mail client) X
Vibrator X
Sms (send messages) X
Compass X X X
Unique ID (IMEI or SN) X X X X X
Gyroscope X X X
================================== ============= ============= === ======= === =====
====
Plyer is a platform-independent api to use features commonly found on various
platforms, notably mobile ones, in Python.
How
---
Plyer tries not to reinvent the wheel, and will call for external libraries to
implement the api in the easiest way, depending on the current platform.
- on python-for-android, pyjnius is used
- on kivy-ios, pyobjus is used
- on windows/mac/linux, commonly found libraries and programs will be used
Support
-------
================================== ============= ============= === ======= === =====
Platform Android < 4.0 Android > 4.0 iOS Windows OSX Linux
================================== ============= ============= === ======= === =====
Accelerometer X X X X
Camera (taking picture) X X
GPS X X
Notifications X X X X X
Text to speech X X X X X
Email (open mail client) X
Vibrator X
Sms (send messages) X
Compass X X X
Unique ID (IMEI or SN) X X X X X
Gyroscope X X X
================================== ============= ============= === ======= === =====
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plyer-1.2.0.tar.gz
(17.2 kB
view details)
File details
Details for the file plyer-1.2.0.tar.gz
.
File metadata
- Download URL: plyer-1.2.0.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f718169c1a29c12ac48029e048f068963151d7cda2c5cf9decbf09a3dee5b5c |
|
MD5 | a5454d75905b8f7b1fbbbd5b913239cb |
|
BLAKE2b-256 | 7e1c9080182020b1eb957a54137a2799bda7df28e57ab501d4f5a555dc2e5a3b |