dash-svg


Namedash-svg JSON
Version 0.0.12 PyPI version JSON
download
home_page
SummarySVG support library for Plotly/Dash
upload_time2023-02-27 08:10:44
maintainer
docs_urlNone
authorSteve Jones <jonesst2608@gmail.com>
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # dash-svg

![](https://raw.githubusercontent.com/stevej2608/dash-svg/master/docs/img/dash-minimal.png)

Scalable Vector Graphics (SVG) library for [Plotly/Dash](https://dash.plotly.com/)

Dash clone of the ubiquitous *create-react-app* default project,
```
import dash
from dash import html
from dash_svg import Svg, G, Path, Circle


app = dash.Dash(__name__)

app.layout = html.Div([
    html.Header([
        Svg([
            G([
                Path(d='...'),
                Circle(cx="420.9", cy="296.5", r='45.7'),
                Path(d='M520.5 78.1z')
            ], fill='#61DAFB')
        ], viewBox='0 0 841.9 595.3', className="App-logo", alt="logo"),
        html.P(["Edit ", html.Code("usage.py"), " and save to reload."]),
        html.A("Learn Dash", className="App-link", href="https://dash.plotly.com/",  target="_blank", rel="noopener noreferrer")
    ], className="App-header")
], className="App")


if __name__ == '__main__':
    app.run_server(debug=True)
```

## Installation

You can install *dash-svg* with `pip`:

```
pip install dash-svg
```

## Documentation

Head over to the [*README*][docs-homepage] for more details.

## Contributing

The source code for *dash-svg* is available
[on GitHub][dash-svg-repo]. If you find a bug or something is unclear, we encourage
you to raise an issue. We also welcome contributions, to contribute, fork the
repository and open a [pull request][dash-svg-pulls].


[dash-homepage]: https://dash.plot.ly/
[dash-svg-repo]: https://github.com/stevej2608/dash-svg
[docs-homepage]: https://github.com/stevej2608/dash-svg/blob/master/README.md
[dash-svg-pulls]: https://github.com/stevej2608/dash-svg/pulls



            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "dash-svg",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Steve Jones <jonesst2608@gmail.com>",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/26/b1/a17887bd3243925d8801319a5f9a6df4379426c43f54d39652facbab10a2/dash_svg-0.0.12.tar.gz",
    "platform": null,
    "description": "# dash-svg\n\n![](https://raw.githubusercontent.com/stevej2608/dash-svg/master/docs/img/dash-minimal.png)\n\nScalable Vector Graphics (SVG) library for [Plotly/Dash](https://dash.plotly.com/)\n\nDash clone of the ubiquitous *create-react-app* default project,\n```\nimport dash\nfrom dash import html\nfrom dash_svg import Svg, G, Path, Circle\n\n\napp = dash.Dash(__name__)\n\napp.layout = html.Div([\n    html.Header([\n        Svg([\n            G([\n                Path(d='...'),\n                Circle(cx=\"420.9\", cy=\"296.5\", r='45.7'),\n                Path(d='M520.5 78.1z')\n            ], fill='#61DAFB')\n        ], viewBox='0 0 841.9 595.3', className=\"App-logo\", alt=\"logo\"),\n        html.P([\"Edit \", html.Code(\"usage.py\"), \" and save to reload.\"]),\n        html.A(\"Learn Dash\", className=\"App-link\", href=\"https://dash.plotly.com/\",  target=\"_blank\", rel=\"noopener noreferrer\")\n    ], className=\"App-header\")\n], className=\"App\")\n\n\nif __name__ == '__main__':\n    app.run_server(debug=True)\n```\n\n## Installation\n\nYou can install *dash-svg* with `pip`:\n\n```\npip install dash-svg\n```\n\n## Documentation\n\nHead over to the [*README*][docs-homepage] for more details.\n\n## Contributing\n\nThe source code for *dash-svg* is available\n[on GitHub][dash-svg-repo]. If you find a bug or something is unclear, we encourage\nyou to raise an issue. We also welcome contributions, to contribute, fork the\nrepository and open a [pull request][dash-svg-pulls].\n\n\n[dash-homepage]: https://dash.plot.ly/\n[dash-svg-repo]: https://github.com/stevej2608/dash-svg\n[docs-homepage]: https://github.com/stevej2608/dash-svg/blob/master/README.md\n[dash-svg-pulls]: https://github.com/stevej2608/dash-svg/pulls\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "SVG support library for Plotly/Dash",
    "version": "0.0.12",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f47655b690616441568d5cad9eb34d4d3e968b39bdaeeb6850dc5106bd8289a6",
                "md5": "db0262f9562cb2f1b63d80278581a17e",
                "sha256": "0ec26694ccfc4f6c65d20254d76b2cd3680975ca5fbe0056956c3992551c727b"
            },
            "downloads": -1,
            "filename": "dash_svg-0.0.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "db0262f9562cb2f1b63d80278581a17e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 810151,
            "upload_time": "2023-02-27T08:10:41",
            "upload_time_iso_8601": "2023-02-27T08:10:41.587304Z",
            "url": "https://files.pythonhosted.org/packages/f4/76/55b690616441568d5cad9eb34d4d3e968b39bdaeeb6850dc5106bd8289a6/dash_svg-0.0.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "26b1a17887bd3243925d8801319a5f9a6df4379426c43f54d39652facbab10a2",
                "md5": "4fdecc747e9dbd91b991c7fff220af74",
                "sha256": "a7115bf437d770b822c2dd53b9d9a981210619b7d17c925cbee04905fc761b4e"
            },
            "downloads": -1,
            "filename": "dash_svg-0.0.12.tar.gz",
            "has_sig": false,
            "md5_digest": "4fdecc747e9dbd91b991c7fff220af74",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 671120,
            "upload_time": "2023-02-27T08:10:44",
            "upload_time_iso_8601": "2023-02-27T08:10:44.436074Z",
            "url": "https://files.pythonhosted.org/packages/26/b1/a17887bd3243925d8801319a5f9a6df4379426c43f54d39652facbab10a2/dash_svg-0.0.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-27 08:10:44",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "dash-svg"
}
        
Elapsed time: 0.39625s