Skip to content

A simple extension for Jupyter Notebook and Jupyter Lab to beautify Python code automatically using black.

License

Notifications You must be signed in to change notification settings

IsaGrue/nb_black

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nb_black

PyPI PyPI - Python Version

A simple extension for Jupyter Notebook and Jupyter Lab to beautify Python code automatically using Black.

Please note that since the Black package only supports Python 3.6+, so YAPF package will be used for the lower versions.

Installation

You can install this package using pip:

$ [sudo] pip install nb_black

Usage

Just put this code into the first cell in your Notebook, and that's all. :)

%load_ext nb_black

About

A simple extension for Jupyter Notebook and Jupyter Lab to beautify Python code automatically using black.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%