{ "info": { "author": "Philip Kimmey", "author_email": "philip@rover.com", "bugtrack_url": null, "classifiers": [ "Environment :: Other Environment", "Environment :: Web Environment", "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.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Communications :: Email", "Topic :: Text Processing :: Markup :: HTML" ], "description": "[![Build Status](https://travis-ci.org/roverdotcom/django-inlinecss.png?branch=master)](https://travis-ci.org/roverdotcom/django-inlinecss)\n\n## About\n\nInlining CSS is necessary for email generation and sending\nbut is currently a surprisingly large hassle.\n\nThis library aims to make it a breeze in the Django\ntemplate language.\n\n## Usage\n\n#### Step 1: Dependencies\n\n- BeautifulSoup\n- cssutils\n- Python 2.7+,3.4+\n- Django 1.11+\n\n\n#### Step 2: Install django_inlinecss\n\nAdd ```django_inlinecss``` to your ```settings.py```:\n\n```python\nINSTALLED_APPS = (\n 'django.contrib.auth',\n 'django.contrib.webdesign',\n 'django.contrib.contenttypes',\n '...',\n '...',\n '...',\n 'django_inlinecss')\n```\n\n#### Step 3: Use the templatetag\n\n1. Place your CSS file somewhere staticfiles can find it\n2. Create your template:\n\n```html\n{% load inlinecss %}\n{% inlinecss \"css/extra-padding.css\" %}\n \n \n
\n Something in need of styling.\n
\n \n \n{% endinlinecss %}\n```\n\n#### Step 4: Prepare to be Wowed\n\n```html\n\n \n
\n Something in need of styling.\n
\n \n\n```\n\n## Acknowledgements\n\nThanks to Tanner Netterville for his efforts on [Pynliner](https://github.com/rennat/pynliner).\n\nThanks to Thomas Yip for his unit tests on the `soupselect` module. These tests\nhelped on getting the core CSS2 selectors to work.\n\n## License\n\nMIT license. See LICENSE.md for more detail.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/roverdotcom/django-inlinecss", "keywords": "html,css,inline,style,email", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-inlinecss", "package_url": "https://pypi.org/project/django-inlinecss/", "platform": "", "project_url": "https://pypi.org/project/django-inlinecss/", "project_urls": { "Homepage": "https://github.com/roverdotcom/django-inlinecss" }, "release_url": "https://pypi.org/project/django-inlinecss/0.3.0/", "requires_dist": [ "Django (>=1.11)", "pynliner", "future (>=0.16.0)", "flake8 (==3.6.0) ; extra == 'flake8'", "flake8-isort (==2.6.0) ; extra == 'flake8'", "isort (==4.3.4) ; extra == 'flake8'", "testfixtures (==6.3.0) ; extra == 'flake8'", "mock (==2.0.0) ; extra == 'tests'", "pytest (==4.3.1) ; extra == 'tests'", "pytest-django (==3.4.8) ; extra == 'tests'" ], "requires_python": "", "summary": "A Django app useful for inlining CSS (primarily for e-mails)", "version": "0.3.0", "yanked": false, "yanked_reason": null }, "last_serial": 6025061, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "193b913592fe28a7353859ddb7084ce6", "sha256": "c8f9f0cf6a8b97e90c8cb2485f327165e53094ad9f733ad3e02fde2e88fbd773" }, "downloads": -1, "filename": "django-inlinecss-0.1.0.tar.gz", "has_sig": false, "md5_digest": "193b913592fe28a7353859ddb7084ce6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12646, "upload_time": "2013-10-15T12:11:28", "upload_time_iso_8601": "2013-10-15T12:11:28.379876Z", "url": "https://files.pythonhosted.org/packages/10/26/6e166bd6f308da63ac61cb7068ee2eddfd16bb8e383a10c8f12ebab94a83/django-inlinecss-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "124472afa6747e9bc5b48493b0a0d10a", "sha256": "534df4bf31f903d7b8aec2f3ef8a22e47ead1bbd2afe9e39c48629b3adfb72d3" }, "downloads": -1, "filename": "django-inlinecss-0.1.1.tar.gz", "has_sig": false, "md5_digest": "124472afa6747e9bc5b48493b0a0d10a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13045, "upload_time": "2013-11-21T17:29:28", "upload_time_iso_8601": "2013-11-21T17:29:28.244952Z", "url": "https://files.pythonhosted.org/packages/af/2f/d75865939095dee577646981c3eff36cb888ef87d81b1f7c7ab218c9c059/django-inlinecss-0.1.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d620cc9ad995b03f4574ef9cb673be21", "sha256": "0883e6884868f9da46c12c8529f9fe27f525f49b6e28b3885b2b5fddad58ef05" }, "downloads": -1, "filename": "django-inlinecss-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d620cc9ad995b03f4574ef9cb673be21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4825, "upload_time": "2016-05-04T16:23:05", "upload_time_iso_8601": "2016-05-04T16:23:05.859721Z", "url": "https://files.pythonhosted.org/packages/68/c9/e80d292bec14a3ca0dc171b95a58ae87fbac39f3c93ddb2238562f548803/django-inlinecss-0.1.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "c3b2d946e86c3031689f5a244d8bcf6b", "sha256": "6ec6021aa03dcbe9e3f7ca0fb3dc813203e770d7a32fe8e187cc8a91aad96723" }, "downloads": -1, "filename": "django_inlinecss-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c3b2d946e86c3031689f5a244d8bcf6b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7557, "upload_time": "2019-04-01T18:49:32", "upload_time_iso_8601": "2019-04-01T18:49:32.361008Z", "url": "https://files.pythonhosted.org/packages/c7/f7/6a4881d90115a8c926efc694f6d1cf644fb65d590d7a36fb13e1aaf2dbe3/django_inlinecss-0.2.0-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "fb34693f2b7ceeb80a539ba9a99e221f", "sha256": "36707609b775e1bd6fcfeee3949ce7b7884ed335451fe0f80deb76a6e211bfba" }, "downloads": -1, "filename": "django-inlinecss-0.2.0.tar.gz", "has_sig": false, "md5_digest": "fb34693f2b7ceeb80a539ba9a99e221f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6153, "upload_time": "2019-04-01T18:49:33", "upload_time_iso_8601": "2019-04-01T18:49:33.779628Z", "url": "https://files.pythonhosted.org/packages/5e/89/487e0ae73d8d2dd80045bed4854a3ffb5fe11147977901d28437eedff1a8/django-inlinecss-0.2.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "98f763bfb385a48216d983aff63791a7", "sha256": "eddcb295a35fcddf4fce26f9c232c472a9283b954aaf084641d0718415bd694b" }, "downloads": -1, "filename": "django_inlinecss-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "98f763bfb385a48216d983aff63791a7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8888, "upload_time": "2019-10-24T17:30:55", "upload_time_iso_8601": "2019-10-24T17:30:55.411933Z", "url": "https://files.pythonhosted.org/packages/c9/1c/5d5e2c2bffff1e11cc7c7bf5d36cdf8e31d0c6ac36a528561ae815807238/django_inlinecss-0.3.0-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "c3a0aa01a10fc131aadd7da8e6223365", "sha256": "5a014278b017a07d9d0babe2bf1bc75a52e184fb0ed26e333e8ff0d8e777b9e2" }, "downloads": -1, "filename": "django-inlinecss-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c3a0aa01a10fc131aadd7da8e6223365", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6721, "upload_time": "2019-10-24T17:30:56", "upload_time_iso_8601": "2019-10-24T17:30:56.938766Z", "url": "https://files.pythonhosted.org/packages/c2/d7/fca167ea93f70185d6689df40aac136f0001d71d84ccc34151812c024b3b/django-inlinecss-0.3.0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "98f763bfb385a48216d983aff63791a7", "sha256": "eddcb295a35fcddf4fce26f9c232c472a9283b954aaf084641d0718415bd694b" }, "downloads": -1, "filename": "django_inlinecss-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "98f763bfb385a48216d983aff63791a7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8888, "upload_time": "2019-10-24T17:30:55", "upload_time_iso_8601": "2019-10-24T17:30:55.411933Z", "url": "https://files.pythonhosted.org/packages/c9/1c/5d5e2c2bffff1e11cc7c7bf5d36cdf8e31d0c6ac36a528561ae815807238/django_inlinecss-0.3.0-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "c3a0aa01a10fc131aadd7da8e6223365", "sha256": "5a014278b017a07d9d0babe2bf1bc75a52e184fb0ed26e333e8ff0d8e777b9e2" }, "downloads": -1, "filename": "django-inlinecss-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c3a0aa01a10fc131aadd7da8e6223365", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6721, "upload_time": "2019-10-24T17:30:56", "upload_time_iso_8601": "2019-10-24T17:30:56.938766Z", "url": "https://files.pythonhosted.org/packages/c2/d7/fca167ea93f70185d6689df40aac136f0001d71d84ccc34151812c024b3b/django-inlinecss-0.3.0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }