{ "info": { "author": "Josh Ziegler", "author_email": "josh.s.ziegler@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# z-format\n\nAn opinionated CLI formatter for JavaScript and CSS (beautify or minimize). \n\nIf the file is being beautified, the file's contents are replaced with the new \nformatting. If the file is being minimized, we create a new file with `.min` \nbefore the normal file extensions (e.g. `.min.js` or `.min.css`). \n\n\n## Usage\n\n```sh\nusage: format.py [-h] [-m] path\n\nAn opinionated CLI formatter for JavaScript and CSS (beautify or minimize). \n\npositional arguments:\n path file's path to format\n\noptional arguments:\n -h, --help show this help message and exit\n -m, --minify minimize the file's content instead of beautifying\n```\n\n\n## Install\n\n```sh\npip install z-format\n```\n\n\n## Dependencies\n\nThis is a simple wrapper for several libraries which it installs by default:\n\n - jsbeautifier - JavaScript beautification\n - jsmin - JavaScript minification\n - cssformatter - CSS beautification and minification\n\n\n## License\n\nMIT License\n\nCopyright (c) 2017 Joshua S. Ziegler \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/joshsziegler/z-format", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "zformat", "package_url": "https://pypi.org/project/zformat/", "platform": "", "project_url": "https://pypi.org/project/zformat/", "project_urls": { "Homepage": "https://github.com/joshsziegler/z-format" }, "release_url": "https://pypi.org/project/zformat/0.9.2/", "requires_dist": [ "jsbeautifier (>=1.6)", "jsmin (>=2.2)" ], "requires_python": ">=3.4", "summary": "An opinionated CLI format checker, formatter and minimizer for JavaScript and CSS.", "version": "0.9.2" }, "last_serial": 3314367, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "5c0ad3a93afb871830adcdb953091940", "sha256": "fdda59ebf0b40d80133fe40e920f9e63e4e14f233507c9da9795ce1b5d894471" }, "downloads": -1, "filename": "zformat-0.9.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5c0ad3a93afb871830adcdb953091940", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 6730, "upload_time": "2017-11-07T20:46:20", "url": "https://files.pythonhosted.org/packages/42/13/17ff6dfc6fff00db8082d4c9b3696925afd2233a05ac6f64acc9de662bb1/zformat-0.9.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3ecab0487440c00b8495efc5a593230", "sha256": "4d9a18bd97e43f43b9f0003658128f25f32a8039dc9d432e542bfcb5610e309e" }, "downloads": -1, "filename": "zformat-0.9.0.tar.gz", "has_sig": false, "md5_digest": "c3ecab0487440c00b8495efc5a593230", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 6255, "upload_time": "2017-11-07T20:46:21", "url": "https://files.pythonhosted.org/packages/2c/ad/ef4b1d11318aea35decfc7dc050c5f4a6dcc9998d27401aa781e011475e1/zformat-0.9.0.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "f0451ff175c254929a325f59205c7226", "sha256": "778feb5e7834a7f027c6e9243e4ee9edf5b558cfcdffe004b6edda1af6859829" }, "downloads": -1, "filename": "zformat-0.9.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f0451ff175c254929a325f59205c7226", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 6730, "upload_time": "2017-11-07T20:59:14", "url": "https://files.pythonhosted.org/packages/20/ff/e58518aa3df960f5bb61376ecb011493d83d8378f198794e198cd900943f/zformat-0.9.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d26efad37152b1faf6d1d3bdd1285927", "sha256": "972c41e4d0299582d0029b9bf1e37d0b42d9d5cc5d3b9084073693594f8d7df8" }, "downloads": -1, "filename": "zformat-0.9.1.tar.gz", "has_sig": false, "md5_digest": "d26efad37152b1faf6d1d3bdd1285927", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 6253, "upload_time": "2017-11-07T20:59:14", "url": "https://files.pythonhosted.org/packages/71/05/b8c6e96e6956d59ce7f5ef253043a4e14eccedb81ffc4e52e43d2baf26f4/zformat-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "df373f698316d5b91a59c0292897e061", "sha256": "52a0cde4a5898bf1bc183ce57869c356b00fa74a8abdd77dd92d5a136109ba4c" }, "downloads": -1, "filename": "zformat-0.9.2-py3-none-any.whl", "has_sig": false, "md5_digest": "df373f698316d5b91a59c0292897e061", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 8307, "upload_time": "2017-11-07T23:49:51", "url": "https://files.pythonhosted.org/packages/30/0a/bb5c32789bc9686bc8bd0dc0444446c8433077e0d5d0573bf221c16c1c3a/zformat-0.9.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "df373f698316d5b91a59c0292897e061", "sha256": "52a0cde4a5898bf1bc183ce57869c356b00fa74a8abdd77dd92d5a136109ba4c" }, "downloads": -1, "filename": "zformat-0.9.2-py3-none-any.whl", "has_sig": false, "md5_digest": "df373f698316d5b91a59c0292897e061", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 8307, "upload_time": "2017-11-07T23:49:51", "url": "https://files.pythonhosted.org/packages/30/0a/bb5c32789bc9686bc8bd0dc0444446c8433077e0d5d0573bf221c16c1c3a/zformat-0.9.2-py3-none-any.whl" } ] }