# kivy/plyer

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

Repository: https://github.com/kivy/plyer
Canonical: https://ross.abutalabs.com/products/plyer
Homepage: https://plyer.readthedocs.io
Language: Python
License: MIT
License Family: permissive
Topics: python, api-wrapper, windows, linux, macos, ios, android
Last push: 2026-06-02T21:07:05+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 8, longevity 100
- inputs: {"age_days": 4971, "days_push": 92, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1796, forks 433 (observed 2026-08-28T04:05:37.597522+00:00)

## What it is
Plyer is a platform-independent Python wrapper that provides a unified API for accessing platform-dependent hardware and OS features across Android, iOS, macOS, Linux, and Windows. It is maintained by the Kivy team and works with Kivy apps or standalone Python projects.

## Use cases
- access device sensors like accelerometer and compass from python
- send desktop notifications cross-platform in python
- get battery status on android ios windows and linux
- take a picture with the device camera from a python app
- read hardware features uniformly across mobile and desktop platforms
- use platform apis in a kivy app without platform-specific code

## When to choose
- you need one python API for hardware features across multiple platforms
- you are building a Kivy mobile app and need sensors, camera, or notifications
- you want to avoid writing platform-specific code for common device APIs

## When to avoid
- you need an API plyer does not support on your target platform
- you need fine-grained control over native platform APIs
- your project is not python-based

## Facets
- artifact type: library
- maturity: active
- function: sdk, developer-tools
- domain: cross-platform, mobile-development, developer-tools
- platform: python, windows, cross-platform
- tags: hardware-apis, platform-abstraction, kivy, sensors, notifications, api-wrapper, android, ios, linux, macos, mobile

## Member repositories
- kivy/plyer (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:37.597522+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:22:49.330417+00:00, confidence not recorded.
  - readme: https://github.com/kivy/plyer (fetched 2026-08-28T04:05:37.597522+00:00, sha 30ea8fe74500)
- Data as of 2026-08-30T08:39:29.467469+00:00.
