The code of the following library is ported here: http://code.google.com/p/pyprocessing/
The above library was in Python 2. So, this github repository provides equivalent code for Python 3.6.
Only the code in pyprocessing directory is tweaked and other things are left unchanged. Hope it helps. :)