{"repo":"ploMP4/webrockets","free":true,"listed":false,"github":"https://github.com/ploMP4/webrockets","clone":"git clone https://github.com/ploMP4/webrockets.git","description":"High-performance rust powered websocket server for python","language":"Rust","stars":76,"topics":["django","python","rust","websockets","websocket-server","python-websocket","webrockets"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Webrockets 🚀 A high-performance WebSocket server for Python, with first-class Django support. The core server is implemented in Rust using PyO3 for maximum performance. Features - High-performance - Rust-powered WebSocket server using axum and fastwebsockets - Django Integration - Built-in authentication classes and management commands - Pattern Matching - Route messages based on discriminator fields with optional Pydantic validation - Broadcasting - Built-in support for Redis and RabbitMQ message brokers - Async Ready - Supports both sync and async Python callbacks - Built-in Client - Sync and async WebSocket client with TLS, timeouts, and subprotocol negotiation Performance webrockets significantly outperforms other Python WebSocket implementations thanks to its Rust-powered core. In a simple echo benchmark with 100 concurrent connections, webrockets achieves up to 10x higher throughput compared to Django Channels with Daphne. See the full benchmark results for detailed comparisons across different scenarios. Benchmark machine: Thinkpad E16, Intel Core i7-1355U (12 cores), 16 GB RAM, EndeavourOS Linux (kernel 6.12.61-1-lts) Installation Quick Start Django Integration webrockets provides seamless Django integration with built-in authentication support. Setup Add webrockets to your INSTALLED APPS : Optionally configure the server in your settings: Create your WebSocket routes in a websockets.py file in any of your Django apps: Start the WebSocket server: Authentication Class","default_branch":null,"files":null,"tree":[],"storefront":"/r/ploMP4","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ploMP4/webrockets/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}