code formatter for ipynb files
Project description
code formatter for ipynb files.
this tool uses Black for formatting code and isort for sorting imports.
Quick Start
Install the package
pip install nb-code-formatter
format code your ipynb file
overwrite existing notebook file
nbcodefmt your_notebook.ipynb
write to new notebook file
nbcodefmt your_notebook.ipynb new_notebook.ipynb
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nb_code_formatter-0.1.1.tar.gz.
File metadata
- Download URL: nb_code_formatter-0.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.15.0-33-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71885231a150eb3b79631b07777c7d8ad1ed64653da395c3d9f4d06670f7125a
|
|
| MD5 |
382af07f2b08dfc7833a6a1f1602bbf7
|
|
| BLAKE2b-256 |
a249e95e287e18b167b789155cb704d515e714807a9b6cdd86b0363dfb066b48
|
File details
Details for the file nb_code_formatter-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nb_code_formatter-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.15.0-33-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60dd033676f6627a0566f4a1513959c36dd73971826e0c7c6bfafb32d2819909
|
|
| MD5 |
890926163490baf826be877ac8437ef0
|
|
| BLAKE2b-256 |
b3c829219574be9217f47f524eabe7ede0e57d7615acb7bb1f24bc049d9134a4
|