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
Metadata
Release files for mi-tabletsvg 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mi_tabletsvg-1.5.0.tar.gz | 229.9 kB | Without provenance | Details for mi_tabletsvg-1.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mi_tabletsvg-1.5.0-py3-none-any.whl | Python 3 | none | any | Details for mi_tabletsvg-1.5.0-py3-none-any.whl |
Total release size: 501.7 kB
Release files / mi_tabletsvg-1.5.0.tar.gz
| Download URL | mi_tabletsvg-1.5.0.tar.gz |
|---|---|
| Size | 229.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c3e6aa36d95fd434d4fafcfb9f147168b226ca00b5614e25072b0a362158340
|
|
BLAKE2b-256 checksum How to use checksums |
6789c211f81e488c24e21e908ca9789bc81e64963083a13d16b59e9b6c4dc4d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / mi_tabletsvg-1.5.0-py3-none-any.whl
| Download URL | mi_tabletsvg-1.5.0-py3-none-any.whl |
|---|---|
| Size | 271.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
254b7797604f0d0f5dd053d84ef1de36764c393dd87d9cf7d0a3399fd9220569
|
|
BLAKE2b-256 checksum How to use checksums |
944eb910643d9af829863492e7c426841abd5b6fd089db8aea7ec80351017b5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for mi-tabletsvg 1.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.