SimulRPi v0.0.1a0
Pre-release
Pre-release
Changelog
v0.0.1a0
-
In
SimulRPi.GPIO
, the packagepynput
is not required anymore. If it is not found, all keyboard-related functionalities from theSimulRPi
library will be skipped. Thus, no keyboard keys will be detected if pressed or released whenpynput
is not installed.- This was necessary because Travis was raising an exception when I was running a unit test: Xlib.error.DisplayNameError. It was due to
pynput
not working well in a headless setup. Thus,pynput
is now removed from requirements_travis.txt. - Eventually, I will mock
pynput
when doing unit tests on parts of the library that make use ofpynput
.
- This was necessary because Travis was raising an exception when I was running a unit test: Xlib.error.DisplayNameError. It was due to
-
Started writing unit tests
v0.0.0a0
-
Initial release
-
Tested code examples on different platforms and here are the results
- On an RPi with
RPi.GPIO
: all examples involving LEDs and pressing buttons worked - On a computer with
SimulRPi.GPIO
:- macOS: all examples involving "LEDs" and keyboard keys worked
- RPi OS [Debian-based]: all examples involving only "LEDs" worked
NOTE: I was running the scriptrun_examples
withssh
butpynput
doesn't detect any pressed keyboard keys even though I set my environment variableDisplay
, addedPYTHONPATH
to etc/sudoers and ran the script with sudo. To be further investigated.
- On an RPi with
Hashes
SimulRPi-0.0.1a0-py3-none-any.whl
:- SHA256:
cd6cf084ccb18159e01160583e3d49df74018acdc501723ea30d9585ed69ae3d
- MD5:
904e9216edfd6812ed99602eef74b8d8
- BLAKE2-256:
e9884d4400c7e74934bd781c6405c9edf68498a6419227995cb48f8371b0438c
- SHA256:
SimulRPi-0.0.1a0.tar.gz
:- SHA256:
bfcee16b46d12c6dd0987822268e130181756f7a375dd35d0df7baab4d141959
- MD5:
dfc6410c48e8bdef5431581f20c88787
- BLAKE2-256:
5943d45eb675bde30f2e6ede2250ef819b07615c138335957bad3ff04a259cc6
- SHA256:
NOTE: files came from the release v.0.0.1a0 on PyPI