plyer
plyer copied to clipboard
Plyer is a platform-independent Python wrapper for platform-dependent APIs
`mock` has been integrated in the standard library as `unittest.mock`. `mock` is now deprecated
This changes the Win32FileChooser to apply `os.path.normpath` to the path parameter before passing it on to pywin32. This allows the filechooser's path parameter to work properly without the end-user having...
In d87c446, a workaround to long filenames crashing the Windows filechooser was added by appending `\x00` to the `File` arg. This works because [pywin32 takes the max of `MaxFile` and...
On Android I get in some cases a exception by calling `_get_orientation" in AndroidSpOrientation ``` 12-13 13:42:29.786 24276 24318 I python : File "kivy/_clock.pyx", line 649, in kivy._clock.CyClockBase._process_events 12-13 13:42:29.787...
fixes https://github.com/kivy/plyer/issues/791 provide the `values` one scope above fixes this issue without affecting already existing applications
This PR makes the `Android file chooser` use a reasonable and valid number in the intent code. As [this](https://stackoverflow.com/a/39789838/12269724) Stack Overflow post explains, the maximum value for the requestCode is...
The most recent plyer version on PyPI ([2.1.0](https://pypi.org/project/plyer/2.1.0/)) is over a year old. Could you please cut a new release for PyPI? This was done in #717 about a year...
[setup.py](https://github.com/kivy/plyer/blob/master/setup.py) attempts to import `setuptools`, and if it fails imports from `distutils`. `distutils` is deprecated and no longer present in Python 3.12. Assume setuptools is available, and remove the `distutils`...
OS: Win10 The notifications that are being created stay in the tray and in the notification bar unless I open up the tray and wait a few seconds. Changing the...