jupytext
Jupyter notebooks as Markdown documents, Julia, Python or R scripts
Decision gist · record as of 2026-08-14
Yes. Jupytext is actively maintained, has no known vulnerabilities, and solves a real problem for teams wanting to version-control notebooks and edit them in IDEs. Install it if you work with Jupyter and Git together, or need to treat notebooks as code. The low dependency count and permissive MIT license make it a safe addition to any Python environment.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires JupyterLab or Jupyter to be installed in the same Python environment; command-line usage also available without Jupyter.
- Low friction install with six straightforward dependencies (markdown-it-py, mdit-py-plugins, nbformat, packaging, pyyaml, tomli).
- Active maintenance with a recent release (24 days ago) and 7228 repository stars.
License · maintenance · safety
permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2026-07-21 (24 days) · last repo commit 2026-08-11 · 7,228 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,100,699 downloads/mo, #2,380 on PyPI
Alternatives
Verify before relying
pip install jupytext
import jupytext
notebook = jupytext.read('notebook.ipynb')
jupytext.write(notebook, 'notebook.py')- Whether paired notebook sync handles merge conflicts automatically or requires manual intervention beyond the described pop-up prompts.
- Performance characteristics when working with very large notebooks or many paired files.
- Compatibility with notebook extensions other than the Jupyter Collaboration extension mentioned.
What it is and what it does
Jupytext bridges the gap between Jupyter notebooks and plain-text development workflows by allowing notebooks to be stored and edited as regular Python scripts, Markdown files, or other text formats. It reads `.ipynb` files and converts them to formats like `.py` (percent-format) or `.md` (Markdown-based), and vice versa, preserving cell structure and metadata. The tool integrates with JupyterLab as an extension, making text-format notebooks appear and behave like regular notebooks in the interface.
The package enables two main workflows: text-only notebooks (inputs only, no outputs) for clean version control and IDE editing, and paired notebooks (simultaneous `.ipynb` and `.py` or `.md` files) that preserve outputs while allowing text-based collaboration. It includes command-line tools for batch conversion, synchronization, and piping notebooks through linters. Dependencies are lightweight—markdown-it-py, mdit-py-plugins, nbformat, packaging, pyyaml, and tomli—and the package supports Python 3.9 through 3.14.
Use it for
- Store Jupyter notebooks in Git with meaningful diffs by pairing `.ipynb` with `.py` or `.md` and committing only the text version.
- Edit notebook code in your IDE (VS Code, PyCharm, etc.) as a regular Python script, then reload it in Jupyter to see outputs.
- Collaborate on notebooks via Git pull requests, where each collaborator can review and merge text-format changes without output noise.
- Convert existing `.ipynb` notebooks to `.py` or `.md` format for archival, documentation, or integration into a code repository.
- Automate notebook-to-script conversion in CI/CD pipelines using the command-line interface.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Jupytext is actively maintained, has no known vulnerabilities, and solves a real problem for teams wanting to version-control notebooks and edit them in IDEs. Install it if you work with Jupyter and Git together, or need to treat notebooks as code. The low dependency count and permissive MIT license make it a safe addition to any Python environment.
Install
jupytext on PyPI
Before you install
Low friction install with six straightforward dependencies (markdown-it-py, mdit-py-plugins, nbformat, packaging, pyyaml, tomli). Active maintenance with a recent release (24 days ago) and 7228 repository stars.
Requires JupyterLab or Jupyter to be installed in the same Python environment; command-line usage also available without Jupyter.
License in practice
MIT License permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install jupytext
import jupytext
notebook = jupytext.read('notebook.ipynb')
jupytext.write(notebook, 'notebook.py')
Verify before relying
- Whether paired notebook sync handles merge conflicts automatically or requires manual intervention beyond the described pop-up prompts.
- Performance characteristics when working with very large notebooks or many paired files.
- Compatibility with notebook extensions other than the Jupyter Collaboration extension mentioned.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesmarkdown-it-pymdit-py-pluginsnbformatpackagingpyyamltomli |
| Maintenance | Actively maintained 24 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,100,699 / month, #2,380 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleFramework :: JupyterFramework :: Jupyter :: JupyterLab :: 4Framework :: Jupyter :: JupyterLab :: ExtensionsFramework :: Jupyter :: JupyterLab :: Extensions :: PrebuiltIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Text Processing :: Markup |
Evidence: jupytext-1.19.5-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “edit notebooks in ide”
- jupytextJupytext converts Jupyter notebooks to and from plain-text formats…
- jupyter-docproviderAdds real-time collaborative editing to JupyterLab and Jupyter…
- nbdevnbdev is a notebook-driven development platform that exports Jupyter…
Give your agent the search over MCP, or paste the wish link into any chat.
More Markup packages
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
A Python markdown parser that converts markdown to HTML following the CommonMark specification, with support for plugins and custom syntax rules.
Install it if you need reliable markdown-to-HTML conversion.
Beautiful Soup parses HTML and XML documents into a navigable tree, providing Pythonic methods to search, iterate, and modify the parsed content.
Install it if you need to parse or extract data from markup documents.
et_xmlfile writes large XML files with minimal memory overhead by serializing elements to disk as they are created, rather than holding the entire tree in memory.
Install it if incremental XML writing fits your use case; skip it if your XML documents are small or you already use lxml.
Parses and edits TOML files while preserving formatting, comments, and structure, then serializes them back with layout intact.
Install it if you're building tools that touch TOML files and user readability of the source matters.
Parses Python docstrings in ReST, Google, Numpydoc, and Epydoc formats, extracting structured information like descriptions, parameters, return types, and exceptions.
Install it if you need to programmatically read and extract structured data from Python docstrings.
See also mkdocs-jupyter · nb-clean · nbconvert · nbqa · nbstripout · myst-nb · jupyter-collaboration · jupyter-docprovider · session-info · session-info2