Plyer: platform-independent Python wrapper for platform-dependent APIs.
Kuldeep (~kiok46) |
Plyer (Platform independent compatibility layer) is a library for accessing features of your hardware / platforms. Plyer provides access to features like Bluetooth, Camera, NFC, Notifications, Calling and others that are commonly found on multiple platforms. It's aim is to make it so you don't have to think about wrapping all these features on your own because it's already done, you just need to import them.
Supported platforms by plyer:
This talk will also include some introduction of Pyjnius and Pyobjus tools which gives access to Objective-C and Java code dynamically.
from plyer import call call.makecall(tel='9896464007')
from jnius import autoclass java_string = autoclass('java.lang.String')
from pyobjus import autoclass NSString = autoclass('NSString')
We will also be using Kivy Remote Shell to test plyer on android device.
The schedule for the talk is as follows:
- Plyer's Introduction:
- Fun Time (Kivy-Remote-Shell):
- Introduction to Pyjnius and Pyobjus:
- Dive into code:
- Question session.
- Bring your laptop with OSX or Linux as Host (if possible).
- Android Device.
- Install the remote-shell-1.0-debug.apk from bin folder install apk
Project url: Plyer on Github
Pyjnius url: Pyjnius on Github
Pyobjus url: Pyobjus on Github
Kivy-Remote-Shell: Remote-Shell on Github
Presentation url: Google Docs
Presentation will keep on evolving till the last week of presentation deadline.
He is a Google Summer of Code'16 Student under Python Software Foundation and Kivy being the sub-organisation. Project Plyer is one of the Kivy's sister projects for which he's selected to work on as GSoC project. He is a python Lover and have been coding in python for past few years. He enjoys to try different programming languages and learn new technologies.
He is a software developer who enjoys coding for the web. He's a FOSS enthusiast and better known by his handle (CuriousLearner) in the community. He contributes to various upstream projects and organisations such as PyDelhi, Mozpacers, Mozilla et all. He's a vouched Mozillian and has been features in Mozilla Credits.