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:
- Prompt for version bump (patch/minor/major)
- Update version in
pyproject.tomland__init__.py - Commit and create a git tag
python-v1.0.x - Push to GitHub
- 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.4.tar.gz
(5.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ikalogic_cs8000-1.0.4.tar.gz.
File metadata
- Download URL: ikalogic_cs8000-1.0.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd34d031eb29e154d68937f725619eaebc140605d306e9729c32d3ac7d1fea4a
|
|
| MD5 |
7bbf33334d97cf0029a7efc36ad04e02
|
|
| BLAKE2b-256 |
d91d98832f8c413322f464123525f94406699e0bf6d0a64c0cbb4628c769a4ec
|
File details
Details for the file ikalogic_cs8000-1.0.4-py3-none-any.whl.
File metadata
- Download URL: ikalogic_cs8000-1.0.4-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb718db656f2b1ddae5c711b572dbdf411c9f6b57127b0cede3fd09da89830a4
|
|
| MD5 |
d91b8c78daa4f9aa1b2fc3b00c9cfa30
|
|
| BLAKE2b-256 |
2e1584bbb2db333b69b2e012bdc8b7b92cec78ef2151940c21ea378362bf7198
|