8 releases

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

#89 in Value formatting

Download history 891/week @ 2024-11-18 1043/week @ 2024-11-25 1076/week @ 2024-12-02 1231/week @ 2024-12-09 1118/week @ 2024-12-16 750/week @ 2024-12-23 796/week @ 2024-12-30 1232/week @ 2025-01-06 1570/week @ 2025-01-13 1513/week @ 2025-01-20 1055/week @ 2025-01-27 1043/week @ 2025-02-03 987/week @ 2025-02-10 1213/week @ 2025-02-17 1119/week @ 2025-02-24 901/week @ 2025-03-03

4,323 downloads per month
Used in 6 crates (4 directly)

MIT license

24KB
568 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
~62K SLoC