Skip to main content

pyp5js: drawing with Python 3

PyPI version Continuous Integration Gitpod ready-to-code

Processing ideas and Python 3 together with P5.js in the browser.

Python 3 drawing in the web! Try it here!

Here's an example of a valid Python code using P5.js API:

def setup():
    createCanvas(200, 200)

def draw():
    background(200)
    diameter = sin(frameCount / 60) * 50 + 50
    fill('blue')
    ellipse(100, 100, diameter, diameter)

Project setup

$ git clone git@github.com:YOUR_GITHUB_PROFILE/pyp5js.git
$ cd pyp5js
$ pip install -r dev-requirements.txt
$ python setup.py develop
$ make test

More references

Documentation

Examples

Installation

Quickstart

Internals details

Known issues and differences to the Processing.Py and P5.js ways of doing things

How can I contribute?

Metadata

Release files for pyp5js 0.7.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyp5js 0.7.3
File Size Uploaded
pyp5js-0.7.3.tar.gz 9.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyp5js 0.7.3
File Interpreter ABI Platform
pyp5js-0.7.3-py3-none-any.whl Python 3 none any Details

Total release size: 18.4 MB

Release files / pyp5js-0.7.3.tar.gz

Download URL pyp5js-0.7.3.tar.gz
Size 9.1 MB
Tags Source
SHA-256 checksum
How to use checksums
a3cf23b44f0631a0cd368e822189663eea004f139b8c2428f3a276aa183b3333
BLAKE2b-256 checksum
How to use checksums
abfd6479c08b56aa4b6fb1e774435a3a8802102b03b7b898b1f5afdc89baeca6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / pyp5js-0.7.3-py3-none-any.whl

Download URL pyp5js-0.7.3-py3-none-any.whl
Size 9.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
674bb5a9c64db41f8ea1641309a644ffdc1fd2981028314fd795c5e41d33bfbd
BLAKE2b-256 checksum
How to use checksums
f4e0a6d8c83d46f0f0fd15807965f3f67e4d631a3459f9f7e2340eff56d2802c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.7.3 This release

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

3 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page