{ "info": { "author": "Pau Sanchez", "author_email": "contact@pausanchez.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance" ], "description": "# cblack\n\nCustom Black Code Formatter for Python with 2-space indents\n\nSame rules as Black, only with two-space indents.\n\n## Installation\n\n*cblack* can be installed by running `pip3 install cblack`.\n\nIt requires Python 3.6.0+ to run but you can reformat Python 2 code with it as well.\n\n## Why\n\nAfter [a long discussion](https://github.com/ambv/black/issues/378) about indentation\nlevels it was decided by the main author that:\n\n Two space indents are not distinct enough to be recommended by the Black coding style.\n\nThe whole pourpose of this project is to provide an alternative to black, with\nthe exact same rules and behaviour, but using 2 spaces for indentation instead of 4.\nAll other black options are still supported.\n\nSecond reason is that [Google YAPF](https://github.com/google/yapf) is not able\nto produce same output as black (mostly because of function arguments indentation),\notherwise, if it was possible to do it, I would not have created this project.\n\n## How\n\nI'm a busy man. I don't want to spend my time pulling latest changes from black\nregularly, so I've created a small package that depends on black and overrides\na method to reindent using two spaces. Shall black developers break this behaviour\nI might end up cloning the whole project. But the aim of this project\nwould still be the same.\n\n## Similar projects\n\n- YAPF\n- Autopep8\n- pep8ify\n- pyfmt\n- prettier in node\n- gofmt in go\n- rustfmt in rust\n\n## Credits\n\nAll the credit is deserved to the people who created [black](https://github.com/ambv/black) on the first place.\n\nPlease visit black website:\n\n- https://github.com/ambv/black\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pausan/cblack", "keywords": "automation formatter black yapf autopep8 pyfmt gofmt rustfmt prettier", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cblack", "package_url": "https://pypi.org/project/cblack/", "platform": "", "project_url": "https://pypi.org/project/cblack/", "project_urls": { "Homepage": "https://github.com/pausan/cblack" }, "release_url": "https://pypi.org/project/cblack/0.9/", "requires_dist": [ "black (>=18.9b0)" ], "requires_python": ">=3.6", "summary": "The customized uncompromising code formatter.", "version": "0.9" }, "last_serial": 4324675, "releases": { "0.9": [ { "comment_text": "", "digests": { "md5": "36d172024166ae01b2e128addc87c37c", "sha256": "2169605922b6497b2cd5c455926ad9d7135c50e958da1acaea253956e4822dd8" }, "downloads": -1, "filename": "cblack-0.9-py36-none-any.whl", "has_sig": false, "md5_digest": "36d172024166ae01b2e128addc87c37c", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": ">=3.6", "size": 3779, "upload_time": "2018-09-30T09:54:43", "url": "https://files.pythonhosted.org/packages/f6/f6/2285e98488cf79c38749fddc939891bc5ba3d56adbbb633610fc97effbc5/cblack-0.9-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f08562c86b05641affcc291d034d80a2", "sha256": "8fac426283f7dd1d97501c4e8e111d5091769365298879ea505f01dfc65f91de" }, "downloads": -1, "filename": "cblack-0.9.tar.gz", "has_sig": false, "md5_digest": "f08562c86b05641affcc291d034d80a2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3853, "upload_time": "2018-09-30T09:54:45", "url": "https://files.pythonhosted.org/packages/cd/1f/f90b53bca1ba341f2ec987e5cb4b460d7c41a3087a2ce75f47b11ef15bb4/cblack-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "36d172024166ae01b2e128addc87c37c", "sha256": "2169605922b6497b2cd5c455926ad9d7135c50e958da1acaea253956e4822dd8" }, "downloads": -1, "filename": "cblack-0.9-py36-none-any.whl", "has_sig": false, "md5_digest": "36d172024166ae01b2e128addc87c37c", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": ">=3.6", "size": 3779, "upload_time": "2018-09-30T09:54:43", "url": "https://files.pythonhosted.org/packages/f6/f6/2285e98488cf79c38749fddc939891bc5ba3d56adbbb633610fc97effbc5/cblack-0.9-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f08562c86b05641affcc291d034d80a2", "sha256": "8fac426283f7dd1d97501c4e8e111d5091769365298879ea505f01dfc65f91de" }, "downloads": -1, "filename": "cblack-0.9.tar.gz", "has_sig": false, "md5_digest": "f08562c86b05641affcc291d034d80a2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3853, "upload_time": "2018-09-30T09:54:45", "url": "https://files.pythonhosted.org/packages/cd/1f/f90b53bca1ba341f2ec987e5cb4b460d7c41a3087a2ce75f47b11ef15bb4/cblack-0.9.tar.gz" } ] }