py5 is a new version of Processing for Python 3.9+. The goal of py5 is to create a version of Processing that is integrated into the Python ecosystem. Built into the library are thoughtful choices about how to best get py5 to work with other popular Python libraries and tools such as Jupyter, numpy, shapely, trimesh, matplotlib, and Pillow.
py5 is an excellent choice for educators looking to teach Python in the context of creative coding and is currently used in classrooms all around the world. The documentation website includes introductory tutorials as well as extensive reference documentation, complete with example code.
py5 was created by the artist and software developer Jim Schmitz (@hx2A) starting in March of 2020. The library is the foundation of his art practice.
The py5 library makes the Java Processing jars available to the CPython interpreter using JPype. It can do just about everything Processing can do, except with Python instead of Java code. New py5 features and bug fixes are being added to py5 every day. The library is always in active development and is well maintained.
To view the actual installed py5 library code, look at the py5 repository. The py5 library code is the output of the meta-programming project py5generator. All py5 development is done through py5generator.
This project is not an official part of the Processing Foundation and is not receiving any funding from them. Any funds you contribute will be used first for website expenses and next to support @hx2A's time to further develop py5 as a solid creative coding framework used by educators, artists, and hobbyists all around the world.
Thank you much for the support from py5's generous sponsors!
- @adanaher (Alec Danaher)
- @ericof (Érico Andrei)
- @nickmcintyre (Nick McIntyre)
Have a comment or question about py5? We'd love to hear from you! The best ways to reach out are:
- github discussions and issues
- Mastodon fosstodon.org/@py5coding
- twitter @py5coding
- processing foundation discourse