AgentLink
AgentLink is a lightweight Python library that enables secure SSH communication between Linux/Window IP adresses.
Installation
pip install agentlink
Basic Usage
from agentlink import AgentLink
link = AgentLink()
link.register(
"agent1",
hostname="192.168.1.101",
username="user",
key_filename="~/.ssh/id_rsa"
)
# Run remote command
output = link.send_command("agent1", "hostname")
print(output)
# Upload a file
link.upload_file("agent1", "local.txt", "/tmp/remote.txt")
# Close all sessions
link.close_all()
Features
- Registration of multiple SSH targets (agents)
- Send remote commands
- Upload and download files
- Thread-safe operations
License
MIT
Metadata
Release files for agentlink-py 0.1.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 |
|---|---|---|---|---|
| agentlink_py-0.1.0.tar.gz | 1.5 kB | Without provenance | Details for agentlink_py-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentlink_py-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for agentlink_py-0.1.0-py3-none-any.whl |
Total release size: 3.0 kB
Release files / agentlink_py-0.1.0.tar.gz
| Download URL | agentlink_py-0.1.0.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e06aed8921585109c14a982b912236c08f278b554c9441948a1a744913fc877e
|
|
BLAKE2b-256 checksum How to use checksums |
b9b1d81fe29f486053521c36581c1d906af638b5a750e73de579d008800c71d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / agentlink_py-0.1.0-py3-none-any.whl
| Download URL | agentlink_py-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6587365e42fee13b2df04c6d71f94cbed765464479b2b97b057d29e4c36525c
|
|
BLAKE2b-256 checksum How to use checksums |
ed250b854afb028fa7d6b641a945a879806d3cb75cc1f4be51bc3d914a6f6bd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for agentlink-py 0.1.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.