Skip to main content

Simple utils to interact with Inkscape SVG images and their layers. Typical use case is extracting layers from an input SVG or manipulating attributes of elements in an image (e.g. coloring certain elements).

Take the following multilayer image as an example:

https://raw.githubusercontent.com/twyleg/inkscape_layer_utils/master/docs/_static/imgs/inkscape_test_image_with_layers.png

The architecture of the image can also be visualized like this:

https://raw.githubusercontent.com/twyleg/inkscape_layer_utils/master/docs/_static/imgs/example_image_stacked.svg

Or as a tree:

https://raw.githubusercontent.com/twyleg/inkscape_layer_utils/master/docs/_static/imgs/example_image_tree.svg

The utilities can be used as a library or command line tool. Take a look at the examples section for further explanation.

Examples

All examples can be found in the examples/ directory.

Metadata

Release files for inkscape-layer-utils 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inkscape-layer-utils 0.7.0
File Size Uploaded
inkscape_layer_utils-0.7.0.tar.gz 41.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for inkscape-layer-utils 0.7.0
File Interpreter ABI Platform
inkscape_layer_utils-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 67.2 kB

Release files / inkscape_layer_utils-0.7.0.tar.gz

Download URL inkscape_layer_utils-0.7.0.tar.gz
Size 41.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1f0e7f572ceb97a3ca3ae0d91bedf0a77a8fdfa01d1e7aa4bab58ed01fb76f88
BLAKE2b-256 checksum
How to use checksums
dc2566be33eb0f387bdbaf9c7a5470ea0798a401dd5e21ec41a3ff1c671dfe21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / inkscape_layer_utils-0.7.0-py3-none-any.whl

Download URL inkscape_layer_utils-0.7.0-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27039851f82e2a57057c84b99bbb90cb8a41cbaf01bdd8b19d4fe7feecf17c87
BLAKE2b-256 checksum
How to use checksums
e3fdac92bc4a1c903ec0f11fd13ba8ee1edf9ee72caea5719a9fe0122ca8ba00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page