Skip to main content

Express your creativity in Python through simple PyPen sketches!

Project description

PyPen CI PyPI - Version PyPI - Downloads Documentation Status Scrutinizer Code Quality

Express your creativity in Python through simple PyPen sketches!

What is PyPen?

PyPen tries to be the end-all solution to creative coding in Python. It provides very easy-to-use functions for drawing primitives to the screen and getting user input.

We felt like there was always a bunch of overhead needed to get nice and simple HTML-canvas-like graphics to work in Python and that this overhead always made for a half-baked user experience.

PyPen is basically doing all of the boring stuff in the background and exposes simple functions like clear(), circle(x, y, radius), rectangle(x, y, width, height) and many more for you to use and express your creativity with.

How do I Use PyPen?

Checkout our setup tutorial: How do I Use PyPen


  1. type pip install pypen and follow instructions if any extra dependencies are needed.
  2. type pypen --init example, which will create a file named in your current directory.
  3. type pypen example and a window should popup with something looking like this:

  4. edit the file by checking out PyPen's documentation and examples

(For Maintainers) How does PyPen work?

We have an entire page dedicated to explaining the inner workings of PyPen. If you are a developer interested in helping PyPen's development, you should check it out: How does PyPen Really Work?

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pypen, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pypen-0.0.2-py3-none-any.whl (18.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pypen-0.0.2.tar.gz (28.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page