diff options
Diffstat (limited to 'external/plyer/__init__.py')
-rw-r--r-- | external/plyer/__init__.py | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/external/plyer/__init__.py b/external/plyer/__init__.py new file mode 100644 index 0000000..f8e35e5 --- /dev/null +++ b/external/plyer/__init__.py @@ -0,0 +1,63 @@ +''' +Plyer +===== + +''' + +__all__ = ('accelerometer', 'audio', 'battery', 'camera', 'compass', 'email', + 'filechooser', 'gps', 'gyroscope', 'irblaster', 'orientation', + 'notification', 'sms', 'tts', 'uniqueid', 'vibrator') + +__version__ = '1.2.4' + + +from plyer import facades +from plyer.utils import Proxy + +#: Accelerometer proxy to :class:`plyer.facades.Accelerometer` +accelerometer = Proxy('accelerometer', facades.Accelerometer) + +#: Audio proxy to :class:`plyer.facades.Audio` +audio = Proxy('audio', facades.Audio) + +#: Battery proxy to :class:`plyer.facades.Battery` +battery = Proxy('battery', facades.Battery) + +#: Compass proxy to :class:`plyer.facades.Compass` +compass = Proxy('compass', facades.Compass) + +#: Camera proxy to :class:`plyer.facades.Camera` +camera = Proxy('camera', facades.Camera) + +#: Email proxy to :class:`plyer.facades.Email` +email = Proxy('email', facades.Email) + +#: FileChooser proxy to :class:`plyer.facades.FileChooser` +filechooser = Proxy('filechooser', facades.FileChooser) + +#: GPS proxy to :class:`plyer.facades.GPS` +gps = Proxy('gps', facades.GPS) + +#: Gyroscope proxy to :class:`plyer.facades.Gyroscope` +gyroscope = Proxy('gyroscope', facades.Gyroscope) + +#: IrBlaster proxy to :class:`plyer.facades.IrBlaster` +irblaster = Proxy('irblaster', facades.IrBlaster) + +#: Orientation proxy to :class:`plyer.facades.Orientation` +orientation = Proxy('orientation', facades.Orientation) + +#: Notification proxy to :class:`plyer.facades.Notification` +notification = Proxy('notification', facades.Notification) + +#: Sms proxy to :class:`plyer.facades.Sms` +sms = Proxy('sms', facades.Sms) + +#: TTS proxy to :class:`plyer.facades.TTS` +tts = Proxy('tts', facades.TTS) + +#: UniqueID proxy to :class:`plyer.facades.UniqueID` +uniqueid = Proxy('uniqueid', facades.UniqueID) + +#: Vibrator proxy to :class:`plyer.facades.Vibrator` +vibrator = Proxy('vibrator', facades.Vibrator) |