{ "info": { "author": "Mariano Guerra", "author_email": "luismarianoguerra@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: MacOS X", "Environment :: Web Environment", "Environment :: Win32 (MS Windows)", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: Microsoft", "Operating System :: Microsoft :: Windows", "Operating System :: Microsoft :: Windows :: Windows 7", "Operating System :: Microsoft :: Windows :: Windows Server 2003", "Operating System :: Microsoft :: Windows :: Windows Server 2008", "Operating System :: Microsoft :: Windows :: Windows Vista", "Operating System :: Microsoft :: Windows :: Windows XP", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: POSIX :: BSD", "Operating System :: POSIX :: BSD :: BSD/OS", "Operating System :: POSIX :: BSD :: FreeBSD", "Operating System :: POSIX :: BSD :: NetBSD", "Operating System :: POSIX :: BSD :: OpenBSD", "Operating System :: POSIX :: GNU Hurd", "Operating System :: POSIX :: Linux", "Operating System :: POSIX :: Other", "Operating System :: Unix", "Programming Language :: C", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python :: Implementation :: Stackless", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Markup", "Topic :: Utilities" ], "description": "SassPython - bindings for libsass\n=================================\n\nwhy?\n----\n\n* the guy on this talk asqued for it: http://www.confreaks.com/videos/859-railsconf2012-the-future-of-sass\n* I wanted to play with ctypes\n\nwho?\n----\n\nmarianoguerra\n\nhow?\n----\n\nfirst of all download, compile and install libsass::\n\n git clone https://github.com/hcatlin/libsass.git\n cd libsass\n ./configure\n make\n sudo make install\n\nthen you can play with this project in two ways\n\ncommand line\n............\n\nif no options provided read from stdin::\n\n \u279c src ./sass.py \n table.hl td.ln {\n text-align: right;\n }\n\n table.hl td.ln {\n text-align: right; }\n\nfrom a file::\n\n \u279c src ./sass.py -f ../examples/simple.scss\n\n .content-navigation {\n border-color: #3bbfce;\n color: darken(#3bbfce, 9%); }\n\n .border {\n padding: 8px;\n margin: 8px;\n border-color: #3bbfce; }\n\nfrom a folder:\n\n.. image:: http://chzscience.files.wordpress.com/2011/11/funny-science-news-experiments-memes-dog-science-fuzzy-logic.jpg\n\n::\n\n # I think it doesn't work, never used sass before and don't know what\n # this means :)\n \u279c src ./sass.py -d ../examples/\n\nyou can't chew gum and walk at the same time::\n\n \u279c src ./sass.py -f ../examples/simple.scss -d ~\n usage: sass.py [-h] [-f FILE_PATH | -d DIR_PATH]\n sass.py: error: argument -d/--dir: not allowed with argument -f/--file\n\ncode\n....\n\nfrom a string::\n\n Python 2.7.3 (default, Apr 20 2012, 22:44:07) \n\n >>> import sass\n >>> STYLE = \"\"\"\n ... table.hl td.ln {\n ... text-align: right;\n ... }\n ... \"\"\"\n\n >>> ok, style = sass.compile(STYLE)\n\n >>> ok\n True\n\n >>> print style\n table.hl td.ln {\n text-align: right; }\n\nfrom a file::\n\n >>> ok, style = sass.compile_path(\"../examples/simple.scss\")\n\n >>> ok\n True\n\n >>> print style\n .content-navigation {\n border-color: #3bbfce;\n color: darken(#3bbfce, 9%); }\n\n .border {\n padding: 8px;\n margin: 8px;\n border-color: #3bbfce; }\n\nfrom a folder::\n\n >>> ok, style = sass.compile_folder(\"../examples/\")\n \n # ???\n # Profit!\n\nhow to install?\n---------------\n\nfrom sources\n............\n\npython 2::\n\n sudo python2 setup.py install\n\npython 3::\n\n sudo python3 setup.py install\n\nusing pip\n.........\n\n::\n\n sudo pip install SassPython\n\nlicense?\n--------\n\nMIT + optional beer for the creator\n\nwhat's left to do?\n------------------\n\n* make the folder stuff work\n* add command line options to specify option styles\n* see what the return value of the compile_* means and use it if needed", "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/marianoguerra/SassPython", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "SassPython", "package_url": "https://pypi.org/project/SassPython/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/SassPython/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/marianoguerra/SassPython" }, "release_url": "https://pypi.org/project/SassPython/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "binding for libsass", "version": "0.2.1" }, "last_serial": 785602, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "49d816bb2ff26da6674085a343796c9f", "sha256": "6eceb685f8ed3aed7d464d9771cf5160ec64c4c92f2b43af68547511c656f60f" }, "downloads": -1, "filename": "SassPython-0.1.0.tar.gz", "has_sig": false, "md5_digest": "49d816bb2ff26da6674085a343796c9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3568, "upload_time": "2012-07-31T14:50:29", "url": "https://files.pythonhosted.org/packages/7d/65/cf6d432457b572349cceda7e05175902e6599ba3dcbb67775d898efb2291/SassPython-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "49d3b7afc86acd2afcb6a298211aa803", "sha256": "31a231b50b64453c54811ef025e59c45fe7bfba1abc722a66ebba817165a9446" }, "downloads": -1, "filename": "SassPython-0.2.0.tar.gz", "has_sig": false, "md5_digest": "49d3b7afc86acd2afcb6a298211aa803", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5602, "upload_time": "2012-08-08T09:40:37", "url": "https://files.pythonhosted.org/packages/c8/a8/421519485740b98618ec36bfc134a486afa2f8b611ba56a951c7bd900990/SassPython-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "built for Linux-3.2.0-27-generic-pae-i686-with-glibc2.7", "digests": { "md5": "222e66e4ee08a713e18a65d4e69df1cc", "sha256": "029e38e4c63277232dadfc96be463e6efebea887ff51a11e3000005e10a5b48f" }, "downloads": -1, "filename": "SassPython-0.2.1.linux-i686.tar.gz", "has_sig": false, "md5_digest": "222e66e4ee08a713e18a65d4e69df1cc", "packagetype": "bdist_dumb", "python_version": "2.7", "requires_python": null, "size": 816387, "upload_time": "2012-08-08T10:09:58", "url": "https://files.pythonhosted.org/packages/2e/c1/e478d1dde227153c9e83461147cca7d984e3fa35c279a857d40a217bb038/SassPython-0.2.1.linux-i686.tar.gz" }, { "comment_text": "", "digests": { "md5": "6cf2baff4c53a474178a0f7f8343cfe0", "sha256": "1a3d9d5a2ac4ad809ec6ae70bbcfa3aa1b2e47052aa17bfc7f83c498ee0aeb70" }, "downloads": -1, "filename": "SassPython-0.2.1.tar.gz", "has_sig": false, "md5_digest": "6cf2baff4c53a474178a0f7f8343cfe0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5616, "upload_time": "2012-08-08T10:02:27", "url": "https://files.pythonhosted.org/packages/5b/39/5c8114b333de15bef4766af1b24b21b2f2a077e4e3da5da7b885b18a7d80/SassPython-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "built for Linux-3.2.0-27-generic-pae-i686-with-glibc2.7", "digests": { "md5": "222e66e4ee08a713e18a65d4e69df1cc", "sha256": "029e38e4c63277232dadfc96be463e6efebea887ff51a11e3000005e10a5b48f" }, "downloads": -1, "filename": "SassPython-0.2.1.linux-i686.tar.gz", "has_sig": false, "md5_digest": "222e66e4ee08a713e18a65d4e69df1cc", "packagetype": "bdist_dumb", "python_version": "2.7", "requires_python": null, "size": 816387, "upload_time": "2012-08-08T10:09:58", "url": "https://files.pythonhosted.org/packages/2e/c1/e478d1dde227153c9e83461147cca7d984e3fa35c279a857d40a217bb038/SassPython-0.2.1.linux-i686.tar.gz" }, { "comment_text": "", "digests": { "md5": "6cf2baff4c53a474178a0f7f8343cfe0", "sha256": "1a3d9d5a2ac4ad809ec6ae70bbcfa3aa1b2e47052aa17bfc7f83c498ee0aeb70" }, "downloads": -1, "filename": "SassPython-0.2.1.tar.gz", "has_sig": false, "md5_digest": "6cf2baff4c53a474178a0f7f8343cfe0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5616, "upload_time": "2012-08-08T10:02:27", "url": "https://files.pythonhosted.org/packages/5b/39/5c8114b333de15bef4766af1b24b21b2f2a077e4e3da5da7b885b18a7d80/SassPython-0.2.1.tar.gz" } ] }