--- id: signalrcore version: "1.0.2" license: unclear license_treatment: unclear maintenance: active --- # signalrcore — Python SignalR Core full client (transports and encodings).Compatible with azure / serverless functions.Also with automatic reconnect and manually reconnect. License: unclear · Maintenance: active · Downloads: 233.1K/mo ## What it is and what it does Signalrcore is a Python client for ASP.NET Core SignalR, the real-time communication framework used in .NET applications. It implements the full SignalR protocol, allowing Python code to connect to and communicate with SignalR hubs on remote servers. The library handles connection negotiation, message framing, and automatic reconnection with configurable strategies. The package supports three transport mechanisms (WebSockets, Server-Sent Events, and long polling) and two message encodings (plain text and msgpack binary), letting you choose the best fit for your network and performance requirements. It includes authentication via access tokens, custom headers, SSL certificate pinning, and logging hooks for debugging. The single runtime dependency is msgpack, used only when binary encoding is enabled. Use it for: - Connect a Python application to an Azure SignalR Service or on-premises ASP.NET Core SignalR hub for real-time notifications. - Build a Python client that receives server-pushed updates from a .NET backend without polling. - Implement bidirectional messaging between Python and .NET microservices using WebSocket or long-polling fallback. - Integrate Python workers or scripts into a larger .NET ecosystem that relies on SignalR for event distribution. - Test or mock SignalR server behavior from Python test suites or integration environments. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Python client library for connecting to ASP.NET Core SignalR servers, supporting multiple transports (WebSockets, Server-Sent Events, long polling) and message encodings (text and msgpack binary). Yes, if you need to connect Python to an ASP.NET Core SignalR server. The library is actively maintained, has low install friction, and covers the full protocol surface. However, verify the license terms first—the metadata does not declare one—and confirm that the AsyncIO layer meets your concurrency needs if you plan to use it in production. ## Install pip install signalrcore uv add signalrcore poetry add signalrcore ## Installing signalrcore Before you install: Low friction: pure Python wheel with a single runtime dependency (msgpack). Actively maintained with a recent release and ongoing commits; the repository is not archived and shows steady development activity. License in practice: License status is unclear—no SPDX identifier or raw license text is declared in the package metadata. Verify the actual license before use in proprietary or restricted contexts. Quickstart: pip install signalrcore from signalrcore.hub_connection_builder import HubConnectionBuilder import logging hub_connection = HubConnectionBuilder()\ .with_url("http://server_url")\ .configure_logging(logging.DEBUG)\ .build() hub_connection.start() Requires Python 3.9 or later; a running SignalR server is needed to test connections. Verify before relying: - Exact license terms—metadata shows no SPDX or raw license field; check the repository for LICENSE file. - Whether automatic reconnection strategies and custom SSL context support are production-ready or still in development. - Current state of AsyncIO transport layer implementation and whether it is suitable for high-concurrency use. ## Package facts - License: not declared (unclear) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 233.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags signalr client python, real-time messaging python, websocket client library, signalr core protocol, asp.net core signalr, server-sent events client, long polling client, real-time-messaging, websocket-client, dotnet-interop [View on SkillFed](https://skillfed.io/packages/signalrcore) · [View on PyPI](https://pypi.org/project/signalrcore/)