Skip to main content

Tablet simple 2D drawing interface that renders to SVG

Project description

Tablet SVG

TabletSVG is an intermediate graphics rendering layer intended to support the generation of model diagrams such as UML or SysML V2.

It establishes an intermediate layer between a model diagram tool and any particular graphics library or text format. (the latter for the SVG incarnation of Tablet)

Consequently, the model diagram tool is not affected by any change in the chosen graphics library as long as all the required functionality is supported.

For example, the Flatland model diagram generator, was originally implemented on top of Tablet which was built on the Cairo graphics library. I later moved it to TabletQt, and now have settled on the simplier text path straight to SVG. At no point was it necessary to change anying in Flatland except for the statement that imports this package.

Here the focus is on installation.

Please see the wiki for this repository for details about the interface, features, and other documentation.

Installation

Create or use a python 3.14+ environment.

% pip install tablet-svg

From your python script

Take a look at the scripts in the demo directory to see some example drawing calls to Tablet

From the command line

This is not the intended usage scenario, but may be helpful for testing or exploration. Since scrall may generate some diagnostic info you may want to create a fresh working directory and cd into it first. From there...

% tablet

You should also see a file named tabletsvg.log

Project details


Download files

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

Source Distribution

mi_tabletsvg-1.3.2.tar.gz (223.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mi_tabletsvg-1.3.2-py3-none-any.whl (265.5 kB view details)

Uploaded Python 3

File details

Details for the file mi_tabletsvg-1.3.2.tar.gz.

File metadata

  • Download URL: mi_tabletsvg-1.3.2.tar.gz
  • Upload date:
  • Size: 223.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mi_tabletsvg-1.3.2.tar.gz
Algorithm Hash digest
SHA256 79f64230bf1931c7ab4a97b017b3eb34b0fa04c190dcbcd6fc5330f345d2cde4
MD5 f936b320012c03a1a1e8e453ac72ff31
BLAKE2b-256 092d5a3873b3a13bc06b28b779eecc49240a4a4466fb84b43f0b17ad53dd0749

See more details on using hashes here.

File details

Details for the file mi_tabletsvg-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: mi_tabletsvg-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 265.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mi_tabletsvg-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2af244b8a1acad1be0dc8efc9b10d356d4fdc6201e452ac644cee3978b68c99d
MD5 e1587702d99db0f41e365a3c58741a27
BLAKE2b-256 4af1b8aff9e8d3bc094b2083f19f7deaf0b77c496d68ed50c178dbb630e8f2f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page