Changelog

Version 0.1.0a1

September 20, 2020

  • Remove Work-In-Progress from documentation

  • Version 0.1.0a0.post1 was yanked for a clearer version number

Version 0.1.0a0

September 15, 2020

See also

The SimulRPi API reference.

Version 0.0.1a0

August 14, 2020

  • In SimulRPi.GPIO, the package pynput is not required anymore. If it is not found, all keyboard-related functionalities from the SimulRPi library will be skipped. Thus, no keyboard keys will be detected if pressed or released when pynput 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 of pynput.

  • Started writing unit tests

Version 0.0.0a0

August 9, 2020

  • 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 “LEDs” only worked

        NOTE: I was running the script run_examples with ssh but pynput doesn’t detect any pressed keyboard key even though I set my environment variable Display, added PYTHONPATH to etc/sudoers and ran the script with sudo. To be further investigated.

[NOTE: tested the code examples with run_examples] [EDIT: use Initial release]