pysketch - For simple scribbles
Basics
This tool can be used to “take notes” in the form of graphical scribbles, as you would paint them on a small piece of paper with a pencil, pen, Sharpie (tm), or similar. It doesn’t offer any special options by design. You get a canvas and can draw on it, with a fix-sized black pen…that’s it.
If you’re looking for the more fancy stuff, there are a ton of good drawing applications out there (gimp, inkscape, …). Go pick one of them, e.g. if you need special brush shapes with dynamics attached.
I try to keep pysketch as minimalistic as possible, such that I can concentrate on what I draw, instead of how I draw it.
Idea
Basic influences for the design and implementation of pysketch were: gsumi/xink and the “scribblesimple” example from the pygtk distribution.
Installing
For installing pysketch, you have to get root and then run the command
python setup.py install
Starting
After a successful installation, you can call pysketch from the command-line
pysketch
It supports a few parameters, that get listed with the -h option (or --help).
Draw with the left mouse button held down, the right button erases with a larger pen size. The two push buttons at the bottom of the main widget should be pretty self-explanatory. ;)
Requirements
Pysketch should run under any Python2.x, with having one of the
Tkinter
GTK2
pygobject
PyQt4
bindings installed.
TODOs and known problems
Tkinter mode: making the canvas larger, drawing, and then shrinking the window again, will lead to inconsistencies. The canvas items that are off-screen don’t get removed (no clipping), but the PIL image in the background won’t have those lines anymore.
Release files for pysketch 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pysketch-1.2.tar.gz | 13.2 kB | Details |
Release files / pysketch-1.2.tar.gz
| Download URL | pysketch-1.2.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4454648cd1d66bdf634dd5ebd1a67a5e8d152f0ce872965e379d3c823d9bd33a
|
|
BLAKE2b-256 checksum How to use checksums |
d84d95448bac35f9afeeeb1e25e539b114f8411eaf91c604ef7558ad7ea269c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |