Skip to main content

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 X
Camera (taking picture) X X
GPS X X
Notifications X X X X X
Text to speech X X X X X X
Email (open mail client) X X X X X
Vibrator X
Sms (send messages) X X
Compass X X X
Unique ID (IMEI or SN) X X X X X X
Gyroscope X X X
Battery X X X X X X
================================== ============= ============= === ======= === =====

Project details


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.1.tar.gz (19.8 kB view details)

Uploaded Source

File details

Details for the file plyer-1.2.1.tar.gz.

File metadata

  • Download URL: plyer-1.2.1.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for plyer-1.2.1.tar.gz
Algorithm Hash digest
SHA256 cb0f865ab95f15875f80248fb72077d95db3dfef10f9ef605d533d2b3cc5f613
MD5 0b2728c7c3b41a236feb96be410bc543
BLAKE2b-256 7c414fa7863ddd44cf27a9de57e20fb8bcafc48113d0f70ffbf2fe1a1be64215

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page