{ "info": { "author": "plausibility", "author_email": "chris@gibsonsec.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Topic :: Text Processing" ], "description": "spiffing.py\n===========\n\nWhy hello there, kind sir! If you are the sort of web developer who feels a need for tea and crumpets whilst discussing the weather, this will be right up your alley. **spiffing.py** is a Python port of `Spiffing CSS `_ (written by our friend `@idiot `_), a CSS pre-processor for the gentlemanly web developer in all of us.\n\n**spiffing.py** has one job, and one job alone: correcting the spelling errors prevalent in the language, created by our chums over in the States.\n\nAs of version ``1.1.0`` (and onwards), you can convert CSS back and forth between American and Proper English at your whim. Isn't it just lovely?\n\nRequirements\n------------\n\n- Python 2.7.3\n\nThat's all!\n\nTo install:\n-----------\nSimply install the spiffing.py package, and use it directly in your applications to convert well written, classy CSS to CSS much more likely to be understood by our brethren in the States.\n\n- ``pip install spiffing``\n- ``import spiffing``\n- Convert your wonderfully written, grammatically correct files to CSS (to help our non-English speaking friends use it).\n- The class you'll want to use is ``spiffing.Monocle``.\n\nA small example\n---------------\n\n.. code-block:: python\n \n import spiffing\n spiffing_css = \"\"\"body {\n background-colour: grey !please;\n font-weight: plump;\n text-transform: capitalise;\n }\"\"\"\n stateside = spiffing.Monocle(spiffing_css)\n print stateside.american\n\nAnd to spiff up your American English CSS:\n\n.. code-block:: python\n\n import spiffing\n butchered_css = \"\"\"body {\n background-color: gray !important;\n font-weight: bold;\n text-transform: capitalize;\n }\"\"\"\n proper = spiffing.Monocle(butchered_css)\n print proper.english", "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/plausibility/spiffing.py", "keywords": "css preprocessor markup english jam", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "spiffing", "package_url": "https://pypi.org/project/spiffing/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/spiffing/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/plausibility/spiffing.py" }, "release_url": "https://pypi.org/project/spiffing/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "The gentleman's CSS pre-processor, to convert correct English CSS to American English CSS (and the reverse).", "version": "1.1.0" }, "last_serial": 799948, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "8ce9437b4010cf4f9154be2eaccc5b44", "sha256": "a67a06589b45866ff56de70dd49394c7b7d9448eae5a5a9757574817734bee5e" }, "downloads": -1, "filename": "spiffing-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8ce9437b4010cf4f9154be2eaccc5b44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2974, "upload_time": "2013-03-21T07:32:09", "url": "https://files.pythonhosted.org/packages/56/c0/23a2cfb9bb62f159d06723cf9e8b6c55ab39f69454248ce788ba02d64676/spiffing-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "1734629212210d78ce76ba79fcf6452d", "sha256": "4fcf87cbeccbbd7ddb0fc1a26f313aff4fc77d3b339740a3e528306fe8e55d6e" }, "downloads": -1, "filename": "spiffing-1.0.1.tar.gz", "has_sig": false, "md5_digest": "1734629212210d78ce76ba79fcf6452d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2947, "upload_time": "2013-03-23T05:11:21", "url": "https://files.pythonhosted.org/packages/84/f6/d2f4293f6cc1c6c6e23bac7a471df83b9c72a98f68d9868202d4ba72cd5e/spiffing-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "4d13e35dd7d6b9fbc09024c8ba4368b6", "sha256": "793af36056f1d6e43bd22b1edee4a1ab5cda8ae0bbde419d7aaf15b5bea3adcf" }, "downloads": -1, "filename": "spiffing-1.1.0.tar.gz", "has_sig": false, "md5_digest": "4d13e35dd7d6b9fbc09024c8ba4368b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3479, "upload_time": "2013-04-03T03:54:08", "url": "https://files.pythonhosted.org/packages/15/4b/3fd1dce177d325f3f3136c9f5a94875399ea75eac39874272e5d0df13f84/spiffing-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4d13e35dd7d6b9fbc09024c8ba4368b6", "sha256": "793af36056f1d6e43bd22b1edee4a1ab5cda8ae0bbde419d7aaf15b5bea3adcf" }, "downloads": -1, "filename": "spiffing-1.1.0.tar.gz", "has_sig": false, "md5_digest": "4d13e35dd7d6b9fbc09024c8ba4368b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3479, "upload_time": "2013-04-03T03:54:08", "url": "https://files.pythonhosted.org/packages/15/4b/3fd1dce177d325f3f3136c9f5a94875399ea75eac39874272e5d0df13f84/spiffing-1.1.0.tar.gz" } ] }