About py-intro
py-intro is a Slidev presentation template for teaching Python fundamentals. It supports live Python code execution in slides and offers several themes for instructors preparing interactive lessons.
Key features
- 01Slidev presentation template
- 02Live Python code execution
- 03Multiple presentation themes
- 04pnpm-based setup and build
Use cases
- 01Teaching Python fundamentals
- 02Demonstrating Python code in slides
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ rebyteai-template/ rebyte-skills --skill py-introAfter installing, type/py-introin Claude Code to confirm it loaded.
Details
From the project READMEPython Zero To Hero Slides
A Slidev presentation for teaching Python fundamentals with interactive code execution.
Tech Stack
- Framework: Slidev (Vue-based)
- Feature: Python Runner addon for live code demos
- Addons: slidev-addon-python-runner, slidev-addon-rabbit
- Themes: apple-basic, bricks, penguin
- Package Manager: pnpm
- Output:
distdirectory
Setup
1. Clone the Template
git clone --depth 1 https://github.com/Eng0AI/py-intro-template.git .
If the directory is not empty:
git clone --depth 1 https://github.com/Eng0AI/py-intro-template.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template
2. Remove Git History (Optional)
rm -rf .git
git init
3. Install Dependencies
pnpm install
Build
pnpm build
Deploy
Vercel (Recommended)
vercel pull --yes -t $VERCEL_TOKEN
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKEN
Netlify
netlify deploy --prod --dir=dist
Development
pnpm dev
Starts the Slidev server and opens the presentation in your browser. Edit slides in slides.md.
Special Features
- Interactive Python code execution in slides
- Multiple theme options
Comments
Markdown supported