{ "info": { "author": "Konrad Rotkiewicz", "author_email": "konrad.rotkiewicz@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "# *nginx* config file formatter\n\n[![Build Status](https://travis-ci.org/ulamlabs/nginx-config-formatter.svg?branch=master)](https://travis-ci.org/ulamlabs/nginx-config-formatter)\n\nThis Python script formats *nginx* configuration files in consistent\nway, described below:\n\n* all lines are indented in uniform manner, with 4 spaces per level\n* neighbouring empty lines are collapsed to at most two empty lines\n* curly braces placement follows Java convention\n* whitespaces are collapsed, except in comments an quotation marks\n* whitespaces in variable designators are removed: `${ my_variable }` is collapsed to `${my_variable}`\n\n## Installation\n\n`pip install nginxfmt`\n\n## Usage\n\n```\nusage: nginxfmt [-h] [-v] [-b] config_files [config_files ...]\n\nScript formats nginx configuration file.\n\npositional arguments:\n config_files configuration files to format\n\noptional arguments:\n -h, --help show this help message and exit\n -v, --verbose show formatted file names\n -b, --backup-original\n backup original config file\n```\n\n## Credits\n\nCopyright 2016 Micha\u0142 S\u0142omkowski @ 1CONNECT. License: Apache 2.0.\n\n\n=======\nHistory\n=======\n\n1.0.2 (2017-09-18)\n------------------\n\n* First release on PyPI.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/krotkiewicz/nginxfmt", "keywords": "nginxfmt", "license": "Apache Software License 2.0", "maintainer": "", "maintainer_email": "", "name": "nginxfmt", "package_url": "https://pypi.org/project/nginxfmt/", "platform": "", "project_url": "https://pypi.org/project/nginxfmt/", "project_urls": { "Homepage": "https://github.com/krotkiewicz/nginxfmt" }, "release_url": "https://pypi.org/project/nginxfmt/1.0.6/", "requires_dist": null, "requires_python": "", "summary": "nginx config file formatter/beautifier written in Python.", "version": "1.0.6" }, "last_serial": 3780822, "releases": { "1.0.3": [ { "comment_text": "", "digests": { "md5": "68c21cefdd0291a312e97b167fac6ff8", "sha256": "2a4e1769dd441fea81d3e319dc5444d52cf548e17597647c97daf23200368370" }, "downloads": -1, "filename": "nginxfmt-1.0.3.tar.gz", "has_sig": false, "md5_digest": "68c21cefdd0291a312e97b167fac6ff8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17968, "upload_time": "2017-09-18T07:21:55", "url": "https://files.pythonhosted.org/packages/9c/a3/c308b13d3e241b6d51e2595b9dcfa1f96e321549e1eaf7d299cd8e11968d/nginxfmt-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "9cfbbebc00a79c2e3a7b96a2a85bd6a4", "sha256": "3280dda9e1cc23c735fd4f1b547fee17075dcd37f80ee9c37a4e9171b95a2fc3" }, "downloads": -1, "filename": "nginxfmt-1.0.4.tar.gz", "has_sig": false, "md5_digest": "9cfbbebc00a79c2e3a7b96a2a85bd6a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11062, "upload_time": "2017-09-18T07:53:52", "url": "https://files.pythonhosted.org/packages/c9/81/380c25448c94cfdd0909c8da5a6129bca9d6c4ff933b92551ca13b6890bb/nginxfmt-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "7cd038362f54dae2d5ecd1da8fda4a5f", "sha256": "4d8fa38b4c7a84664f5a7bc29240f10558e5f31a6454d2f805012065e26dfbb9" }, "downloads": -1, "filename": "nginxfmt-1.0.5.tar.gz", "has_sig": false, "md5_digest": "7cd038362f54dae2d5ecd1da8fda4a5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11109, "upload_time": "2018-04-19T14:02:38", "url": "https://files.pythonhosted.org/packages/ef/71/fe961b09e46c1b366b17d7f4fabbc39d03d88c5843600da5a1eea1aea3d7/nginxfmt-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "0ede68fffac562071d21911c12e69612", "sha256": "dcb3ae6e35a66b76f9199697a81c7986800c253e877ec856b56bcfef53d404e0" }, "downloads": -1, "filename": "nginxfmt-1.0.6.tar.gz", "has_sig": false, "md5_digest": "0ede68fffac562071d21911c12e69612", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11130, "upload_time": "2018-04-19T14:11:42", "url": "https://files.pythonhosted.org/packages/35/cc/c97fc30e06846e4d4f97411a31d905ad8091b87c4e5fe9dfc3fee05b7c82/nginxfmt-1.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0ede68fffac562071d21911c12e69612", "sha256": "dcb3ae6e35a66b76f9199697a81c7986800c253e877ec856b56bcfef53d404e0" }, "downloads": -1, "filename": "nginxfmt-1.0.6.tar.gz", "has_sig": false, "md5_digest": "0ede68fffac562071d21911c12e69612", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11130, "upload_time": "2018-04-19T14:11:42", "url": "https://files.pythonhosted.org/packages/35/cc/c97fc30e06846e4d4f97411a31d905ad8091b87c4e5fe9dfc3fee05b7c82/nginxfmt-1.0.6.tar.gz" } ] }