Skip to main content

A code formatter for python code in ipython notebooks

Project description is a small script to format the python code in ipython notebooks. The code formatter is based on yapf.


To install from PyPI on Linux:

$ pip install ipynb_format

or from Github:

$ pip install --upgrade


usage: ipynb_format [-h] [--style STYLE] [files [files ...]]

Format ipython notebook using yapf

positional arguments:

  optional arguments:
    -h, --help     show this help message and exit
    --style STYLE  yapf style to use

The formatting style option is the same as for yapf.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipynb_format-0.1.1.tar.gz (2.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page