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
Metadata
Release files for nb-code-formatter 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nb_code_formatter-0.1.1.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nb_code_formatter-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.7 kB
Release files / nb_code_formatter-0.1.1.tar.gz
| Download URL | nb_code_formatter-0.1.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71885231a150eb3b79631b07777c7d8ad1ed64653da395c3d9f4d06670f7125a
|
|
BLAKE2b-256 checksum How to use checksums |
a249e95e287e18b167b789155cb704d515e714807a9b6cdd86b0363dfb066b48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Linux/5.15.0-33-generic
|
Release files / nb_code_formatter-0.1.1-py3-none-any.whl
| Download URL | nb_code_formatter-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60dd033676f6627a0566f4a1513959c36dd73971826e0c7c6bfafb32d2819909
|
|
BLAKE2b-256 checksum How to use checksums |
b3c829219574be9217f47f524eabe7ede0e57d7615acb7bb1f24bc049d9134a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Linux/5.15.0-33-generic
|