Catalog PyPI
Back to packageRELEASE DETAILS

1.2.1

PyPI

3brown1blue

Generate 3Blue1Brown-style Manim explainer videos from topics or slide decks

3blue1brownanimationclaudecopilotcursorexplainermanimmathvisualizationwindsurf
Published21 Mar 2026
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 1.2.1 documentation

3brown1blue banner

3brown1blue

Generate 3Blue1Brown-style Manim explainer videos from topics or slide decks, or install the Manim skill into your AI coding tool.

The primary use: install 27 rule files, templates, and safe wrappers into your AI tool so it generates production-quality animations.

pip install 3brown1blue
3brown1blue install

Supports: Claude Code, Cursor, Windsurf, GitHub Copilot

Then just ask your AI: "make a video explaining backpropagation" -- the skill handles layout templates, production rules, visual design principles, and common gotchas automatically.

Generate from a topic

Two-step pipeline: plans the video first (research, curriculum, scene plans, style contract), shows you the plan for review, then generates Manim code.

# one-shot with uvx (no permanent install)
uvx '3brown1blue[anthropic]' generate "Fourier transforms" --render

# or with Claude Code (no API key needed)
3brown1blue generate "attention mechanism" -p claude-code --render -q h

Generate from slides

Extract content from a PowerPoint deck, plan a video, and generate Manim code. Auto-detects whether vision extraction is needed for diagram-heavy slides.

pip install '3brown1blue[slides]'
3brown1blue from-slides lecture.pptx -p claude-code --render

The pipeline: extract text + speaker notes + images -> plan with scene templates -> review/edit the plan -> generate Manim code -> render.

Supported providers

ProviderInstall extraEnv varNotes
Claude CodenonenoneUses claude -p, no API key needed
Anthropic[anthropic]ANTHROPIC_API_KEY
OpenAI[openai]OPENAI_API_KEY
Google Gemini[openai]GOOGLE_API_KEYOpenAI-compatible API
Groq[openai]GROQ_API_KEYOpenAI-compatible API
Mistral[openai]MISTRAL_API_KEYOpenAI-compatible API

What the skill includes

  • 24 rule files: animations, equations, visual design, production quality, 3D, graphs, updaters, troubleshooting, and more
  • 3 templates: equation explainer, paper explainer, shared style.py
  • Safe wrappers: drop-in replacements for crash-prone Manim APIs
  • 12 gotchas: documented crashes and silent bugs with fixes
  • 22 visual patterns: extracted from 422 frames of 3Blue1Brown videos

CLI reference

3brown1blue generate TOPIC [OPTIONS]
3brown1blue from-slides DECK [OPTIONS]
3brown1blue install [--platform] [--force]
3brown1blue uninstall [--platform]
3brown1blue update [--platform]
3brown1blue status

Common options for generate/from-slides:

  --provider  -p   claude-code | anthropic | openai | google | groq | mistral
  --model     -m   generation model (provider default if omitted)
  --plan-model     planning model (same as --model if omitted)
  --api-key   -k   API key (or set the provider env var)
  --output    -o   output file  [default: scene.py]
  --render         run manim after generation
  --quality   -q   l=fast | m=medium | h=1080p | k=4K  [default: l]

Showcase

See generated videos: 3brown1blue-showcase

Prerequisites

pip install manim
# macOS: brew install mactex
# Linux: apt install texlive-full
# Windows: install MiKTeX

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 10

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
click
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
click>=8.0runtime
anthropic
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
anthropic>=0.40; extra == "all"runtime
openai
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
openai>=1.0; extra == "all"runtime
python-pptx
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
python-pptx>=0.6; extra == "all"runtime
anthropic
Environment
{
  "extras": "",
  "marker": "extra == \"anthropic\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
anthropic>=0.40; extra == "anthropic"runtime
openai
Environment
{
  "extras": "",
  "marker": "extra == \"google\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
openai>=1.0; extra == "google"runtime
openai
Environment
{
  "extras": "",
  "marker": "extra == \"groq\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
openai>=1.0; extra == "groq"runtime
openai
Environment
{
  "extras": "",
  "marker": "extra == \"mistral\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
openai>=1.0; extra == "mistral"runtime
openai
Environment
{
  "extras": "",
  "marker": "extra == \"openai\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
openai>=1.0; extra == "openai"runtime
python-pptx
Environment
{
  "extras": "",
  "marker": "extra == \"slides\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
python-pptx>=0.6; extra == "slides"runtime

Distribution files

2 collected
3brown1blue-1.2.1-py3-none-any.whl

bdist_wheel · 113.56 KB · Python py3

Source file
3brown1blue-1.2.1.tar.gz

sdist · 23,135.93 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 15:29 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:441a011b38d4e1d9fccec96fe9ec71e033db72a67f0f52880357d341dfe3c6d5

Other collected versions

View all collected versions →