Metadata-Version: 2.4
Name: mi-tabletsvg
Version: 1.3.1
Summary: Tablet simple 2D drawing interface that renders to SVG
Author-email: Leon Starr <leon_starr@modelint.com>
License: MIT License
        
        Copyright (c) 2026 Leon Starr
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: repository, https://github.com/modelint/tablet-svg
Keywords: 2D,draw,graphics,canvas,svg,mbse,xuml,xtuml,sysml
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mi-configurator
Requires-Dist: PyYAML
Requires-Dist: cairosvg
Provides-Extra: build
Requires-Dist: build; extra == "build"
Requires-Dist: twine; extra == "build"
Provides-Extra: dev
Requires-Dist: bump2version; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Dynamic: license-file

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