{ "info": { "author": "Mitchel Cabuloy", "author_email": "mixxorz@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Plugins", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "django-inline-svg |latest-version|\n==================================\n\n|build-status| |monthly-downloads| |software-license|\n\nA simple plugin that adds an ``svg`` template tag to inline your SVGs in your\nDjango templates.\n\nInstallation\n------------\n\nInstall it from pypi.\n\n::\n\n $ pip install django-inline-svg\n\nAdd ``svg`` to your ``INSTALLED_APPS``.\n\n::\n\n INSTALLED_APPS = (\n ...\n 'svg',\n ...\n )\n\nUsage\n-----\n\nStore your SVGs in folder named ``svg`` at the root of any of your static file\ndirectories.\n\n::\n\n my_app\n |-- static\n | |-- svg\n | |-- logo.svg\n | |-- check.svg\n | |-- cross.svg\n\nUse the ``svg`` template tag.\n\n::\n\n {% load svg %}\n\n

{% svg 'logo' %}

\n\nYou can set ``SVG_DIRS`` to control where to look for your svgs.\n\n::\n\n # settings.py\n\n SVG_DIRS=[\n os.path.join(BASE_DIR, 'my-svgs')\n ]\n\nSupport\n-------\n\nThe tests are run against Django 1.8, 1.9, 1.10 on Python 2.7, 3.3, 3.4, 3.5.\n\nLicense\n-------\n\nMIT\n\n.. |latest-version| image:: https://img.shields.io/pypi/v/django-inline-svg.svg\n :target: https://pypi.python.org/pypi/django-inline-svg/\n :alt: Latest version\n.. |build-status| image:: https://img.shields.io/travis/mixxorz/django-inline-svg/master.svg\n :target: https://travis-ci.org/mixxorz/django-inline-svg\n :alt: Build status\n.. |monthly-downloads| image:: https://img.shields.io/pypi/dm/django-inline-svg.svg\n :target: https://pypi.python.org/pypi/django-inline-svg/\n :alt: Monthly downloads\n.. |software-license| image:: https://img.shields.io/pypi/l/django-inline-svg.svg\n :target: https://github.com/mixxorz/django-inline-svg/blob/master/LICENSE\n :alt: Software license", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mixxorz/django-inline-svg", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-inline-svg", "package_url": "https://pypi.org/project/django-inline-svg/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-inline-svg/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mixxorz/django-inline-svg" }, "release_url": "https://pypi.org/project/django-inline-svg/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "A simple SVG template tag for Django", "version": "0.1.1" }, "last_serial": 2430364, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "796c23beb2b0038c16a499b9b59fd88e", "sha256": "cfd9d6d9ee96e3353f9a55a9dee5ea0571d2d35528fd48d07651f5a71d243af5" }, "downloads": -1, "filename": "django-inline-svg-0.1.0.tar.gz", "has_sig": false, "md5_digest": "796c23beb2b0038c16a499b9b59fd88e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3031, "upload_time": "2016-03-24T14:41:52", "url": "https://files.pythonhosted.org/packages/ec/b6/b380ae81e154a0666e1d757baca08dd396ccfc4563acfb2e080d905a2d17/django-inline-svg-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3a8ece85ce6b3a059c7609017471e421", "sha256": "9a908eb7f2ed23317f896be6e0c355ec488b1944e6f4d2d829a74d1d4e5fb918" }, "downloads": -1, "filename": "django-inline-svg-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3a8ece85ce6b3a059c7609017471e421", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3440, "upload_time": "2016-10-29T13:11:11", "url": "https://files.pythonhosted.org/packages/a1/46/6bf3b74ce8a47e6cc413f4f5cbb08af2eb831387c2136b3b750c8c24bb0e/django-inline-svg-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3a8ece85ce6b3a059c7609017471e421", "sha256": "9a908eb7f2ed23317f896be6e0c355ec488b1944e6f4d2d829a74d1d4e5fb918" }, "downloads": -1, "filename": "django-inline-svg-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3a8ece85ce6b3a059c7609017471e421", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3440, "upload_time": "2016-10-29T13:11:11", "url": "https://files.pythonhosted.org/packages/a1/46/6bf3b74ce8a47e6cc413f4f5cbb08af2eb831387c2136b3b750c8c24bb0e/django-inline-svg-0.1.1.tar.gz" } ] }