Registry / communication / signalwire

signalwire

JSON →
library2.1.1pypypi✓ verified 80d ago

Official Python client library for the SignalWire telecom platform, providing voice, video, messaging, and task router capabilities. Current version 2.1.1 requires Python >=3.6. Released under MIT license.

pip install signalwire
INSTALL
IMPORT
SIG · SIGNALWIRE
S
signalwire
communicationpythonv2.1.1
Install
7.5s avg
Import
Disk
51MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.1.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 7.7s
py 3.11
✓ —
✓ 6.5s
py 3.12
✓ —
✓ 7.1s
py 3.13
✕ build_error
✕ build_error
py 3.9
✓ —
✓ 8.8s
51MB installed
● package 51MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

name
from signalwire import name
from signalwire.voice import Voice

Initialize a Voice client using environment variables for credentials.

import os from signalwire.voice import Voice client = Voice( project=os.environ.get('SIGNALWIRE_PROJECT', ''), token=os.environ.get('SIGNALWIRE_TOKEN', '') ) print(client)
Debug
Known issues
breakingIn version 2.0, the package was restructured from flat module to submodules. Old import paths (e.g., from signalwire import Voice) no longer work.
fix
Use from signalwire.voice import Voice
affects: >=2.0.0
gotchaThe library requires Twisted as an event loop; it does not work with asyncio out of the box. Running in an asyncio context may block or cause errors.
fix
Use Twisted's reactor or run in a separate thread.
affects: all
deprecatedThe signalwire.rest submodule for REST API calls is deprecated. Use signalwire.voice or signalwire.messaging methods instead.
fix
Use voice.calls.create() or messaging.send() instead of manual REST requests.
affects: >=2.0.0
Upgrade
Version history
2.1.1latest on PyPI · released Feb 4, 2025
Audit
Dependencies
twistedrequiredUnderlying async event loop required for SDK operations
autobahnrequiredWebSocket connectivity for real-time signaling
Agent activity
23 hits · last 30 days
node
20
OpenAI (training)
1
Resources
signalwire — pip install signalwire · libregistry