Metadata-Version: 2.4
Name: ki488
Version: 1.0.0
Summary: Low-level GPIB (IEEE-488.2) communication layer with gpib-ctypes and PyVISA backends
License-Expression: MIT
Keywords: gpib,ieee488,ni488,keithley,instrument,communication
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: gpib-ctypes; platform_system == "Windows"
Requires-Dist: pyvisa
Requires-Dist: pyvisa-py
Dynamic: license-file

# KI488

Low-level GPIB (IEEE-488.2) communication layer for Keithley instruments.

## Backends

Automatically selects the best available backend:
1. **linux-gpib** (native, Linux)
2. **gpib-ctypes** (native, Windows — recommended)
3. **pyvisa** (fallback, any platform)

## Installation

```bash
pip install ki488
```

Or from source:
```bash
pip install git+https://github.com/YOUR_USERNAME/ki488.git
```

## Usage

```python
from ki488 import KI488

ki = KI488(board=0)
ki.write(18, "*RST")
response = ki.query(18, "*IDN?")
print(response)
ki.close()
```

## License

MIT
