Inkscape extension library
Project description
Documentation: https://utlco.github.io/utl-inkext
Repository: https://github.com/utlco/utl-inkext
License: LGPL v3
Python: 3.9+
Simple python extension biolerplate package for Inkscape 1.2+.
This is basically a rewrite of the original python extension framework that shipped with Inkscape 0.91. The original excuse for the rewrite was that the Inkscape framework (at the time) was poorly documented, was missing a lot of functionality that I needed, had odd behavior with regards to document size/viewport/units, was python2.7 only, and broke some extensions (mainly my own) when updating from .91 to .92 and then again to 1.x.
There are no dependencies on any Inkscape packages so extensions can be run from the command line without having Inkscape installed.
The current Inkscape Python package inkex is much more complete now and probably should be used instead of this for new extensions.
However, this package does include some extras:
More boilerplate that makes writing extensions a bit easier.
Allows extensions to run as command line tools without having to install Inkscape at all.
An SVG library that does not require Inkscape.
Includes an installer for Inkscape extensions that will create a virtualenv in the Inkscape extension folder and install package dependencies based on the extension metadata (pyproject.toml). This makes it possible for extensions to import arbitrary third party packages. The installer makes it very easy to deploy extensions, especially during development using editable packages.
Installation
pip install utl-inkext
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for utl_inkext-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc92c47040a965eece6a38b30967a696e9199a4f9efe3f2860a3de064e18b02d |
|
MD5 | 74ff5a709a2244831b60bc362d23b985 |
|
BLAKE2b-256 | 542af257efd7459b179bc65b6b2fe4abb2b85ac3d802332b7f5d2db4f48fede3 |