Skip to main content

Pyrtist

Pyrtist is a library and IDE which enables drawing using Python scripts.

Pyrtist is a vector graphics editor. The main difference with respect to traditional vector graphics editors like Inkscape is that the input for drawing comes from a Python script.

The Pyrtist window is subdivided in two halves:

  • The script view allows to write and adjust the Python script which draws the graphics,

  • The picture view shows the graphical output produced by the script and allows to interact with the picture and adjust it, by moving some reference points (with the mouse for example), which the Python script sees as regular variables.

The two views allow you to create pictures that can exploit the scripting capabilities of Python while still allowing you to naturally interact with the graphics. Your drawings can be saved to disk as ordinary Python scripts. You can execute them on their own, outside the Pyrtist user interface, or you can re-open them with Pyrtist if you need to change them.

Your scripts can exploit the full power of Python and can be as smart as you want them to be. If you are a programmer, you can then use the tools you are familiar with. You can track different versions of your drawings using git. You can use Makefiles to automatically rebuild a large collection of Pyrtist drawings, which all import the same module defining color and style. Need a different color scheme or line width scheme for all your pictures? Just change one file and type make. They will all be generated automatically for you. Importantly, you can easily reuse old drawings. They are text and as such you can easily copy and paste them. You can create modules containing them and you can couple them with the thousands Python libraries out there.

Status

This software is under development. It can be used already, despite not being feature complete. The drawing API is not fully stable, yet. Any feedback and contributions are welcome.

Release files for pyrtist 0.0.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 pyrtist 0.0.3
File Size Uploaded
pyrtist-0.0.3.tar.gz 290.3 kB Details

Release files / pyrtist-0.0.3.tar.gz

Download URL pyrtist-0.0.3.tar.gz
Size 290.3 kB
Tags Source
SHA-256 checksum
How to use checksums
30ba58a83310b468a3b76604ba1d64076ee243052bc5d280c521f21a6bc6a0bb
BLAKE2b-256 checksum
How to use checksums
8a716d89d69754c40c917982fc34928f031e7fb90ebc1cccee3dfe19272a6e5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

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