PyTogether

A collaborative Python IDE in the browser for learning and teaching

Image 1 of 1: Shared Python file with another user's selection highlighted while both edit

A zero-setup online editor where groups write and run Python together: live cursors and edits over Y.js, drawing on the code, chat and voice calls per project, share links, and Python run in the browser by Pyodide, on a Django, Channels, Celery and Redis backend, self-hostable with Docker.

Trade-offs

  • Python runs in the browser through Pyodide in a web worker, so the server never executes user code, but input() needs a service worker and so HTTPS.
  • Built for beginners and teaching, with features left out on purpose; it is not meant for production-scale development.
  • Live document state sits in Redis and a Celery task saves changed projects to the database in batches, so edits are fast and the database sees them later.

Q&A1

Each update is applied under a per-project Redis lock to the stored Y.js document and the merged state is written back. An update that fails to apply is rejected and the room is reset, so clients resync from the healthy state.

Reviews

Loading reviews

    More in Django

    See all 4 →
    • WebATEMBrowser control for Blackmagic ATEM video switchers, from any device
    • ConformitiSelf-hosted SOC 2, ISO 27001 and PCI DSS compliance, with sealed audit packages
    • BrainOutsideA self-hosted memory server for AI agents, kept as a git repo of markdown
    • FilmcaseManages Fujifilm film recipes and pushes them to the camera over USB

    More in Python

    See all 162 →
    • jobdGPU-aware job broker for a few personal machines, with an MCP server
    • RaspiMIDIHubRaspberry Pi as a plug-and-play USB MIDI hub with virtual instruments
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • gnss_gpuGPU GNSS positioning for urban canyons with particle filters and ray-traced NLOS
    • SnitchPer-app network monitor and outbound firewall for the desktop
    • HisabDouble-entry ledger kept by texting a WhatsApp agent, in Urdu or English

    More in Realtime

    See all 23 →
    • YgoPure-Go port of Yjs, byte-compatible with its V1 and V2 wire formats
    • YAOSReal-time Obsidian sync engine on a self-deployed Cloudflare Worker
    • Edge ScannerLocal intraday stock scanner with setups built without code
    • AldineSelf-hosted collaborative LaTeX editor with a real git repo per project
    • yrbyYjs backend for Rails on y-crdt, with no Node process to run
    • hostcOne command gives a dev server a public HTTPS URL