Skip to main content

SDK for building test sequences for Station Service

Project description

Station Service SDK

SDK for building test sequences for Station Service.

Installation

# From GitHub
pip install git+https://github.com/Soochol/station-service-sdk.git

# Install Claude Code skill
station-sdk init

Quick Start

from station_service_sdk import SequenceBase, RunResult

class MySequence(SequenceBase):
    name = "my_sequence"
    version = "1.0.0"
    description = "My test sequence"

    async def setup(self) -> None:
        self.emit_log("info", "Initializing...")

    async def run(self) -> RunResult:
        self.emit_step_start("test", 1, 1, "Test step")
        self.emit_measurement("voltage", 3.3, "V")
        self.emit_step_complete("test", 1, True, 1.0)
        return {"passed": True, "measurements": {"voltage": 3.3}}

    async def teardown(self) -> None:
        self.emit_log("info", "Cleanup complete")

if __name__ == "__main__":
    exit(MySequence.run_from_cli())

CLI Commands

# Initialize Claude Code skill in current project
station-sdk init

# Force overwrite existing skill
station-sdk init --force

# Show version
station-sdk version

Documentation

After running station-sdk init, Claude Code will have access to the SDK development guide at .claude/skills/sequence-development/SKILL.md.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

station_service_sdk-2.1.0.tar.gz (128.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

station_service_sdk-2.1.0-py3-none-any.whl (142.6 kB view details)

Uploaded Python 3

File details

Details for the file station_service_sdk-2.1.0.tar.gz.

File metadata

  • Download URL: station_service_sdk-2.1.0.tar.gz
  • Upload date:
  • Size: 128.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for station_service_sdk-2.1.0.tar.gz
Algorithm Hash digest
SHA256 0c547083c5c55e05521840a23416467758e05f6ce7bf7f57674b58ed043c9011
MD5 cdfbb4fb5ce2e379d6f1ba077a5ccbab
BLAKE2b-256 1f9b41d57f27b114769e718d5a73f01f4f262483a87f846e7e17f5627a096651

See more details on using hashes here.

File details

Details for the file station_service_sdk-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for station_service_sdk-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02ed902983d1586144fec1af4b7a39fe8110fa13e456ab02baf4175d3bf18330
MD5 8be0689af66745c20ca0fd797d6f75bc
BLAKE2b-256 9b5a0695ce9160f75cb43fd17b68f6c5200aa6b8fe6de7d3d06dec7a81667e4f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page