Registry / devops / spotinst-agent-beta

spotinst-agent-beta

JSON →
library2.2.289pypypiunverified

The Spotinst Agent (beta) is a lightweight agent for Spectrum instances that enables remote script execution, data collection, application deployment, and more. Current version: 2.2.289. Release cadence is frequent, often multiple times per month.

pip install spotinst-agent-beta
INSTALL
IMPORT
SIG · SPOTINST-AGENT-BET
S
spotinst-agent-beta
devopspythonv2.2.289
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Agent
from spotinst_agent import Agent
from spotinst_agent import Agent

Initialize the agent and run a remote command. Ensure SPOTINST_TOKEN and SPOTINST_ACCOUNT_ID are set as environment variables.

from spotinst_agent import Agent # Initialize the agent (authentication via environment variables SPOTINST_TOKEN and SPOTINST_ACCOUNT_ID) agent = Agent() # Run a simple command result = agent.run_command('echo "Hello from Spotinst Agent"') print(result.output)
Debug
Known issues
gotchaThe package is named spotinst-agent-beta but the import uses spotinst_agent (underscore). Do not use hyphens in Python imports.
fix
Use `from spotinst_agent import Agent`.
affects: all
deprecatedThe agent is in beta and may undergo breaking changes without major version bumps.
fix
Pin your dependency with a specific version and test updates thoroughly.
affects: all
Upgrade
Version history
2.2.289latest on PyPI · released May 20, 2024
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
8
Amazon
1
Resources
spotinst-agent-beta — pip install spotinst-agent-beta · libregistry