{
"info": {
"author": "Alessandro Molina",
"author_email": "alessandro.molina@axant.it",
"bugtrack_url": null,
"classifiers": [
"Environment :: Web Environment",
"Framework :: TurboGears",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "About tgext.scss\n-------------------------\n\n`SCSS `_ is a cool and useful extension to CSS,\nbut it always required some effort to be used and even\nspecific production environment configurations for some systems.\n\ntgext.scss has born to make life easier for `TurboGears2 `_ developers,\nit will rely on an internal minimal SCSS compiler\n(based on `Zeta-Library `_ SCSS parser)\nto serve all the files in your public directory\nthat end with *.scss* as **text/css** converting them and minifying them.\n\nInstalling\n-------------------------------\n\ntgext.scss can be installed both from pypi or from bitbucket::\n\n easy_install tgext.scss\n\nshould just work for most of the users\n\nEnabling tgext.scss\n----------------------------------\n\nIf tgext.pluggable is available enabling tgext.scss is just a matter of appending to your `config/app_cfg.py`::\n\n from tgext.pluggable import plug\n plug(base_config, 'tgext.scss')\n\nOtherwise manually using tgext.scss is really simple, you edit your `config/middeware.py` and just after\nthe `#Wrap your base TurboGears 2 application with custom middleware here` comment wrap\n`app` with `SCSSMiddleware`::\n\n from tgext.scss import SCSSMiddleware\n\n make_base_app = base_config.setup_tg_wsgi_app(load_environment)\n\n def make_app(global_conf, full_stack=True, **app_conf):\n app = make_base_app(global_conf, full_stack=True, **app_conf)\n\n # Wrap your base TurboGears 2 application with custom middleware here\n app = SCSSMiddleware(app)\n \n return app\n\n\nNow you just have to put your .scss file inside *public/css* and they will be served as CSS.\n\n@Import Support\n-----------------------------------\n\ntgext.scss provides minimal support for @import command. The required syntax is in the form::\n\n @import url('/css/file.scss');\n\nThe specified path is relative to your project public files directory.\n*Nested imports are not implemented right now, this means that imported files cannot import another scss*\n\nHow much it will slow me down?\n-----------------------------------\n\nActually as tgext.scss uses aggressive caching it won't you slow down at all,\nindeed it might even be able to serve you CSS files even faster.\n\nHere is the report of a benchmark (absolutely not reliable as every other benchmark)\nmade on paster serving the same CSS file or SCSS::\n\n $ /usr/sbin/ab -n 1000 http://localhost:8080/css/style.css\n Requests per second: 961.26 [#/sec] (mean)\n\n $ /usr/sbin/ab -n 1000 http://localhost:8080/css/style.scss\n Requests per second: 1200.34 [#/sec] (mean)\n\nIn these case SCSS is even faster than directly serving the same css file as\nit is served from memory (due to caching performed by tgext.scss)\nand is also minified resulting in less bandwith usage.\n\nOff course this means that tgext.scss will require a bit more memory than serving\nyour css files alone, but as css files are usually small this amount is trascurable.",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://bitbucket.org/_amol_/tgext.scss",
"keywords": "turbogears2.extension SCSS WSGI",
"license": "MIT",
"maintainer": null,
"maintainer_email": null,
"name": "tgext.scss",
"package_url": "https://pypi.org/project/tgext.scss/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/tgext.scss/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "http://bitbucket.org/_amol_/tgext.scss"
},
"release_url": "https://pypi.org/project/tgext.scss/0.4.3/",
"requires_dist": null,
"requires_python": null,
"summary": "SCSS for TurboGears2, fast middleware to use SCSS for all your CSS",
"version": "0.4.3"
},
"last_serial": 1034803,
"releases": {
"0.1.1dev": [
{
"comment_text": "",
"digests": {
"md5": "cc803e10b09f3995e38deb54570c541a",
"sha256": "f40b10a16bd7ba2584f9e613d59208046ba52af29cfc2aa5dcb5d44dc19ab1f3"
},
"downloads": -1,
"filename": "tgext.scss-0.1.1dev.tar.gz",
"has_sig": false,
"md5_digest": "cc803e10b09f3995e38deb54570c541a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3420,
"upload_time": "2012-01-06T22:09:49",
"url": "https://files.pythonhosted.org/packages/7d/60/f9a3fb4c840f633d4bffeb1420e2e9b83c993256fdb0234fa89c64c00e08/tgext.scss-0.1.1dev.tar.gz"
}
],
"0.1dev": [
{
"comment_text": "",
"digests": {
"md5": "79b21906f270c60da04ce7b142a39d25",
"sha256": "6e2a76d5e24f6bac9d8c1761712a81b50deb31a61b5dedc834d00fe710fd0365"
},
"downloads": -1,
"filename": "tgext.scss-0.1dev.tar.gz",
"has_sig": false,
"md5_digest": "79b21906f270c60da04ce7b142a39d25",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3276,
"upload_time": "2011-08-04T17:44:12",
"url": "https://files.pythonhosted.org/packages/79/ed/ac61ef95924061c776137c1e350d20c33c86e6808f493d27f6ce547b704e/tgext.scss-0.1dev.tar.gz"
}
],
"0.2.0dev": [
{
"comment_text": "",
"digests": {
"md5": "eb50f83aa84885770519ef942735f1aa",
"sha256": "77123fed4a0eeeafe9c8d90acd530525ff22e0c949b95ac8aae8d4866629f16d"
},
"downloads": -1,
"filename": "tgext.scss-0.2.0dev.tar.gz",
"has_sig": false,
"md5_digest": "eb50f83aa84885770519ef942735f1aa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 37179,
"upload_time": "2012-01-07T20:00:54",
"url": "https://files.pythonhosted.org/packages/8e/cc/0fcbfc0a6b82d4041c822d3c3c35e55448a7e8298ef4e0fa8b807c6c43dd/tgext.scss-0.2.0dev.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "d9e55ebe2ac2a7ee058fa5b07f844b3b",
"sha256": "3880d48fcbe34f24c37ba98471686fcd74aab84eb7e37a4ddf4670382ccf4f4b"
},
"downloads": -1,
"filename": "tgext.scss-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "d9e55ebe2ac2a7ee058fa5b07f844b3b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 37168,
"upload_time": "2012-01-18T16:57:37",
"url": "https://files.pythonhosted.org/packages/47/fc/fe0a8f658badec5f15c700c3fb34e2c182af74c5556b5985678d8c619c67/tgext.scss-0.2.1.tar.gz"
}
],
"0.3.0": [
{
"comment_text": "",
"digests": {
"md5": "0cf180ee5bf73f34c8e8f31b5ec4167c",
"sha256": "c385a8506099d730ea56eca91a95dfdaddbc1931b5438e6d85f74534dcd027bf"
},
"downloads": -1,
"filename": "tgext.scss-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "0cf180ee5bf73f34c8e8f31b5ec4167c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 38728,
"upload_time": "2012-08-10T15:36:23",
"url": "https://files.pythonhosted.org/packages/67/12/0c878106bf3a720b93a6e380db4033a540b08e74a51905733587996bb729/tgext.scss-0.3.0.tar.gz"
}
],
"0.4.0": [
{
"comment_text": "",
"digests": {
"md5": "f46e87d9a6c6a083ead333d5db62e3f0",
"sha256": "d509c3876c4179e1dbf2c15cdeba1625c042b9e6a2df9bebe061a041503ad471"
},
"downloads": -1,
"filename": "tgext.scss-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "f46e87d9a6c6a083ead333d5db62e3f0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4325,
"upload_time": "2012-12-03T10:55:13",
"url": "https://files.pythonhosted.org/packages/db/af/4d03a6b7d8fae3cca863fdede4d860df61f81940cf3c369516dc651d3900/tgext.scss-0.4.0.tar.gz"
}
],
"0.4.1": [
{
"comment_text": "",
"digests": {
"md5": "e865c3d3bc522edb7201bb74852b475f",
"sha256": "fe981b640084151b912371eb086cb0c019066bc171aa10494df71b4eece01f39"
},
"downloads": -1,
"filename": "tgext.scss-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "e865c3d3bc522edb7201bb74852b475f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4364,
"upload_time": "2012-12-03T17:39:05",
"url": "https://files.pythonhosted.org/packages/84/32/1a5a58d1ac3f17dad561f59ffbde222afb0f2faff66a5b0fd119d2309c9e/tgext.scss-0.4.1.tar.gz"
}
],
"0.4.2": [
{
"comment_text": "",
"digests": {
"md5": "d537e29047157076bc87d6169ad1658a",
"sha256": "7137b721a01221a9b00e23bdb534ceedd7fc0db00a43307016c1d13461a24857"
},
"downloads": -1,
"filename": "tgext.scss-0.4.2.tar.gz",
"has_sig": false,
"md5_digest": "d537e29047157076bc87d6169ad1658a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4407,
"upload_time": "2013-05-21T21:46:39",
"url": "https://files.pythonhosted.org/packages/85/7c/61f5a11fa536e21cddd51b66ac8f1a890fa110b61711f6f19e71ad5f884d/tgext.scss-0.4.2.tar.gz"
}
],
"0.4.3": [
{
"comment_text": "",
"digests": {
"md5": "e6ff49f92a781a55cd76799b8f2df4f8",
"sha256": "9d525aa1ef47e070b992df5666362ed0c5d60a4abbf35eb984d22fb0183b617c"
},
"downloads": -1,
"filename": "tgext.scss-0.4.3.tar.gz",
"has_sig": false,
"md5_digest": "e6ff49f92a781a55cd76799b8f2df4f8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4476,
"upload_time": "2014-03-19T11:28:41",
"url": "https://files.pythonhosted.org/packages/8b/90/73497bd1f15966718b6bac58fa7068bcc4f6ee8fcf3223aa41d83ebc9270/tgext.scss-0.4.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "e6ff49f92a781a55cd76799b8f2df4f8",
"sha256": "9d525aa1ef47e070b992df5666362ed0c5d60a4abbf35eb984d22fb0183b617c"
},
"downloads": -1,
"filename": "tgext.scss-0.4.3.tar.gz",
"has_sig": false,
"md5_digest": "e6ff49f92a781a55cd76799b8f2df4f8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4476,
"upload_time": "2014-03-19T11:28:41",
"url": "https://files.pythonhosted.org/packages/8b/90/73497bd1f15966718b6bac58fa7068bcc4f6ee8fcf3223aa41d83ebc9270/tgext.scss-0.4.3.tar.gz"
}
]
}