{ "info": { "author": "Andrew Kubera", "author_email": "andrewkubera@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Environment :: Web Environment", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP" ], "description": "============\nGrowler-Sass\n============\n\n|pypi-version| |travis| |coveralls|\n\nA Growler_ middleware package for rendering sass_ files into CSS\nto be sent to the browser.\n\nThis implementation uses libsass_ as the backend.\n\nUsage\n-----\n\nThis package provides the SassMiddleware class exposed in ``growler.ext``, as\nwell as the 'standard' location of ``growler_sass``.\nAs a middleware class, objects are given to the application object in the order\nthey should be called after receiving a client's request. This object checks\nfor the existence of a\n\nExample\n~~~~~~~\n\nIf you have a sass source files named ``client/style/neat_style.sass`` with contents:\n\n.. code:: sass\n\n body\n > p\n color: red\n\nAnd a python script to run a webapp, ``server/app.py``\n\n.. code:: python\n\n # MUST be called like this! You cannot use import growler.ext.SassMiddleware\n from growler.ext import SassMiddleware\n from growler import App\n\n app = App(\"SassExample\")\n\n app.use(SassMiddleware(source=\"client/style\", dest='/styles'))\n ...\n\n @app.get(\"/\")\n def index(req, res):\n res.send_html(\"\"\"\n \n
\n \n \n \nThis text should be red!
\n \n \"\"\")\n\n app.create_server_and_run_forever(...)\n\nA request made to ``/styles/neat_style.css`` will return the compiled contents\nof ``neat_style.sass``:\n\n.. code:: css\n\n body > p {\n color: red; }\n\n\nLicense\n-------\n\nThis python package is licensed under the MIT license.\n\n\n.. _Growler: https://github.com/pyGrowler/Growler\n.. _sass: http://sass-lang.com/\n.. _libsass: https://hongminhee.org/libsass-python/\n\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/growler-sass.svg\n :target: https://pypi.python.org/pypi/growler-sass/\n :alt: Latest PyPI version\n\n\n.. |travis| image:: https://travis-ci.org/pyGrowler/growler-sass.svg?branch=master\n :target: https://travis-ci.org/pyGrowler/growler-sass/branches?branch=master\n :alt: Testing Report (Master Branch)\n\n.. |coveralls| image:: https://coveralls.io/repos/github/pyGrowler/growler-sass/badge.svg?branch=master\n :target: https://coveralls.io/github/pyGrowler/growler-sass?branch=master\n :alt: Coverage Report (Master Branch)\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/pygrowler/growler-sass/archive/v0.1.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pygrowler/growler-sass", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "growler-sass", "package_url": "https://pypi.org/project/growler-sass/", "platform": "all", "project_url": "https://pypi.org/project/growler-sass/", "project_urls": { "Download": "https://github.com/pygrowler/growler-sass/archive/v0.1.0.tar.gz", "Homepage": "https://github.com/pygrowler/growler-sass" }, "release_url": "https://pypi.org/project/growler-sass/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "An extension providing a SASS CSS renderer for Growler web applications", "version": "0.1.0" }, "last_serial": 2375294, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "4d5bf705a582f261b5ac44cb09ac17e0", "sha256": "99a84b5c16af3237198b275e450800ace546082c0ea487a9af0c5e7930d2bf27" }, "downloads": -1, "filename": "growler_sass-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4d5bf705a582f261b5ac44cb09ac17e0", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5006, "upload_time": "2016-10-01T16:36:48", "url": "https://files.pythonhosted.org/packages/30/29/8bae69cd79189d4d91814537a30656e6db48478b8e7c1004beb76da5bcaa/growler_sass-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3fcfa51f8be104269a4844760e412a8a", "sha256": "12b24169b80bb061102d30d363a40edfd5b5ac0322099d1cc674339a0769f555" }, "downloads": -1, "filename": "growler-sass-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3fcfa51f8be104269a4844760e412a8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5036, "upload_time": "2016-10-01T16:36:45", "url": "https://files.pythonhosted.org/packages/b0/46/c45a4a2246b344f44d0373e1616ea6d9aa589c59b9ac49ab6aebe6ad0ab9/growler-sass-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "ec1350bdf5dabe1f4ca013c6dc6a0715", "sha256": "f74bf7c2f9f193db906e2615445054a279e58a909e9c4dd920fba99a031f26ce" }, "downloads": -1, "filename": "growler_sass-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ec1350bdf5dabe1f4ca013c6dc6a0715", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5224, "upload_time": "2016-10-01T20:45:22", "url": "https://files.pythonhosted.org/packages/ec/d0/fbf69e0244d5c166a0460f9938f990851d0e93bcd662634755b5ef110010/growler_sass-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e758f1be2ecafb8817db9b14adcbf5db", "sha256": "d74bb12a4213d5ad1c72efb69e629b5539466f367cbfcd0fa64343c672cdd5c9" }, "downloads": -1, "filename": "growler-sass-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e758f1be2ecafb8817db9b14adcbf5db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6277, "upload_time": "2016-10-01T20:45:19", "url": "https://files.pythonhosted.org/packages/42/6d/14e0284090fa0e9a668b3f065a1bb8e4adcf652ae59047f76f760e989db1/growler-sass-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec1350bdf5dabe1f4ca013c6dc6a0715", "sha256": "f74bf7c2f9f193db906e2615445054a279e58a909e9c4dd920fba99a031f26ce" }, "downloads": -1, "filename": "growler_sass-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ec1350bdf5dabe1f4ca013c6dc6a0715", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5224, "upload_time": "2016-10-01T20:45:22", "url": "https://files.pythonhosted.org/packages/ec/d0/fbf69e0244d5c166a0460f9938f990851d0e93bcd662634755b5ef110010/growler_sass-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e758f1be2ecafb8817db9b14adcbf5db", "sha256": "d74bb12a4213d5ad1c72efb69e629b5539466f367cbfcd0fa64343c672cdd5c9" }, "downloads": -1, "filename": "growler-sass-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e758f1be2ecafb8817db9b14adcbf5db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6277, "upload_time": "2016-10-01T20:45:19", "url": "https://files.pythonhosted.org/packages/42/6d/14e0284090fa0e9a668b3f065a1bb8e4adcf652ae59047f76f760e989db1/growler-sass-0.1.0.tar.gz" } ] }