7 releases

0.1.5 Oct 21, 2024
0.1.4 May 27, 2024
0.1.3 Feb 23, 2024
0.1.2 Nov 27, 2023
0.0.1 Nov 23, 2023

#114 in Value formatting

Download history 821/week @ 2024-09-26 1162/week @ 2024-10-03 1662/week @ 2024-10-10 1512/week @ 2024-10-17 1526/week @ 2024-10-24 1171/week @ 2024-10-31 1036/week @ 2024-11-07 834/week @ 2024-11-14 974/week @ 2024-11-21 1062/week @ 2024-11-28 1109/week @ 2024-12-05 1355/week @ 2024-12-12 883/week @ 2024-12-19 688/week @ 2024-12-26 1003/week @ 2025-01-02 1412/week @ 2025-01-09

4,147 downloads per month
Used in 8 crates (5 directly)

MIT license

23KB
552 lines

dprint-plugin-jupyter

CI

Formats code blocks in Jupyter notebook files (.ipynb) using dprint plugins.

Install

Install and setup dprint.

Then in your project's directory with a dprint.json file, run:

dprint config add jupyter

Then add some additional formatting plugins to format the code blocks with. For example:

dprint config add typescript
dprint config add markdown
dprint config add ruff

If you find a code block isn't being formatted with a plugin, please verify it's not a syntax error. After, open an issue about adding support for that plugin (if you're interested in opening a PR, it's potentially an easy contribution).

Configuration

Configuration is handled in other plugins.

Dependencies

~2–3MB
~63K SLoC