Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>pydaemonNew to Visual Studio Code? Get it now.
pydaemon

pydaemon

Yohai Ido

|
1 install
| (0) | Free
Run Python files via a warm daemon (Django/FastAPI-friendly)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

pydaemon for VS Code

Run Python files fast by keeping Python warm in the background. Thin UI wrapper around the pydaemon CLI.

Why

Python cold-start (Django, FastAPI, PyTorch, etc.) can take 1–5 seconds on every run. pydaemon keeps a warm Python interpreter alive on a Unix socket so subsequent runs execute in milliseconds.

Features

  • ▶ Run via daemon CodeLens at the top of every Python file
  • Cmd+Enter runs the current file through the warm daemon
  • Activity bar sidebar with daemon status, actions, and config
  • Status bar indicator shows daemon state at a glance
  • Inline timing decoration after each run
  • Runs unsaved editor buffers (no need to save first)

Prerequisite: install the CLI

The extension shells out to the pydaemon CLI, so install it first:

pipx install git+https://github.com/yoyo-67/pydaemon.git#subdirectory=packages/python

Verify: pydaemon --help.

Usage

  1. cd into your Python project
  2. Start a daemon in a terminal: pydaemon serve
  3. Open a .py file in VS Code and press Cmd+Enter (or click the ▶ CodeLens)

For framework bootstrap (Django django.setup(), FastAPI startup, model loading), add a .pydaemon.json at your project root. See the main README for config options.

Commands

  • pydaemon: Run File — run the current Python file via the daemon (Cmd+Enter)
  • pydaemon: Start Daemon / Stop Daemon / Restart Daemon
  • pydaemon: Toggle Output
  • pydaemon: Info — show resolved config
  • pydaemon: Open .pydaemon.json
  • pydaemon: Reset Run State

Settings

Setting Default Description
pydaemon.cliPath pydaemon Path to the pydaemon CLI
pydaemon.runTimeoutMs 60000 Per-run timeout in ms
pydaemon.codeLens true Show the "▶ Run via daemon" CodeLens
pydaemon.statusBar true Show daemon state in the status bar
pydaemon.statusPollMs 2000 Status poll interval in ms

Links

  • Main repository
  • Architecture
  • Protocol spec
  • Report an issue

License

MIT — see LICENSE.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft