
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
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
FAQs
ActionCable Client for Python 3
We found that actioncable-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.

Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.

Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.