## pyp5js: drawing with Python 3
[![PyPI version](https://badge.fury.io/py/pyp5js.svg)](https://badge.fury.io/py/pyp5js)
![Continuous Integration](https://github.com/berinhard/pyp5js/workflows/Continuous%20Integration/badge.svg?branch=develop&event=push)
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/berinhard/pyp5js/tree/main)
> [Processing](https://processing.org) ideas and Python 3 together with [P5.js](https://p5js.org) in the browser.
Python 3 drawing in the web! Try it [here](https://berinhard.github.io/pyp5js/pyodide/)!
Here's an example of a valid Python code using P5.js API:
```python
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](https://berinhard.github.io/pyp5js)
### [Examples](https://berinhard.github.io/pyp5js/examples/)
### [Installation](https://berinhard.github.io/pyp5js#installation)
### [Quickstart](https://berinhard.github.io/pyp5js#quickstart)
### [Internals details](https://berinhard.github.io/pyp5js#internals-details)
### [Known issues and differences to the Processing.Py and P5.js ways of doing things](https://berinhard.github.io/pyp5js#known-issues-and-differences-to-the-processingpy-and-p5js-ways-of-doing-things)
### [How can I contribute?](CONTRIBUTING.md)
Raw data
{
"_id": null,
"home_page": "https://github.com/berinhard/pyp5js/",
"name": "pyp5js",
"maintainer": "Bernardo Fontes",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "bernardoxhc@gmail.com",
"keywords": "p5js processing creative coding",
"author": "Bernardo Fontes",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/ab/fd/6479c08b56aa4b6fb1e774435a3a8802102b03b7b898b1f5afdc89baeca6/pyp5js-0.7.3.tar.gz",
"platform": null,
"description": "## pyp5js: drawing with Python 3\n\n[![PyPI version](https://badge.fury.io/py/pyp5js.svg)](https://badge.fury.io/py/pyp5js)\n![Continuous Integration](https://github.com/berinhard/pyp5js/workflows/Continuous%20Integration/badge.svg?branch=develop&event=push)\n[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/berinhard/pyp5js/tree/main)\n\n> [Processing](https://processing.org) ideas and Python 3 together with [P5.js](https://p5js.org) in the browser.\n\nPython 3 drawing in the web! Try it [here](https://berinhard.github.io/pyp5js/pyodide/)!\n\nHere's an example of a valid Python code using P5.js API:\n\n```python\ndef setup():\n createCanvas(200, 200)\n\ndef draw():\n background(200)\n diameter = sin(frameCount / 60) * 50 + 50\n fill('blue')\n ellipse(100, 100, diameter, diameter)\n```\n\n## Project setup\n\n```\n$ git clone git@github.com:YOUR_GITHUB_PROFILE/pyp5js.git\n$ cd pyp5js\n$ pip install -r dev-requirements.txt\n$ python setup.py develop\n$ make test\n```\n\n## More references\n\n### [Documentation](https://berinhard.github.io/pyp5js)\n\n### [Examples](https://berinhard.github.io/pyp5js/examples/)\n\n### [Installation](https://berinhard.github.io/pyp5js#installation)\n\n### [Quickstart](https://berinhard.github.io/pyp5js#quickstart)\n\n### [Internals details](https://berinhard.github.io/pyp5js#internals-details)\n\n### [Known issues and differences to the Processing.Py and P5.js ways of doing things](https://berinhard.github.io/pyp5js#known-issues-and-differences-to-the-processingpy-and-p5js-ways-of-doing-things)\n\n### [How can I contribute?](CONTRIBUTING.md)\n",
"bugtrack_url": null,
"license": "GNU Lesser General Public License version 3",
"summary": "Simple tool to allow to transcrypt Python code that uses P5.js",
"version": "0.7.3",
"split_keywords": [
"p5js",
"processing",
"creative",
"coding"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "97e1a2d52a222edc6e0e22e045a0ff33",
"sha256": "674bb5a9c64db41f8ea1641309a644ffdc1fd2981028314fd795c5e41d33bfbd"
},
"downloads": -1,
"filename": "pyp5js-0.7.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "97e1a2d52a222edc6e0e22e045a0ff33",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 9231594,
"upload_time": "2022-12-26T14:28:00",
"upload_time_iso_8601": "2022-12-26T14:28:00.450762Z",
"url": "https://files.pythonhosted.org/packages/f4/e0/a6d8c83d46f0f0fd15807965f3f67e4d631a3459f9f7e2340eff56d2802c/pyp5js-0.7.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "8dcd7a97e756bcf7d90d76448e6b666a",
"sha256": "a3cf23b44f0631a0cd368e822189663eea004f139b8c2428f3a276aa183b3333"
},
"downloads": -1,
"filename": "pyp5js-0.7.3.tar.gz",
"has_sig": false,
"md5_digest": "8dcd7a97e756bcf7d90d76448e6b666a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 9123203,
"upload_time": "2022-12-26T14:28:13",
"upload_time_iso_8601": "2022-12-26T14:28:13.580440Z",
"url": "https://files.pythonhosted.org/packages/ab/fd/6479c08b56aa4b6fb1e774435a3a8802102b03b7b898b1f5afdc89baeca6/pyp5js-0.7.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-26 14:28:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "berinhard",
"github_project": "pyp5js",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "pyp5js"
}