ImageStack-SVG


NameImageStack-SVG JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/skillor/imagestack-svg-python
SummaryCreate Images by Stacking them
upload_time2023-05-18 08:09:46
maintainer
docs_urlNone
authorskillor
requires_python>=3
licenseMIT
keywords image imagestack imagestack-svg imagestack_svg svg
VCS
bugtrack_url
requirements PySide2 Jinja2 requests Markupsafe lxml defusedxml
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ImageStack Python

### A simple way to create images using svg and jinja2 templating

[![Build Status](https://github.com/skillor/imagestack-svg-python/actions/workflows/test-python.yml/badge.svg)](https://github.com/skillor/imagestack-svg-python/actions/workflows/test-python.yml) [![PyPi version](https://badgen.net/pypi/v/ImageStack-SVG/)](https://pypi.org/project/ImageStack-SVG)

## Installation

### Install with pip

    pip install imagestack-svg

### Running without display

    xvfb-run python3 {your application}

## Test Design

You can test your SVG Design here: https://skillor.github.io/imagestack-svg-python/

## Usage

    from imagestack_svg.imagecreator import ImageCreator
    from imagestack_svg.imageresolve import ImageStackResolveString
    ig = ImageCreator()
    s = ImageStackResolveString('<text>{{ dummy }}</text>')
    s(dummy='Hello World!')
    print(await ig.create_inner_svg(s))
    with open('test.png', 'wb') as f:
        f.write((await ig.create_bytes(s)).read())


more examples here: https://github.com/skillor/imagestack-svg-python/blob/master/test.py



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/skillor/imagestack-svg-python",
    "name": "ImageStack-SVG",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": "",
    "keywords": "image,imagestack,imagestack-svg,imagestack_svg,svg",
    "author": "skillor",
    "author_email": "skillor@gmx.net",
    "download_url": "https://files.pythonhosted.org/packages/77/4f/a8485ef80783ead50045659d00f364e8ee8f2a4897980c78249e4dba730a/ImageStack%20SVG-1.0.1.tar.gz",
    "platform": null,
    "description": "# ImageStack Python\n\n### A simple way to create images using svg and jinja2 templating\n\n[![Build Status](https://github.com/skillor/imagestack-svg-python/actions/workflows/test-python.yml/badge.svg)](https://github.com/skillor/imagestack-svg-python/actions/workflows/test-python.yml) [![PyPi version](https://badgen.net/pypi/v/ImageStack-SVG/)](https://pypi.org/project/ImageStack-SVG)\n\n## Installation\n\n### Install with pip\n\n    pip install imagestack-svg\n\n### Running without display\n\n    xvfb-run python3 {your application}\n\n## Test Design\n\nYou can test your SVG Design here: https://skillor.github.io/imagestack-svg-python/\n\n## Usage\n\n    from imagestack_svg.imagecreator import ImageCreator\n    from imagestack_svg.imageresolve import ImageStackResolveString\n    ig = ImageCreator()\n    s = ImageStackResolveString('<text>{{ dummy }}</text>')\n    s(dummy='Hello World!')\n    print(await ig.create_inner_svg(s))\n    with open('test.png', 'wb') as f:\n        f.write((await ig.create_bytes(s)).read())\n\n\nmore examples here: https://github.com/skillor/imagestack-svg-python/blob/master/test.py\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Create Images by Stacking them",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://github.com/skillor/imagestack-svg-python"
    },
    "split_keywords": [
        "image",
        "imagestack",
        "imagestack-svg",
        "imagestack_svg",
        "svg"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c5b9a526b5d2178cfd1be8f9c2ec6c75c0dfe999e9b1643cfcb1e2e4410e1fd",
                "md5": "70827bc8b48fb86f8519bd65839b9240",
                "sha256": "d5789294943b238f6c0a053968aebe0b3fd11924ac8098dc1d162caae9be5291"
            },
            "downloads": -1,
            "filename": "ImageStack_SVG-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "70827bc8b48fb86f8519bd65839b9240",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 8104,
            "upload_time": "2023-05-18T08:09:45",
            "upload_time_iso_8601": "2023-05-18T08:09:45.103996Z",
            "url": "https://files.pythonhosted.org/packages/0c/5b/9a526b5d2178cfd1be8f9c2ec6c75c0dfe999e9b1643cfcb1e2e4410e1fd/ImageStack_SVG-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "774fa8485ef80783ead50045659d00f364e8ee8f2a4897980c78249e4dba730a",
                "md5": "f4513b47cb5182227413e649bccbfa5e",
                "sha256": "da10cbac55b40ddf75e04c5047ef8a86178cc0b7a8e14969d7468a628d906322"
            },
            "downloads": -1,
            "filename": "ImageStack SVG-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f4513b47cb5182227413e649bccbfa5e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 6671,
            "upload_time": "2023-05-18T08:09:46",
            "upload_time_iso_8601": "2023-05-18T08:09:46.669486Z",
            "url": "https://files.pythonhosted.org/packages/77/4f/a8485ef80783ead50045659d00f364e8ee8f2a4897980c78249e4dba730a/ImageStack%20SVG-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-18 08:09:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "skillor",
    "github_project": "imagestack-svg-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "PySide2",
            "specs": [
                [
                    ">=",
                    "5.15.2.1"
                ]
            ]
        },
        {
            "name": "Jinja2",
            "specs": [
                [
                    ">=",
                    "2.11.3"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.25"
                ]
            ]
        },
        {
            "name": "Markupsafe",
            "specs": [
                [
                    ">=",
                    "2.0.1"
                ]
            ]
        },
        {
            "name": "lxml",
            "specs": [
                [
                    ">=",
                    "4.6.3"
                ]
            ]
        },
        {
            "name": "defusedxml",
            "specs": [
                [
                    ">=",
                    "0.7.1"
                ]
            ]
        }
    ],
    "lcname": "imagestack-svg"
}
        
Elapsed time: 0.07463s