{ "info": { "author": "Stefaan Lippens", "author_email": "soxofaan@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "CssDeadwood\n===========\n\n\nCssDeadwood is a tool to search for unused CSS selectors\nby scanning given CSS files for CSS selectors and matching these against\nHTML files (and optionally PHP/Python/Ruby/templates source code).\n\n\nInstallation\n------------\n\nThe easiest way to install CssDeadwood is with pip::\n\n pip install cssdeadwood\n\nor easy_install::\n\n easy_install cssdeadwood\n\nThese will install (among others) the ``cssdeadwood`` script in a ``bin``\nfolder corresponding with the used installation procedure.\n\nNote that CssDeadwood depends on `lxml `_, which may take a while to\ninstall/compile if it is not available on your system already.\n\nDevelopment\n~~~~~~~~~~~\n\nOr, if you want to go for the development version, clone CssDeadwood from\nhttps://github.com/soxofaan/CssDeadwood/\n\n\n\nUsage\n-----\n\nBasic usage of the ``cssdeadwood`` tool is pretty simple:\njust provide pass it one or more CSS files and\none or more HTML files and let it do its job::\n\n\tcssdeadwood style.css index.html\n\nFor example, CssDeadwood comes with a demo mode::\n\n\tcssdeadwood --example\n\n\t--------------------------------------------------------------------------------\n\tRunning CssDeadwood in example mode with following CSS and HTML file as input:\n\t/path/to/cssdeadwood/test/files/css/css001.css\n\t/path/to/cssdeadwood/test/files/html/html001.html\n\t--------------------------------------------------------------------------------\n\tINFO:cssdeadwood:Working with 1 CSS files.\n\tINFO:cssdeadwood:Working with 1 HTML files.\n\tINFO:cssdeadwood:Working with 0 source files.\n\tINFO:cssdeadwood:Analysing CSS selectors from '/path/to/cssdeadwood/test/files/css/css001.css'\n\tINFO:cssdeadwood:Extracted 5 CSS selectors from '/path/to/cssdeadwood/test/files/css/css001.css'.\n\tINFO:cssdeadwood:DOM matching 5 CSS selectors: 3 matches, 2 unmatched with DOM from '/path/to/cssdeadwood/test/files/html/html001.html'\n\t/path/to/cssdeadwood/test/files/css/css001.css\n\tCould not determine usage of the following 2 CSS selectors (from 5 in total: 40.00%):\n\t#content div.ad\n\ta.premium", "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/soxofaan/CssDeadwood/", "keywords": "css deadcode", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "CssDeadwood", "package_url": "https://pypi.org/project/CssDeadwood/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/CssDeadwood/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/soxofaan/CssDeadwood/" }, "release_url": "https://pypi.org/project/CssDeadwood/0.2.7/", "requires_dist": null, "requires_python": null, "summary": "Tool to search CSS files for unused CSS selectors.", "version": "0.2.7" }, "last_serial": 764495, "releases": { "0.2.5": [ { "comment_text": "", "digests": { "md5": "51d61a3464f35a21f9d157ca94dcb15e", "sha256": "ce7c9ce0fea99e43994bc499d8edf6685740a48692e3e74c5f4a561bf50d8c06" }, "downloads": -1, "filename": "CssDeadwood-0.2.5.tar.gz", "has_sig": false, "md5_digest": "51d61a3464f35a21f9d157ca94dcb15e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7798, "upload_time": "2013-05-11T23:36:56", "url": "https://files.pythonhosted.org/packages/26/98/6ff850008d2348f6af4a733e98623c26d33ad4a70bcb7edbe9e21a0491ba/CssDeadwood-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "7c51ce03fc90b65978ccad036da7ede7", "sha256": "47dbb4fa85e7408fbeb06d06d9e5990003dead222aef8afc6b790946e0f36b31" }, "downloads": -1, "filename": "CssDeadwood-0.2.6.tar.gz", "has_sig": false, "md5_digest": "7c51ce03fc90b65978ccad036da7ede7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8115, "upload_time": "2013-05-12T00:35:04", "url": "https://files.pythonhosted.org/packages/b7/90/4a475d51aabb3d8260ecebf98c3b07bf55ae8ee4b9829ae7517eac201bff/CssDeadwood-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "2f6c030df558f38095492d24d537d51d", "sha256": "29708c67e20254b9d3f2762d23085b940939cf23eaec5ef12324f794fab89385" }, "downloads": -1, "filename": "CssDeadwood-0.2.7.tar.gz", "has_sig": false, "md5_digest": "2f6c030df558f38095492d24d537d51d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8878, "upload_time": "2013-05-12T22:56:33", "url": "https://files.pythonhosted.org/packages/73/23/dbfa78db6738b86f81afc5813e5cd92a714084fc4db37688c64377bfc595/CssDeadwood-0.2.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2f6c030df558f38095492d24d537d51d", "sha256": "29708c67e20254b9d3f2762d23085b940939cf23eaec5ef12324f794fab89385" }, "downloads": -1, "filename": "CssDeadwood-0.2.7.tar.gz", "has_sig": false, "md5_digest": "2f6c030df558f38095492d24d537d51d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8878, "upload_time": "2013-05-12T22:56:33", "url": "https://files.pythonhosted.org/packages/73/23/dbfa78db6738b86f81afc5813e5cd92a714084fc4db37688c64377bfc595/CssDeadwood-0.2.7.tar.gz" } ] }