Skip to content

Releases: Kaundur/python-peerjs-server

v1.0.0b2

19 Jun 07:56

Choose a tag to compare

v1.0.0b2 Pre-release
Pre-release

v1.0.0b2 - Docs fix (no functional changes)

Fixes the README's installation instructions, which still pointed at the
editable dev install (pip install -e .) instead of the published PyPI
package. No code changes from 1.0.0b1.

Install:

pip install python-peerjs-server

v1.0.0b1

19 Jun 07:49

Choose a tag to compare

v1.0.0b1 Pre-release
Pre-release

v1.0.0b1 - Initial beta release

asyncio-based, wire-compatible Python port of the PeerJS signalling server. Available on PyPI: pip install python-peerjs-server.

Features

  • WebSocket signalling at {path}/peerjs with id/token/key query-param auth
  • Reconnect support (same id + token re-attaches the socket and drains queued messages)
  • Per-peer message queueing for offline destinations, with periodic EXPIRE sweeps
  • Periodic dead-connection reaping based on heartbeat pings
  • HTTP API: GET {path}{key}/id and GET {path}{key}/peers (opt-in discovery)
  • CORS header support, fixed-window per-IP rate limiting, optional X-Forwarded-For trust behind a reverse proxy

Requires Python 3.13+. Single runtime dependency: websockets>=14.