pysignalr
Modern, reliable and async-ready client for SignalR protocol
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, production-stable, has no known vulnerabilities, and offers low installation friction. It fills a clear need for Python developers integrating with SignalR servers. The permissive MIT license and broad Python version support (3.10–3.14) make it a straightforward choice for real-time communication scenarios.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; target SignalR server must be accessible and support the SignalR protocol.
- Low friction installation as a pure-Python wheel.
- Actively maintained with recent commits and production-stable status.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), allowing use in both open-source and proprietary projects with minimal restrictions.
last release 2026-04-17 (119 days) · last repo commit 2026-04-17 · 32 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 639,222 downloads/mo, #5,615 on PyPI
Alternatives
Verify before relying
pip install pysignalr
from pysignalr.client import SignalRClient
import asyncio
async def on_message(msg):
print(f'Received: {msg}')
async def main():
client = SignalRClient('wss://example.com/hub')
client.on('event_name', on_message)
await client.run()
asyncio.run(main())- Whether the library supports SignalR protocol versions beyond the default (e.g., protocol version negotiation details)
- Performance characteristics under high message volume or with large payloads
- Compatibility with specific ASP.NET Core SignalR server versions
What it is and what it does
pysignalr is an async Python client for the SignalR protocol, a real-time communication framework used primarily by ASP.NET Core applications. It manages WebSocket connections to SignalR servers, handles message encoding/decoding via JSON or MessagePack, and provides event-driven callbacks for connection lifecycle and incoming messages. The library supports both fire-and-forget method invocations and request-reply patterns, as well as server-to-client and client-to-server streaming.
Typical use involves instantiating a SignalRClient with a server URL, registering event handlers via `.on()` methods, and running the client's connection loop. The library handles reconnection with exponential backoff, token-based authentication, custom headers, and configurable timeouts. It depends on aiohttp for HTTP operations, websockets for WebSocket transport, msgpack and orjson for message serialization.
Use it for
- Subscribe to real-time blockchain events from a Tezos API (as shown in the documentation example with TzKT).
- Build a live dashboard that receives server-pushed updates from an ASP.NET Core SignalR hub.
- Implement client-side event handlers that respond to server notifications without polling.
- Stream data bidirectionally between a Python application and a SignalR-enabled backend service.
- Authenticate with a SignalR server using token-based access via a custom token factory function.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, production-stable, has no known vulnerabilities, and offers low installation friction. It fills a clear need for Python developers integrating with SignalR servers. The permissive MIT license and broad Python version support (3.10–3.14) make it a straightforward choice for real-time communication scenarios.
Install
pysignalr on PyPI
Before you install
Low friction installation as a pure-Python wheel. Actively maintained with recent commits and production-stable status. Requires Python 3.10 or later.
Requires Python 3.10 or later; target SignalR server must be accessible and support the SignalR protocol.
License in practice
Licensed under MIT (permissive), allowing use in both open-source and proprietary projects with minimal restrictions.
Quickstart
pip install pysignalr
from pysignalr.client import SignalRClient
import asyncio
async def on_message(msg):
print(f'Received: {msg}')
async def main():
client = SignalRClient('wss://example.com/hub')
client.on('event_name', on_message)
await client.run()
asyncio.run(main())
Verify before relying
- Whether the library supports SignalR protocol versions beyond the default (e.g., protocol version negotiation details)
- Performance characteristics under high message volume or with large payloads
- Compatibility with specific ASP.NET Core SignalR server versions
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release <4,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesaiohttpmsgpackorjsonwebsockets |
| Maintenance | Actively maintained 119 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 639,222 / month, #5,615 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Application FrameworksTyping :: Typed |
Evidence: pysignalr-1.3.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “async websocket signalr”
- pysignalrAsync-ready client library for connecting to and communicating with…
- signalrcoreA Python client library for connecting to ASP.NET Core SignalR…
- azure-mgmt-signalrManages Azure SignalR resources—creation, configuration, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also signalrcore · websocket-client · azure-mgmt-signalr · simple-websocket · wslink · amqp · pyqwest · websockets · ws4py · websocket