Skip to content

SimulRPi v0.0.1a0

Pre-release
Pre-release
Compare
Choose a tag to compare
@raul23 raul23 released this 14 Aug 07:52
· 331 commits to master since this release

Changelog

v0.0.1a0

  • 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

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 script run_examples with ssh but pynput doesn't detect any pressed keyboard keys even though I set my environment variable Display, added PYTHONPATH to etc/sudoers and ran the script with sudo. To be further investigated.

Hashes

  • SimulRPi-0.0.1a0-py3-none-any.whl:
    • SHA256: cd6cf084ccb18159e01160583e3d49df74018acdc501723ea30d9585ed69ae3d
    • MD5: 904e9216edfd6812ed99602eef74b8d8
    • BLAKE2-256: e9884d4400c7e74934bd781c6405c9edf68498a6419227995cb48f8371b0438c
  • SimulRPi-0.0.1a0.tar.gz:
    • SHA256: bfcee16b46d12c6dd0987822268e130181756f7a375dd35d0df7baab4d141959
    • MD5: dfc6410c48e8bdef5431581f20c88787
    • BLAKE2-256: 5943d45eb675bde30f2e6ede2250ef819b07615c138335957bad3ff04a259cc6

NOTE: files came from the release v.0.0.1a0 on PyPI