Inkscape Layer Utils
====================
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:
.. image:: 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:
.. image:: https://raw.githubusercontent.com/twyleg/inkscape_layer_utils/master/docs/_static/imgs/example_image_stacked.svg
Or as a tree:
.. image:: 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/ <https://github.com/twyleg/inkscape_layer_utils/tree/master/examples>`_ directory.
Raw data
{
"_id": null,
"home_page": "https://github.com/twyleg/inkscape_layer_utils",
"name": "inkscape-layer-utils",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "inkscape svg layer utilities",
"author": "Torsten Wylegala",
"author_email": "mail@twyleg.de",
"download_url": "https://files.pythonhosted.org/packages/dc/25/66be33eb0f387bdbaf9c7a5470ea0798a401dd5e21ec41a3ff1c671dfe21/inkscape_layer_utils-0.7.0.tar.gz",
"platform": null,
"description": "Inkscape Layer Utils\n====================\n\nSimple utils to interact with Inkscape SVG images and their layers.\nTypical use case is extracting layers from an input SVG or manipulating attributes of elements in an image\n(e.g. coloring certain elements).\n\nTake the following multilayer image as an example:\n\n.. image:: https://raw.githubusercontent.com/twyleg/inkscape_layer_utils/master/docs/_static/imgs/inkscape_test_image_with_layers.png\n\nThe architecture of the image can also be visualized like this:\n\n.. image:: https://raw.githubusercontent.com/twyleg/inkscape_layer_utils/master/docs/_static/imgs/example_image_stacked.svg\n\nOr as a tree:\n\n.. image:: https://raw.githubusercontent.com/twyleg/inkscape_layer_utils/master/docs/_static/imgs/example_image_tree.svg\n\nThe utilities can be used as a library or command line tool. Take a look at the examples section for further explanation.\n\nExamples\n--------\n\nAll examples can be found in the `examples/ <https://github.com/twyleg/inkscape_layer_utils/tree/master/examples>`_ directory.\n",
"bugtrack_url": null,
"license": "GPL 3.0",
"summary": "Simple library to extract and manipulate layers in inkscape SVGs",
"version": "0.7.0",
"project_urls": {
"Homepage": "https://github.com/twyleg/inkscape_layer_utils"
},
"split_keywords": [
"inkscape",
"svg",
"layer",
"utilities"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e3fdac92bc4a1c903ec0f11fd13ba8ee1edf9ee72caea5719a9fe0122ca8ba00",
"md5": "579c08d70d6fca162d7a7ba94af5a356",
"sha256": "27039851f82e2a57057c84b99bbb90cb8a41cbaf01bdd8b19d4fe7feecf17c87"
},
"downloads": -1,
"filename": "inkscape_layer_utils-0.7.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "579c08d70d6fca162d7a7ba94af5a356",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 25529,
"upload_time": "2024-10-17T14:36:21",
"upload_time_iso_8601": "2024-10-17T14:36:21.938498Z",
"url": "https://files.pythonhosted.org/packages/e3/fd/ac92bc4a1c903ec0f11fd13ba8ee1edf9ee72caea5719a9fe0122ca8ba00/inkscape_layer_utils-0.7.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dc2566be33eb0f387bdbaf9c7a5470ea0798a401dd5e21ec41a3ff1c671dfe21",
"md5": "77d9e95b6fd16eb14704a2e59d5795e9",
"sha256": "1f0e7f572ceb97a3ca3ae0d91bedf0a77a8fdfa01d1e7aa4bab58ed01fb76f88"
},
"downloads": -1,
"filename": "inkscape_layer_utils-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "77d9e95b6fd16eb14704a2e59d5795e9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 41698,
"upload_time": "2024-10-17T14:36:23",
"upload_time_iso_8601": "2024-10-17T14:36:23.474115Z",
"url": "https://files.pythonhosted.org/packages/dc/25/66be33eb0f387bdbaf9c7a5470ea0798a401dd5e21ec41a3ff1c671dfe21/inkscape_layer_utils-0.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-17 14:36:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "twyleg",
"github_project": "inkscape_layer_utils",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "setuptools",
"specs": [
[
"~=",
"73.0.1"
]
]
},
{
"name": "build",
"specs": [
[
"~=",
"1.2.2"
]
]
},
{
"name": "wheel",
"specs": [
[
"~=",
"0.44.0"
]
]
},
{
"name": "twine",
"specs": [
[
"~=",
"5.1.1"
]
]
},
{
"name": "mypy",
"specs": [
[
"~=",
"1.11.1"
]
]
},
{
"name": "black",
"specs": [
[
"~=",
"24.8.0"
]
]
},
{
"name": "tox",
"specs": [
[
"~=",
"4.18.0"
]
]
},
{
"name": "versioneer",
"specs": [
[
"~=",
"0.29"
]
]
},
{
"name": "pytest",
"specs": [
[
"~=",
"8.3.2"
]
]
},
{
"name": "pyinstaller",
"specs": [
[
"~=",
"6.10.0"
]
]
},
{
"name": "sphinx",
"specs": [
[
"~=",
"7.4.7"
]
]
},
{
"name": "sphinx-rtd-theme",
"specs": [
[
"~=",
"2.0.0"
]
]
},
{
"name": "simple-python-app",
"specs": [
[
">=",
"0.4.0"
]
]
}
],
"tox": true,
"lcname": "inkscape-layer-utils"
}