Skip to main content

Inkscape extension library

Project description

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


Download files

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

Source Distribution

utl_inkext-0.2.2.tar.gz (46.7 kB view details)

Uploaded Source

Built Distribution

utl_inkext-0.2.2-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file utl_inkext-0.2.2.tar.gz.

File metadata

  • Download URL: utl_inkext-0.2.2.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for utl_inkext-0.2.2.tar.gz
Algorithm Hash digest
SHA256 d457b042844ad28c2d1df37fb20a9c74c0ca8c14e0b3b5d1e922f4e7d3bc18ee
MD5 6c41beee8ff7f0e15cabffe606e62ec6
BLAKE2b-256 d1a6fddf734d343a438fb6915ece0a77706f9d20cfeeceb1c6adfed1b040fc11

See more details on using hashes here.

File details

Details for the file utl_inkext-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: utl_inkext-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 44.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for utl_inkext-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fc92c47040a965eece6a38b30967a696e9199a4f9efe3f2860a3de064e18b02d
MD5 74ff5a709a2244831b60bc362d23b985
BLAKE2b-256 542af257efd7459b179bc65b6b2fe4abb2b85ac3d802332b7f5d2db4f48fede3

See more details on using hashes here.

Supported by

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