Observed since 20 Oct, 18:32 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
ActionCable Client for Python 3
This library handles the connections and subscriptions and monitors the connection. It removes the underlaying websocket layer.
Currently authentication is not managed by this library.
The project originate this that was stalled for more than 5 years.
See Roadmap file
sudo pip3 install actioncable_client
Setup the connection to your Action Cable server.
from actioncable.connection import Connection
connection = Connection(url='wss://url_to_your_cable_server/cable', origin='https://url_to_your_cable_server')
connection.connect()
from actioncable.subscription import Subscription
subscription = Subscription(connection, identifier={'channel': 'YourChannelCLassName'})
def on_receive(message: dict):
print('New message arrived!')
print('Action: {} | Data: {}'.format(message['action'], message['data']))
subscription.on_receive(callback=on_receive)
subscription.create()
from actioncable.message import Message
message = Message(action='update_something', data={'something': 'important'})
subscription.send(message)
subscription.remove()
connection.disconnect()
Pull it up!
Ask a question on StackOverflow with the tag 'actioncable-client'.
Create pull requests on GitLab and help us to improve this package. There are some guidelines to follow:
Copyright (c) 2024 Liant SASU, MIT license
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.3.0 | 8 Aug 2024 | 0 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitLab
| Contributor | Contributions |
|---|---|
| Tobias Feistmantl | 26 |
| Roland Laurès | 8 |
| Peter Spiess-Knafl | 1 |
| Lionel Nicolas | 1 |
| Brandon Sturgeon | 1 |
| Parth Joshi | 1 |
| Olivier Macchioni | 1 |
Default-branch author identities; GitLab commit counts exclude merge commits.
Public sponsor counts have not been collected. These signals belong to the repository owner.
gitlab · 3 observations shown. Missing days are unknown.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-22 | 7 | 2026-10-22T19:19:21.8253766Z |
| 2026-10-21 | 7 | 2026-10-21T19:18:55.7454961Z |
| 2026-10-20 | 7 | 2026-10-20T19:18:35.7488312Z |
Observed since 20 Oct, 18:32 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:de06fbcc67a02c0e4496791cb732c249235893bb9c451f931ff05afb071f4218