Modern Networking for Python Games
Build multiplayer games with ease using asyncio and msgpack. Drop pump() into your game loop and let repod handle the rest.
Quick Start
Get a multiplayer game running in minutes
Key Features
Everything you need for real-time multiplayer networking
Asyncio-based
Built on Python’s asyncio with msgpack serialization for efficient binary messaging
Action-based dispatch
Simple Network_* callback methods automatically route messages based on action keys
Background threads
Run networking in a background thread so your game loop stays synchronous
Type-safe
Full type annotations with Python 3.12+ generics for excellent IDE support
Drop-in replacement
Modern replacement for PodSixNet with the same simple API philosophy
Game framework ready
Works with pygame, raylib, arcade, pyglet, and any framework with a main loop
Explore Examples
Learn from real-world multiplayer game examples
Chat Server
Build a simple text chat application with multiple clients
Collaborative Whiteboard
Shared drawing canvas with pygame-ce
Tag Game
Real-time multiplayer tag game built with raylib
Latency Measurement
Measure round-trip latency and network performance
Ready to build multiplayer games?
Start with our quickstart guide and have a working client-server game in minutes.
Get Started Now