jupytext

Convert Jupyter Notebooks between .py and .ipynb formats.

84|3|Updated May 8, 2026
One-click install
npx skills add https://github.com/ninehills/public-skills --skill jupytext-ninehills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jupytext
Source: https://github.com/ninehills/public-skills/tree/main/jupytext
Command: npx skills add https://github.com/ninehills/public-skills --skill jupytext-ninehills

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jupytext, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the creation and conversion of Jupyter Notebooks using Python scripts, eliminating the need for manual formatting and conversion.

Core Features & Use Cases

  • Notebook Creation: Generate new Jupyter Notebooks in either .py (percent format) or .ipynb format.
  • Conversion: Convert .ipynb files to .py and vice versa.
  • Use Case: Ideal for users who prefer to write their notebooks in Python and manage them with version control systems.

Quick Start

Create a new Jupyter Notebook in .py format using the jupytext skill.

Frequently Asked Questions about jupytext

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Jupyter Notebooks to Python scripts?

This Skill converts Jupyter Notebooks to Python scripts by automating the transformation between .ipynb and .py formats using Jupytext. It eliminates manual formatting by generating percent format Python files.

Can I manage Jupyter Notebooks with version control?

You can manage Jupyter Notebooks with version control by converting them to Python scripts. This Skill creates .py files that integrate seamlessly with version control systems, enabling efficient tracking of notebook changes.

Does Jupytext support converting .py files back to .ipynb?

Jupytext supports converting .py files back to .ipynb format. This Skill handles bidirectional conversion, allowing you to generate Jupyter Notebooks from Python scripts and vice versa without manual formatting.

What is the best way to write Jupyter Notebooks in Python?

The best way to write Jupyter Notebooks in Python is using Jupytext to create notebooks directly in .py percent format. This Skill simplifies generation, allowing you to author notebooks as Python scripts and convert them seamlessly.

Do I need Jupytext installed to convert .ipynb files?

You need Jupytext installed to convert .ipynb files because this Skill requires the Jupytext dependency to manage notebook versions and automate the conversion between .ipynb and .py formats.