Agent Client
A Python client library for communicating with a Flask server. It provides an abstraction layer for interacting with multiple services, such as motor telemetry, sensor data, system logs, and more.
Installation
pip install agent-client
USAGE
from agent.client import ServerClient
from agent.services.motor_telemetry import MotorTelemetryClient
# Initialize the core client
client = ServerClient(base_url="http://localhost:5000/api")
# Initialize the motor telemetry service
motor_client = MotorTelemetryClient(client)
# Example: Send motor telemetry data
motor_telemetry_data = {
"motor_identifier": "left_arm",
"control_signals": {"pwm": 120, "voltage": 5.0},
"mechanical_feedback": {"speed": 50, "torque": 10},
"timestamp": "2025-01-06T16:00:00"
}
response = motor_client.send_telemetry(motor_telemetry_data)
print(response)
Metadata
Release files for agent-client-hufr 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agent-client-hufr-1.0.0.tar.gz | 3.8 kB | Without provenance | Details for agent-client-hufr-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agent_client_hufr-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for agent_client_hufr-1.0.0-py3-none-any.whl |
Total release size: 9.9 kB
Release files / agent-client-hufr-1.0.0.tar.gz
| Download URL | agent-client-hufr-1.0.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0292585f8f517c3173f3f5a58bf00adea1ed185dfd200452a7dce7c7b17fb95
|
|
BLAKE2b-256 checksum How to use checksums |
be978f070dbe5609c6a75fa174adc4334bd74fd642101cd5aeb5627649c5deb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
|
Release files / agent_client_hufr-1.0.0-py3-none-any.whl
| Download URL | agent_client_hufr-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
acc1be42465f67f2c6fbe932dfbc94d1489737777cb2fc3644f793bfede5245a
|
|
BLAKE2b-256 checksum How to use checksums |
95576d3824f57833aab38975b86d0697ae8ecfa8b276ea5506b64e579312135f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
|
Security for agent-client-hufr 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.