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?

Release files for pyp5js 0.7.0

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.0
File Size Uploaded
pyp5js-0.7.0.tar.gz 809.4 kB Details

Built distribution (wheel)

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

Total release size: 2.6 MB

Release files / pyp5js-0.7.0.tar.gz

Download URL pyp5js-0.7.0.tar.gz
Size 809.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b92d1d1912a2360519f2cfbe1d582fb813f95f8537f4139cf8b79c149a3f01cd
BLAKE2b-256 checksum
How to use checksums
9f5d5c5feb5c5cc00ef715a3973a9ea8d2f10e7c03b3e649464c9893cb3c8eb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

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

Download URL pyp5js-0.7.0-py3-none-any.whl
Size 1.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
bbeb4a2a40ea9582e3291d4ae61894b7c5993034ec8517c72a477c73fc1cd311
BLAKE2b-256 checksum
How to use checksums
9adf5d77ba8132832a56793b74e887757d54c3c45e0fe1379ca69dc568e55ce0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

Release history Release notifications | RSS feed

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

This release

0.7.0 This release

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