{ "info": { "author": "Allen.M", "author_email": "menghonglun@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Topic :: Utilities" ], "description": "python-live-stylus\n==============\n\nConvert stylus to css real time. Easily used with any web framwork.\n\nIt depends on the Python Stylus: https://github.com/bkad/python-stylus\n\nAnd the Python Stylus depends on [Node](http://nodejs.org) and [Stylus](http://learnboost.github.com/stylus/)\n\nSo you need install nodejs and stylus node package before .\n\n\n#Install\n\n```\npip install live-stylus\n```\n\n#Usage \n\nFor example , in a flask project :\n\n```python\nfrom flask import Flask\nfrom live_stylus import ConvStylus\n\napp = Flask(__name__)\n\nfrom views import *\n\n\nif __name__ == \"__main__\":\n app.debug = True\n ConvStylus()\n app.run()\n```\n\nIn a bottle project :\n\n```python\nfrom bottle import route, run, template\nfrom live_stylus import ConvStylus\n\n@route('/hello/:name')\ndef index(name='World'):\n return template('Hello {{name}}!', name=name)\n\nif __name__ == \"__main__\":\n ConvStylus()\n run(host='localhost', port=8080)\n```\n\nThen when you modify a .styl file , it will be converted to a same name css file immediately.\neg. css/global.styl => css/global.css\n\nIf you use other web framwork , just put the ConvStylus() before the .run() or .start() code.\n\nIf you want monitor a explicitly directoty's stylus file , you can use:\n\n```python\nConvStylus('/home/xxx/work/project/static/css')\n```\n\n## Questions?\n\nIf you have any questions, please feel free to ask through [New Issue](https://github.com/allenm/python-live-stylus/issues/new).\n\n## License\n\npython-live-stylus is available under the terms of the [MIT License](https://github.com/allenm/python-live-stylus/blob/master/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/allenm/python-live-stylus", "keywords": "stylus css", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "live_stylus", "package_url": "https://pypi.org/project/live_stylus/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/live_stylus/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/allenm/python-live-stylus" }, "release_url": "https://pypi.org/project/live_stylus/0.2.7/", "requires_dist": null, "requires_python": null, "summary": "Convert stylus to css real time. Easily used by any web framwork.", "version": "0.2.7" }, "last_serial": 794257, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2bc9a3fcfc2dcd26e5cb7447c910c866", "sha256": "17ef1e350d62fd73225cb6c4bc0eef865a8ffe6d94fe321ca1c6f2070787d61b" }, "downloads": -1, "filename": "live_stylus-0.1-py2.7.egg", "has_sig": false, "md5_digest": "2bc9a3fcfc2dcd26e5cb7447c910c866", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 3717, "upload_time": "2012-11-22T12:14:08", "url": "https://files.pythonhosted.org/packages/55/04/20b24ef25d3328e18966c6316a9e88065d7479a45988adb05bfb58cebf2a/live_stylus-0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "8ee1ff356150bbe28f07beb2788ce454", "sha256": "a3a6307aad06785d50c4aee2de026eac4ebb1fbd9774cd986e2657eb3ab46586" }, "downloads": -1, "filename": "live_stylus-0.1.tar.gz", "has_sig": false, "md5_digest": "8ee1ff356150bbe28f07beb2788ce454", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1847, "upload_time": "2012-11-22T12:14:42", "url": "https://files.pythonhosted.org/packages/2c/d5/d2701fcfd8bcc3fc3d9b6a15a60b10f443987e39d731abb887b40e8a14b0/live_stylus-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "c5b2a3f34fe5334c85cca6a4acdc583c", "sha256": "4185f6567a821b4d82d870f1dbe983cd89fc6c946280c5170f32fbe116078dd4" }, "downloads": -1, "filename": "live_stylus-0.2.tar.gz", "has_sig": false, "md5_digest": "c5b2a3f34fe5334c85cca6a4acdc583c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1880, "upload_time": "2012-11-22T12:29:41", "url": "https://files.pythonhosted.org/packages/e8/22/3b56b6f958c894718c208b7553e3f8d4ce23e2fc75e92b673d441c48a9d1/live_stylus-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "f82b4d24ccc041612f6a672be7fd19d2", "sha256": "5ede3221769c58d4f620aea99619d84a4d88572822051bb003fbf4f9fdb08a15" }, "downloads": -1, "filename": "live_stylus-0.2.1.tar.gz", "has_sig": false, "md5_digest": "f82b4d24ccc041612f6a672be7fd19d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1911, "upload_time": "2012-11-22T12:44:25", "url": "https://files.pythonhosted.org/packages/de/22/1e96ef83d3442de849ac6583ac83ba778234529e3160d2b2de3bd60de35e/live_stylus-0.2.1.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "fe89972c48788b0f27c97c2a8aa20941", "sha256": "46c7a2cbf266c7d3ede4af9f98aaa1bc41856593299096d62dc60d06ab6a2a56" }, "downloads": -1, "filename": "live_stylus-0.2.3.tar.gz", "has_sig": false, "md5_digest": "fe89972c48788b0f27c97c2a8aa20941", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1924, "upload_time": "2012-11-22T12:57:10", "url": "https://files.pythonhosted.org/packages/9e/1e/3fa8518ec6f10a8241ba74da98ff3d2b8d7cd4444a28d07dd281868deb2e/live_stylus-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "a015c2d4f9ee2970a4f49f706fdacf11", "sha256": "3ab87180365e1d1a2b0272e8c4515c30fe1cea4961d7fd856c543a181d36af2e" }, "downloads": -1, "filename": "live_stylus-0.2.4.tar.gz", "has_sig": false, "md5_digest": "a015c2d4f9ee2970a4f49f706fdacf11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1925, "upload_time": "2012-11-22T13:27:58", "url": "https://files.pythonhosted.org/packages/d7/bc/7a5b19536ea433ccd6db6b33d2db4b934a965bdc04a5e526b4f9e924901a/live_stylus-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "e611668395e9468d92c9397a67dbf315", "sha256": "46979499879311f6a9941d81277a7b624aeea161a12d53fb38b68d29b36cf22e" }, "downloads": -1, "filename": "live_stylus-0.2.5.tar.gz", "has_sig": false, "md5_digest": "e611668395e9468d92c9397a67dbf315", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2680, "upload_time": "2012-11-22T14:10:40", "url": "https://files.pythonhosted.org/packages/5a/3a/d3d87b7dfc38f35930e2e0645e65511b53cbda15ff3e0711b5a6c0d5b89d/live_stylus-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "7618d5ab4861cf5e1b293b7a460b42c9", "sha256": "89d1914e2bcd90ee1179cb9898be944cf5c08963f5ff99edd68f323d9f2ab410" }, "downloads": -1, "filename": "live_stylus-0.2.6.tar.gz", "has_sig": false, "md5_digest": "7618d5ab4861cf5e1b293b7a460b42c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2772, "upload_time": "2012-11-22T14:15:41", "url": "https://files.pythonhosted.org/packages/50/1f/d12492036512b4e34a35a8a5461d031ad1b638dabe126512d3523e9399c7/live_stylus-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "ff7b55c8eaeacf6e26199756095d91e9", "sha256": "b76940b0c89966eface8228e9ba536bee1c86249828e3331c66919b3b0dd4715" }, "downloads": -1, "filename": "live_stylus-0.2.7.tar.gz", "has_sig": false, "md5_digest": "ff7b55c8eaeacf6e26199756095d91e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2764, "upload_time": "2012-11-22T14:40:46", "url": "https://files.pythonhosted.org/packages/29/41/b498c4ed37a3d9dba06559ea2f6b15ae8c421860c0dcecb8f87bf5366e10/live_stylus-0.2.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ff7b55c8eaeacf6e26199756095d91e9", "sha256": "b76940b0c89966eface8228e9ba536bee1c86249828e3331c66919b3b0dd4715" }, "downloads": -1, "filename": "live_stylus-0.2.7.tar.gz", "has_sig": false, "md5_digest": "ff7b55c8eaeacf6e26199756095d91e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2764, "upload_time": "2012-11-22T14:40:46", "url": "https://files.pythonhosted.org/packages/29/41/b498c4ed37a3d9dba06559ea2f6b15ae8c421860c0dcecb8f87bf5366e10/live_stylus-0.2.7.tar.gz" } ] }