示例#1
0
'''
Plyer
=====

'''

__all__ = ('accelerometer', 'camera', 'gps', 'notification', 'tts', 'email',
           'vibrator', 'sms', 'compass', 'gyroscope', 'uniqueid', 'battery')

__version__ = '1.2.1'

from plyer import facades
from plyer.utils import Proxy

#: Accelerometer proxy to :class:`plyer.facades.Accelerometer`
accelerometer = Proxy('accelerometer', facades.Accelerometer)

#: Camera proxy to :class:`plyer.facades.Camera`
camera = Proxy('camera', facades.Camera)

#: GPS proxy to :class:`plyer.facades.GPS`
gps = Proxy('gps', facades.GPS)

#: Notification proxy to :class:`plyer.facades.Notification`
notification = Proxy('notification', facades.Notification)

#: TTS proxy to :class:`plyer.facades.TTS`
tts = Proxy('tts', facades.TTS)

#: Email proxy to :class:`plyer.facades.Email`
email = Proxy('email', facades.Email)
示例#2
0
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)
__all__ = ('accelerometer', 'audio', 'barometer', 'battery', 'bluetooth',
           'brightness', 'call', 'camera', 'compass', 'cpu', 'email',
           'filechooser', 'flash', 'gps', 'gravity', 'gyroscope', 'humidity',
           'irblaster', 'keystore', 'light', 'notification', 'orientation',
           'processors', 'proximity', 'screenshot', 'sms',
           'spatialorientation', 'storagepath', 'stt', 'temperature', 'tts',
           'uniqueid', 'vibrator', 'wifi')

__version__ = '2.0.0'

from plyer import facades
from plyer.utils import Proxy

#: Accelerometer proxy to :class:`plyer.facades.Accelerometer`
accelerometer = Proxy('accelerometer', facades.Accelerometer)

#: Keyring proxy to :class::`plyer.facades.Keyring`
keystore = Proxy('keystore', facades.Keystore)

#: Audio proxy to :class:`plyer.facades.Audio`
audio = Proxy('audio', facades.Audio)

#: Barometer proxy to :class:`plyer.facades.Barometer`
barometer = Proxy('barometer', facades.Barometer)

#: Battery proxy to :class:`plyer.facades.Battery`
battery = Proxy('battery', facades.Battery)

#: Call proxy to  :class `plyer.facades.Call`
call = Proxy('call', facades.Call)
示例#4
0
'''
Plyer
=====

'''

__all__ = ('accelerometer', 'camera', 'notification', 'tts')

from plyer import facades
from plyer.utils import Proxy

#: Accelerometer proxy to :class:`plyer.facades.Accelerometer`
accelerometer = Proxy('accelerometer', facades.Accelerometer)

#: Camera proxy to :class:`plyer.facades.Camera`
camera = Proxy('camera', facades.Camera)

#: Notification proxy to :class:`plyer.facades.Notification`
notification = Proxy('notification', facades.Notification)

#: TTS proxy to :class:`plyer.facades.TTS`
tts = Proxy('tts', facades.TTS)
示例#5
0
'''

__all__ = ('accelerometer', 'audio', 'barometer', 'battery', 'call', 'camera',
           'compass', 'email', 'filechooser', 'flash', 'gps', 'gravity',
           'gyroscope', 'irblaster', 'light', 'orientation', 'notification',
           'proximity', 'sms', 'tts', 'uniqueid', 'vibrator', 'wifi',
           'temperature')

__version__ = '1.3.1dev'


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)

#: Barometer proxy to :class:`plyer.facades.Barometer`
barometer = Proxy('barometer', facades.Barometer)

#: Battery proxy to :class:`plyer.facades.Battery`
battery = Proxy('battery', facades.Battery)

#: Call proxy to  :class `plyer.facades.Call`
call = Proxy('call', facades.Call)

#: Compass proxy to :class:`plyer.facades.Compass`
compass = Proxy('compass', facades.Compass)
示例#6
0
'''

__all__ = ('accelerometer', 'alarm', 'audio', 'battery', 'call', 'camera', 'compass',
           'email', 'filechooser', 'gps', 'gyroscope', 'irblaster',
           'orientation', 'netcheck', 'notification', 'sms', 'social', 'tts', 'uniqueid', 'vibrator',
           'wifi')

__version__ = '1.2.5dev'


from plyer import facades
from plyer.utils import Proxy

#: Accelerometer proxy to :class:`plyer.facades.Accelerometer`
accelerometer = Proxy('accelerometer', facades.Accelerometer)

#: Alarm proxy to :class:`plyer.facades.Alarm`
alarm = Proxy('alarm', facades.Alarm)

#: Audio proxy to :class:`plyer.facades.Audio`
audio = Proxy('audio', facades.Audio)

#: Battery proxy to :class:`plyer.facades.Battery`
battery = Proxy('battery', facades.Battery)

#: Call proxy to  :class `plyer.facades.Call`
call = Proxy('call', facades.Call)

#: Compass proxy to :class:`plyer.facades.Compass`
compass = Proxy('compass', facades.Compass)
示例#7
0
'''
Plyer
=====

'''

__all__ = ('orientation', 'proximity')

__version__ = '1.2.5dev'

from plyer import facades
from plyer.utils import Proxy

#: Orientation proxy to :class:`plyer.facades.Orientation`
orientation = Proxy('orientation', facades.Orientation)
#: Proximity proxy to :class:`plyer.facades.Proximity`
proximity = Proxy('proximity', facades.Proximity)
示例#8
0
'''
Plyer
=====

'''

__all__ = ('accelerometer', 'camera', 'gps', 'notification', 'tts', 'email')
__version__ = '1.1.2'

from plyer import facades
from plyer.utils import Proxy

#: Accelerometer proxy to :class:`plyer.facades.Accelerometer`
accelerometer = Proxy('accelerometer', facades.Accelerometer)

#: Camera proxy to :class:`plyer.facades.Camera`
camera = Proxy('camera', facades.Camera)

#: GPS proxy to :class:`plyer.facades.GPS`
gps = Proxy('gps', facades.GPS)

#: Notification proxy to :class:`plyer.facades.Notification`
notification = Proxy('notification', facades.Notification)

#: TTS proxy to :class:`plyer.facades.TTS`
tts = Proxy('tts', facades.TTS)

#: Email proxy to :class:`plyer.facades.Email`
email = Proxy('email', facades.Email)