Skip to content
Tech News
← Back to articles

Marimo Now Runs in PyCharm

read original more articles
Why This Matters

The new marimo plugin for PyCharm enhances Python development by integrating reactive notebooks directly into the IDE, enabling seamless testing and interactive demonstrations without leaving the workspace. This development streamlines the workflow for developers, fostering faster iteration and better code visualization, which is crucial for productivity and innovation in the tech industry.

Key Takeaways

Today, we are excited to announce a first version of the marimo plugin for PyCharm. You can now add reactive notebooks to your Python projects in PyCharm and other JetBrains IDEs.

PyCharm support has been one of our most requested features, both on our issue tracker and on JetBrains’ tracker. We’re starting with the full marimo editor and plan to improve the integration over time.

Check out the video:

A live notebook next to your code, in your IDE

With the plugin, you can add a marimo notebook to an existing project and import code from the application or library you are developing. You can use the notebook as a live workspace for testing your code or as an interactive demo for it, without leaving your IDE.

marimo’s module reloader updates the notebook cells as you update the imported Python modules. That gives you a tight feedback loop: edit your library code in PyCharm’s editor and see results in a reactive notebook.

Edit your library code and watch dependent notebook cells update automatically.

marimo notebooks are stored as plain .py files. The plugin identifies a notebook by looking for a marimo import and a matching App declaration, so ordinary Python files continue to open normally. You can switch between the marimo and Source tabs to move between the interactive notebook and native editor. Since marimo notebooks are plain Python files, they work really well with git (or any other VCS). You can use PyCharm VCS tools to version your notebooks alongside your project.

Opening a notebook file starts its local marimo server automatically and loads it in an editor tab. The plugin manages the port and process lifecycle, so there is no extra terminal or a separate browser tab to manage.

Keep your PyCharm workflow

... continue reading