{ "info": { "author": "Vishwas B Sharma", "author_email": "sharma.vishwas88@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "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 :: Only", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance" ], "description": "blackcellmagic\n==============\n\n|pypiv| |pyv| |Licence| |Thanks|\n\nIPython magic command to format python code in cell using `black`_.\n\nWhat is the magic command?\n--------------------------\n\n.. code:: python\n\n %%black\n\nSetup\n-----\n\nUsing pip\n~~~~~~~~~\n\n.. code:: bash\n\n pip install blackcellmagic\n\nDirectly from the repository\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: bash\n\n git clone https://github.com/csurfer/blackcellmagic.git\n python blackcellmagic/setup.py install\n\nLoad Extension in IPython\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n %load_ext blackcellmagic\n\nUsage\n-----\n\n.. code:: python\n\n # To have it formatted to black default length 88.\n %%black\n\n # To have it formatted to a particular line length.\n %%black -l 79\n %%black --line_length 79\n\nExtras\n------\n\nTobin Jones has been kind enough to develop a NPM package over blackcellmagic to format all cells at once which can be found `here`_.\n\n\nContributing\n------------\n\nBug Reports and Feature Requests\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nPlease use `issue tracker`_ for reporting bugs or feature requests.\n\nDevelopment\n~~~~~~~~~~~\n\nPull requests are most welcome.\n\nBuy the developer a cup of coffee!\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIf you found the utility helpful you can buy me a cup of coffee using\n\n|Donate|\n\n\n.. _black: https://github.com/ambv/black\n\n.. _issue tracker: https://github.com/csurfer/blackcellmagic/issues\n\n.. |Donate| image:: https://www.paypalobjects.com/webstatic/en_US/i/btn/png/silver-pill-paypal-44px.png\n :target: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=3BSBW7D45C4YN&lc=US¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted\n\n.. |Thanks| image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg\n :target: https://saythanks.io/to/csurfer\n\n.. |Licence| image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://raw.githubusercontent.com/csurfer/blackcellmagic/master/LICENSE\n\n.. |pypiv| image:: https://img.shields.io/pypi/v/py-heat-magic.svg\n :target: https://pypi.python.org/pypi/blackcellmagic\n\n.. |pyv| image:: https://img.shields.io/pypi/pyversions/blackcellmagic.svg\n :target: https://pypi.python.org/pypi/blackcellmagic\n\n.. _here: https://github.com/tobinjones/jupyterlab_formatblack", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/csurfer/blackcellmagic", "keywords": "automation formatter yapf autopep8 pyfmt gofmt rustfmt IPython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "blackcellmagic", "package_url": "https://pypi.org/project/blackcellmagic/", "platform": "", "project_url": "https://pypi.org/project/blackcellmagic/", "project_urls": { "Homepage": "https://github.com/csurfer/blackcellmagic" }, "release_url": "https://pypi.org/project/blackcellmagic/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "IPython wrapper to format cell using black.", "version": "0.0.2" }, "last_serial": 5126587, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b7fb138ffaf04e74e0f79b4a2db05b46", "sha256": "6b3804c8851591804bcdc5635c8d55b6b2a50874df63ba40a20d258cf79049b0" }, "downloads": -1, "filename": "blackcellmagic-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b7fb138ffaf04e74e0f79b4a2db05b46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2910, "upload_time": "2018-04-25T14:57:45", "url": "https://files.pythonhosted.org/packages/17/34/facd490a414bc98aa9012599959b8b6c82696a69400b1cb86e8cc25ad1f3/blackcellmagic-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "4edfad246f76d402f1b161cd8b0b17ef", "sha256": "089b98d28aa647f2d86c3161b60cbf09793384ea94ceb1227f4f1d425db4002c" }, "downloads": -1, "filename": "blackcellmagic-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4edfad246f76d402f1b161cd8b0b17ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3149, "upload_time": "2019-04-11T00:12:42", "url": "https://files.pythonhosted.org/packages/2b/dc/97c5936a65fe7c58d7cf474ea7488554905c04177e15df1fcab64332e48d/blackcellmagic-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4edfad246f76d402f1b161cd8b0b17ef", "sha256": "089b98d28aa647f2d86c3161b60cbf09793384ea94ceb1227f4f1d425db4002c" }, "downloads": -1, "filename": "blackcellmagic-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4edfad246f76d402f1b161cd8b0b17ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3149, "upload_time": "2019-04-11T00:12:42", "url": "https://files.pythonhosted.org/packages/2b/dc/97c5936a65fe7c58d7cf474ea7488554905c04177e15df1fcab64332e48d/blackcellmagic-0.0.2.tar.gz" } ] }