Plyer: platform-independent Python wrapper for platform-dependent APIs.

Kuldeep (~kiok46)


26

Votes

Description:

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:

  • Windows
  • Android
  • Linux
  • iOS
  • OSX.

This talk will also include some introduction of Pyjnius and Pyobjus tools which gives access to Objective-C and Java code dynamically.

Plyer example.

from plyer import call
call.makecall(tel='9896464007')

Pyjnius example

from jnius import autoclass
java_string = autoclass('java.lang.String')

Pyobjus example

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:

  • Introduction: 2 min
  • Plyer's Introduction: 5 min
  • Fun Time (Kivy-Remote-Shell): 10-15 min
  • Introduction to Pyjnius and Pyobjus: 5 min
  • Dive into code: 5-10 min
  • Question session. 5 min

Prerequisites:

Python basics.

Optional:

  • 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

Content URLs:

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.

Speaker Info:

Kuldeep Singh

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.

Sanyam Khurana

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.

Speaker Links:

Kuldeep Singh

Open Source Contributions: kiok46

LinkedIn: Kuldeep Singh

Sanyam Khurana

links: Website, Blogs

Open Source Contribution: Github, Mozilla

Section: Standard library
Type: Talks
Target Audience: Beginner
Last Updated:

This is what actually I was looking for, thanks man good job :)

mukulsaini

great work !!

Shubham Surana (~shubham13)

@Kuldeep could you please upload the contents of your presentation? Along with the links to any prior experience in giving a talk.

Akshay Arora (~akshayaurora)

@AkshayArora Presentation content is updated, although It will still be evolving till the last week.

Kuldeep (~kiok46)

Can you add timing for your talk, something like::

introduction: 0-2 minutes Plyer: examples: 2-10 minutes Pyjnius examples: 10-15 minutes ...

This will help you structure your talk and stick to the time allotted to you.

Akshay Arora (~akshayaurora)

Login to add a new comment.