Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A high-performance Python client for real-time management of XTablesServer network tables, designed for robotics and complex data-driven systems.
XTablesClient
is a Python client library for connecting to an XTABLES server, supporting both direct socket and ZeroMQ-based communication. This client provides methods for data operations on network tables and offers convenient functionality for interacting with robotic applications or distributed systems.
Boolean
, String
, Integer
, Float
, Array
, Class
, Bytes
) for seamless data transmission.Install xtables-client
from PyPI:
pip install xtables-client
from xtables_client import XTablesClient
# Initialize the client
client = XTablesClient(server_ip="192.168.1.10", server_port=1735, useZeroMQ=True)
Setting Values
client.executePutBoolean("key", True)
client.executePutString("key", "value")
client.executePutInteger("key", 42)
client.executePutFloat("key", 3.14)
Retrieving Values
value = client.getInteger("key")
value = client.getString("key")
value = client.getFloat("key")
Subscriptions
def my_consumer(key, value):
print(f"Update for {key}: {value}")
client.subscribeForUpdates("key", my_consumer)
ZeroMQ Operations
client.push_frame("identifier", "message")
key, value = client.recv_next()
client.shutdown()
from xtables_client import XTablesClient
client = XTablesClient(useZeroMQ=True, server_port=1735)
client.subscribe("image")
while True:
key, value = client.recv_next()
if key is not None:
print(f"Received data for {key}: {value}")
This project is licensed under the MIT License.
This README provides a clear overview of the client’s capabilities, installation instructions, and usage examples to facilitate integration with any XTABLES server.
FAQs
A high-performance Python client for real-time management of XTablesServer network tables, designed for robotics and complex data-driven systems.
We found that XTablesClient 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.