Crleblanc wrote a Python module for transmitting and receiving infrared signals with the IR Toy. It’s tested under Linux, Raspberry Pi, and is expected to work under Windows as well. It’s open source and hosted on the the Python Package Index (PyPI) linked above.
I played around with the IR Toy python example and took it a bit further. I made it into a class with unit tests, and put it up on PyPi. Under Linux (and on the Raspberry Pi!) you can install it with the command “pip install pyirtoy”. Windows should be similar but I haven’t tested it since I won’t be using it on that platform. All it needs is the pyserial module and an IR Toy with firmware rev. 22 or greater.
Via the forum.