New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pysketch

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pysketch

Draw simple notes and scribbles on a canvas

  • 1.2
  • PyPI
  • Socket score

Maintainers
1

############################### 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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc