Skip to main content

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

Installation

To install from PyPI on Linux:

$ pip install ipynb_format

or from Github:

$ pip install --upgrade https://github.com/fg1/ipynb_format/archive/master.tar.gz

Usage

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

Format ipython notebook using yapf

positional arguments:
  files

  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.

Release files for ipynb_format 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipynb_format 0.1.1
File Size Uploaded
ipynb_format-0.1.1.tar.gz 2.5 kB Details

Release files / ipynb_format-0.1.1.tar.gz

Download URL ipynb_format-0.1.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1515d807a1f11d211d49d19ea6c4cbc81d4b8f987a1b2aa0cfa5fd991a77c547
BLAKE2b-256 checksum
How to use checksums
fa7974bbabf08ac48d8ec7344204668b68772aa9312c5076e9ab66539f992399
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page