{ "info": { "author": "Hugo Osvaldo Barrera", "author_email": "hugo@barrera.io", "bugtrack_url": null, "classifiers": [ "Environment :: Other Environment", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "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.6+\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", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/WhyNotHugo/django-inlinecss-redux", "keywords": "html", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-inlinecss-redux", "package_url": "https://pypi.org/project/django-inlinecss-redux/", "platform": "", "project_url": "https://pypi.org/project/django-inlinecss-redux/", "project_urls": { "Homepage": "https://github.com/WhyNotHugo/django-inlinecss-redux" }, "release_url": "https://pypi.org/project/django-inlinecss-redux/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "A Django app useful for inlining CSS (primarily for e-mails)", "version": "0.1.3" }, "last_serial": 3269003, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "b5c7a85e66e39b823d734cb4c624eda1", "sha256": "8e77c03807b372a4f4d696a59db9ea29db09ca4d2405d64431f4daedbde74b72" }, "downloads": -1, "filename": "django_inlinecss_redux-0.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b5c7a85e66e39b823d734cb4c624eda1", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 13049, "upload_time": "2017-10-21T22:41:44", "url": "https://files.pythonhosted.org/packages/f4/2a/2e96343e583ae73f593acaed457b59b00e7024e2b28f6bbecf5ed55b7976/django_inlinecss_redux-0.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "411e1c5a98605f9328852738f8ad374a", "sha256": "120f02b34d6ac8923cb0c4984fa3aafa1693f7d19995271745b6cb77eec832f2" }, "downloads": -1, "filename": "django-inlinecss-redux-0.0.0.tar.gz", "has_sig": false, "md5_digest": "411e1c5a98605f9328852738f8ad374a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7643, "upload_time": "2017-10-21T22:41:46", "url": "https://files.pythonhosted.org/packages/1c/3b/cae1705d6c77c23b03f56c7cbd3f7d25c85767351a7d325f97c87a60268a/django-inlinecss-redux-0.0.0.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "671be7de763c1725c1f490bda61b70bc", "sha256": "45466391070eda94733c87c574432d2ca4e6c9bd7b23d66528d2d5620203f525" }, "downloads": -1, "filename": "django_inlinecss_redux-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "671be7de763c1725c1f490bda61b70bc", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 8321, "upload_time": "2017-10-21T22:38:28", "url": "https://files.pythonhosted.org/packages/3a/eb/f3004314abd7bf92fb4b27ba7b28b25a936e99b52d4fd831052526041c77/django_inlinecss_redux-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c82d5a1bf5180e96d659eaf3329950c8", "sha256": "675c5d96ced90c435068fbcf3410fd9263584a09d42e131c9ef4245640d53ca0" }, "downloads": -1, "filename": "django-inlinecss-redux-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c82d5a1bf5180e96d659eaf3329950c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4915, "upload_time": "2017-10-21T22:38:30", "url": "https://files.pythonhosted.org/packages/aa/93/d7c7380017a92721849d935887dacec7bb49f283b7da36addf003972df4a/django-inlinecss-redux-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "44e733e56cba872bec535e8d0ce3616c", "sha256": "e2d3ab624aaf0288a20e90f366de1e274bdf49c4dd58f90de82a48f6839692e2" }, "downloads": -1, "filename": "django_inlinecss_redux-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "44e733e56cba872bec535e8d0ce3616c", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 13331, "upload_time": "2017-10-21T22:45:36", "url": "https://files.pythonhosted.org/packages/b7/25/ec4b89d0d12e13695ae310836b5b43bfe0aa008700989ec649988103a9ce/django_inlinecss_redux-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a0aa2821b225cd801b1cd64049f0a1ee", "sha256": "98960ab8b5ea15f2ef391d59da0263e0cce6499a4c9a1c400f3681ef3e698bae" }, "downloads": -1, "filename": "django-inlinecss-redux-0.1.3.tar.gz", "has_sig": false, "md5_digest": "a0aa2821b225cd801b1cd64049f0a1ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7836, "upload_time": "2017-10-21T22:45:38", "url": "https://files.pythonhosted.org/packages/1c/4b/27ae3149acfefd65aeeee4781375d9a6f26ef1dbf25d0851470bcb35d49a/django-inlinecss-redux-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "44e733e56cba872bec535e8d0ce3616c", "sha256": "e2d3ab624aaf0288a20e90f366de1e274bdf49c4dd58f90de82a48f6839692e2" }, "downloads": -1, "filename": "django_inlinecss_redux-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "44e733e56cba872bec535e8d0ce3616c", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 13331, "upload_time": "2017-10-21T22:45:36", "url": "https://files.pythonhosted.org/packages/b7/25/ec4b89d0d12e13695ae310836b5b43bfe0aa008700989ec649988103a9ce/django_inlinecss_redux-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a0aa2821b225cd801b1cd64049f0a1ee", "sha256": "98960ab8b5ea15f2ef391d59da0263e0cce6499a4c9a1c400f3681ef3e698bae" }, "downloads": -1, "filename": "django-inlinecss-redux-0.1.3.tar.gz", "has_sig": false, "md5_digest": "a0aa2821b225cd801b1cd64049f0a1ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7836, "upload_time": "2017-10-21T22:45:38", "url": "https://files.pythonhosted.org/packages/1c/4b/27ae3149acfefd65aeeee4781375d9a6f26ef1dbf25d0851470bcb35d49a/django-inlinecss-redux-0.1.3.tar.gz" } ] }