{ "info": { "author": "Manuel Albarran", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "flask-stylus2css\n================\n\nA small Flask extension that makes it easy to use Stylus with your Flask application.\n\nUsage\n-----\n\nYou can activate it by calling the ``stylus2css`` function with your Flask app as a parameter:\n\n from flaskext.stylus2css import stylus2css\n stylus2css(app, css_folder='css', stylus_folder='src/stylus')\n\nThis will intercept the request to ``css_folder`` and compile de file if is necesary using the files from ``stylus_folder``.\n\nWhen you deploy your app you might not want to accept the overhead of checking the modification time of your ``.stylus`` and ``.css`` files on each request. A simple way to avoid this is wrapping the stylus2css call in an if statement:\n\n if app.debug:\n from flaskext.stylus2css import stylus2css\n stylus2css(app)\n \nIf you do this you'll be responsible for rendering the ``.stylus`` files into ``.css`` when you deploy in non-debug mode to your production server.\n\n\n- documentation_\n- development_\n\n\n.. _documentation: https://github.com/weapp/flask-stylus2css\n.. _development: https://github.com/weapp/flask-stylus2css", "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/weapp/flask-stylus2css", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "flask-stylus2css", "package_url": "https://pypi.org/project/flask-stylus2css/", "platform": "any", "project_url": "https://pypi.org/project/flask-stylus2css/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/weapp/flask-stylus2css" }, "release_url": "https://pypi.org/project/flask-stylus2css/0.1/", "requires_dist": null, "requires_python": null, "summary": "A small Flask extension that adds Stylus support to Flask.", "version": "0.1" }, "last_serial": 792045, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "99f8bd8e2fb6506b240fc8ce1865bf5e", "sha256": "068d9e16ad938be437240696aa0a7e67901978ef6ee0fd0808e31ea2f904f9bd" }, "downloads": -1, "filename": "flask-stylus2css-0.1.zip", "has_sig": false, "md5_digest": "99f8bd8e2fb6506b240fc8ce1865bf5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5752, "upload_time": "2012-09-08T13:28:21", "url": "https://files.pythonhosted.org/packages/64/e3/7ceac959b23c72b00de06b3fd0f722623821e91cca060aa4d1613657e2cd/flask-stylus2css-0.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "99f8bd8e2fb6506b240fc8ce1865bf5e", "sha256": "068d9e16ad938be437240696aa0a7e67901978ef6ee0fd0808e31ea2f904f9bd" }, "downloads": -1, "filename": "flask-stylus2css-0.1.zip", "has_sig": false, "md5_digest": "99f8bd8e2fb6506b240fc8ce1865bf5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5752, "upload_time": "2012-09-08T13:28:21", "url": "https://files.pythonhosted.org/packages/64/e3/7ceac959b23c72b00de06b3fd0f722623821e91cca060aa4d1613657e2cd/flask-stylus2css-0.1.zip" } ] }