Skip to main content

Python API for CS8000 series RF switches

Project description

CS8000 Python API

Python library for controlling CS8000 series RF switches.

Installation

pip install ikalogic-cs8000

Quick Start

from ikalogic import cs8000

# Create instance and connect
sw = cs8000.CS8000("CS8216")
sw.open()  # Auto-detect first available device

# Switch connections
sw.prepare(1, 1)  # Connect COM1 to CH1
sw.prepare(2, 0)  # Disconnect COM2
sw.commit()
# Close connection
sw.close()

Publishing

To publish a new version to PyPI:

cd packages/python-api
./publish.sh

This will:

  1. Prompt for version bump (patch/minor/major)
  2. Update version in pyproject.toml and __init__.py
  3. Commit and create a git tag python-v1.0.x
  4. Push to GitHub
  5. GitHub Actions automatically publishes to PyPI

Package Name

  • PyPI Package: ikalogic-cs8000
  • Import: from ikalogic import CS8000
  • Git Tags: python-v1.0.0 (to avoid conflicts with GUI releases)

GitHub Actions

The Python API has its own separate workflow:

  • Workflow: .github/workflows/publish-python.yml
  • Trigger: Tags matching python-v*
  • Does NOT trigger: GUI build workflow

The GUI/Electron workflow only triggers on v* tags (excluding python-v*).

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

ikalogic_cs8000-1.0.6.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

ikalogic_cs8000-1.0.6-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file ikalogic_cs8000-1.0.6.tar.gz.

File metadata

  • Download URL: ikalogic_cs8000-1.0.6.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for ikalogic_cs8000-1.0.6.tar.gz
Algorithm Hash digest
SHA256 de87a7941b29464aa89785d28f1f27b8f31c403b351838ed6cd0c246992d9742
MD5 20a91b77997d03be873f3499bb1b030f
BLAKE2b-256 1cb47cc489b5f5e755aa9ef17ba03323eae8a2a8ed2959fcefe00abee714558a

See more details on using hashes here.

File details

Details for the file ikalogic_cs8000-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for ikalogic_cs8000-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 541b881ac2d06e08a1030b8c04928658075a06745d99b577d5d633008182bb7a
MD5 e44505dcbe75b92a4542c680971c89d5
BLAKE2b-256 fe515c2ccaa07e65e7bc4fb041b4ca23487d2e3ae9071217bd1a82e53067b85d

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