{ "info": { "author": "podhmo", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Programming Language :: Python :: Implementation :: CPython" ], "description": "cssdiff\n========================================\n\nsemantic css diff\n\ninstall\n----------------------------------------\n\n::\n\n pip install cssdiff\n\nsee css difference\n----------------------------------------\n\n`cssdiff` command is installed. using this command, be enable to see css difference.\n\nadding detection\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nwe have two files.\n\n- x-only.css\n- all.css\n\nx-only.css include only about x element, all.css has about x and y.\n\n.. code-block:: bash\n\n $ cat data/x-only.css\n x {\n color: black;\n display: none;\n }\n $ cat data/all.css\n x {\n color: black;\n display: none;\n }\n\n y {\n color: white;\n display: none;\n }\n\nso, cssdiff answered, addition about y.\n\n.. code-block:: bash\n\n $ cssdiff data/x-only.css data/all.css\n y {\n + color: white;\n + display: none;\n }\n\nchanging detection\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nIf x's color is changed, cssdiff tell me that x's color is changed.\n\n.. code-block:: bash\n\n $ cat data/x-color-changed.css\n x {\n color: white;\n display: none;\n }\n\n y {\n color: white;\n display: none;\n }\n\n $ cssdiff data/all.css data/x-color-changed.css\n x {\n - color: black;\n + color: white;\n }\n\nsemantic diff\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nbelow files are same meaning of all.css. so, no-difference.\n\n.. code-block:: bash\n\n $ cat data/all-separated.css\n x {\n color: black;\n }\n\n y {\n color: white;\n }\n\n x {\n display: none;\n }\n\n y {\n display: none;\n }\n $ cssdiff data/all.css data/all-separated.css\n\n $ cat data/all-squashed.css\n x,\n y{\n display: none;\n }\n\n x {\n color: black;\n }\n\n y {\n color: white;\n }\n $ cssdiff data/all.css data/all-separated.css\n\n $ cat data/all-conflicted.css\n x {\n color: white;\n display: none;\n }\n\n y {\n color: white;\n display: none;\n }\n\n x {\n color: black;\n display: none;\n }\n\n y {\n color: white;\n display: none;\n }\n $ cssdiff data/all.css data/all-conflicted.css\n\n\nappendix\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nextra.css has extra information. so, cssdiff notify it.\n\n.. code-block:: bash\n\n $ cat data/extra.css\n x,\n y,\n a > b,\n a + b{\n display: none;\n }\n\n x {\n color: black;\n }\n\n y {\n color: white;\n }\n $ cssdiff data/all.css data/extra.css\n a + b {\n + display: none;\n }\n\n a > b {\n + display: none;\n }", "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/podhmo/cssdiff", "keywords": "css,cssdiff,diff,semantic diff,web", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "cssdiff", "package_url": "https://pypi.org/project/cssdiff/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cssdiff/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/podhmo/cssdiff" }, "release_url": "https://pypi.org/project/cssdiff/0.1/", "requires_dist": null, "requires_python": null, "summary": "semantic css diff", "version": "0.1" }, "last_serial": 1930508, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "064a36b314015971198e4ae7d37e6f37", "sha256": "991ea7bdf77d5db79adca1816247a3dcc5b09966106c75ddff1d9a80f5c3ceb0" }, "downloads": -1, "filename": "cssdiff-0.1.tar.gz", "has_sig": false, "md5_digest": "064a36b314015971198e4ae7d37e6f37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3517, "upload_time": "2016-01-30T03:45:31", "url": "https://files.pythonhosted.org/packages/0f/71/9386ff6f7d55e6d346110ae0c05a3bb622ff05f4a6b91eb7d4a77a28a414/cssdiff-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "064a36b314015971198e4ae7d37e6f37", "sha256": "991ea7bdf77d5db79adca1816247a3dcc5b09966106c75ddff1d9a80f5c3ceb0" }, "downloads": -1, "filename": "cssdiff-0.1.tar.gz", "has_sig": false, "md5_digest": "064a36b314015971198e4ae7d37e6f37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3517, "upload_time": "2016-01-30T03:45:31", "url": "https://files.pythonhosted.org/packages/0f/71/9386ff6f7d55e6d346110ae0c05a3bb622ff05f4a6b91eb7d4a77a28a414/cssdiff-0.1.tar.gz" } ] }