pycessingame
Deutsch
Processing-Style kreatives coden mit Python & Pygame für Ausbildung und Lehre.
PYCESSINGAME bringt den Geist von Processing in die Python-Welt – leichtgewichtig, direkt und ohne Umwege. Es richtet sich an Lehrende, Entwicklerinnen, Künstlerinnen und Designerinnen, die visuelles, interaktives Creative Coding lieben und dabei die Einfachheit von Processing schätzen.
Mit einer bewusst vertrauten API kannst du sofort loslegen: setup(), draw(), ellipse(), fill(), stroke(), color(), random() – alles fühlt sich an wie Processing, nur eben pures Python.
Warum noch eine Implementierung?
- einfach Python, kein Java, kein transpiling
- gleiche Namen, gleiche Konzepte, gleiches Denken
- Schreibstil nach Geschmack: camelCase oder snake_case
- nur von einem anderen python paket (pygame) abhängig
- gleich los zeichnen und nicht um Fenster, Rendering und Events kümmmern
- einfacher Start und die ganze Python-Welt zur Verfügung
- völlig freie Nutzung
Einfache Installation:
pip install pycessingame
Entwickelt mit Augenmerk auf Anfängerfreundlichkeit für Ausbildung, Lehrer und kreatives coden.
Intensiv im Einsatz mit der Thonny Python IDE.
English
Processing-style creative coding not only for education using Python and Pygame
PYCESSINGAME brings the spirit of Processing to the Python world — lightweight, direct, and without detours. It is designed for educators, developers, artists, and designers who love visual, interactive creative coding and appreciate the simplicity of Processing.
With a deliberately familiar API, you can start right away: setup(), draw(), ellipse(), fill(), stroke(), color(), random() — everything feels like Processing, just pure Python.
Why yet another implementation?
- pure Python — no Java, no transpiling
- same names, same concepts, same way of thinking
- coding style of your choice: camelCase or snake_case
- depends on only one external Python package (pygame)
- start drawing immediately without worrying about windows, rendering, or events
- easy to get started, with the entire Python ecosystem at your disposal
- completely free to use
Easy installation:
pip install pycessingame
Designed for education and beginner-friendly creative coding.
Intensively used with the Thonny Python IDE.
Beispiel / Example
import pycessingame
def setup():
size(640, 480)
frameRate(60)
def draw():
background(30, 120, 200)
fill(255, 200, 0)
noStroke()
ellipse(width/2, height/2, 150, 150)
run()
Benutzung / Usage
Deutsch
PYCESSINGAME wird genau wie Processing verwendet. Du schreibst ganz normalen Processing-Code – mit nur zwei kleinen Anpassungen:
Ganz oben die Zeile
import pycessingame
Ganz am Ende des Programms ein Aufruf von
run()
Alles dazwischen ist klassischer Processing-Stil: setup(), draw(), Zeichenfunktionen, Events, Farben, Zufall, Maus und Tastatur.
Es ist kein spezielles Framework-Wissen nötig – wer Processing kennt, kann sofort loslegen.
Migration von bestehendem Processing-Code
Bestehender Processing-Code (Java / PDE) lässt sich in vielen Fällen nahezu 1:1 nach Python übertragen. Gängige Large Language Models (LLMs) können dabei sehr gut helfen.
Ein einfacher Prompt wie zum Beispiel:
"Convert the following Processing code into Python assuming the Processing API is completely available."
reicht in der Praxis oft aus, um bestehenden Processing-Code direkt in funktionsfähigen Python-Code für PYCESSINGAME zu überführen.
English
PYCESSINGAME is used exactly like Processing. You write ordinary Processing-style code — with only two small adjustments:
Add
import pycessingame
at the very top of your file.
Call
run()
at the very end of your program.
Everything in between follows the familiar Processing workflow: setup(), draw(), drawing commands, events, colors, randomness, mouse and keyboard handling.
No special framework knowledge is required — if you know Processing, you can start immediately.
Migrating existing Processing sketches
Existing Processing sketches (Java / PDE) can often be ported almost 1:1 to Python. Modern Large Language Models (LLMs) are especially effective at this task. In practice, a simple prompt such as:
"Convert the following Processing code into Python assuming the Processing API is completely available."
is usually sufficient to transform existing Processing code into working PYCESSINGAME code.
Referenzen / references
https://py5coding.org/index.html
Notizen / Gedächtnisstütze
git tag & push => build & pypi upload:
git tag v0.0.0
git push origin v0.0.0
Realisiert mit einen git pre-push hook (.git/hooks/pre-push)und pypi Zugangsdaten in ~/.pypirc.
Metadata
Release files for pycessingame 0.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pycessingame-0.6.2.tar.gz | 2.9 MB | Without provenance | Details for pycessingame-0.6.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycessingame-0.6.2-py3-none-any.whl | Python 3 | none | any | Details for pycessingame-0.6.2-py3-none-any.whl |
Total release size: 2.9 MB
Release files / pycessingame-0.6.2.tar.gz
| Download URL | pycessingame-0.6.2.tar.gz |
|---|---|
| Size | 2.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92e6b69df33e5ae8298795d440e60117cf6162a98d3cad9d3206aea8e511da0f
|
|
BLAKE2b-256 checksum How to use checksums |
e021ede32566d498c3aee43ef32c42771a195b5056b2b13768cc3776cb43f96d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / pycessingame-0.6.2-py3-none-any.whl
| Download URL | pycessingame-0.6.2-py3-none-any.whl |
|---|---|
| Size | 39.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d163f27b8a95e80cbfa5bd076ac81d17844088a36199102a4660a172e21e8f8c
|
|
BLAKE2b-256 checksum How to use checksums |
6302ec28051dc7e6a3f2b14eb52c39f806f6d88b4a89d064e2d1a96c1b630621
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for pycessingame 0.6.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.