p5py is a Python package based on the core ideas of Processing. It runs directly on Python 3 (rather than in the Processing PDE) and is installable in Python through pip install p5
.
For related discussions of Processing modes and Python, see Processing.py, aka Python mode for Processing.
https://discourse.processing.org/c/processing-py/9