wakepy
wakepy copied to clipboard
Cross-platform keep-awake with python
It would be nice to add some automated way to collect closed issues to a release page. In the page, it would be handy if the Labels were used to...
Right now (0.8.0dev) there's no different indication if WAKEPY_FAKE_SUCCESS is used. It should be clear if the env var is set and WakepyFakeSuccess method is used.
Add a subclassing guide. In addition, update enter_mode, exit_mode, heartbeat, caniuse docst and add link to the Method subclassing guide.
Currently, when subclassing Method, if the `caniuse()` check fails, the subclass could either. - Return `False` (means unsuitable) or a string (means unsuitable and tell a reason for it) -...
Check if it's possible to improve the score at https://deps.dev/project/github/np-8%2Fwakepy (check if link correct after 0.8.0 release) ## The dev.deps score card as of June 10th, with wakepy 0.9.1: ...
Check if there's anything on the list that could/should be used in wakepy repo: https://github.com/cjolowicz/cookiecutter-hypermodern-python
Running ```python from wakepy import keep with keep.running(methods=["org.freedesktop.ScreenSaver"]) as m: print(m.used_method) ``` will cause an error: ``` Traceback (most recent call last): File "/home/niko/code/wakepy/src/wakepy/some_test.py", line 3, in with keep.running(methods=["org.freedesktop.ScreenSaver"]) as...
Background: The kill signals, from weakest to strongest are: - 2: SIGINT (Ctrl-C). *This creates KeyboardInterrupt Exception in python and is handled already* - 15: SIGTERM. The "clean exit" signal,...
in current 0.8.0dev version, the ActivationResult may be initiated without any arguments. ```python >>> res = ActivationResult() >>> res.success False >>> res.failure True >>> res.modename >>> res.real_success False >>> res.active_method...