https://github.com/3mdeb/pikvm-rest-api
https://github.com/3mdeb/pikvm-rest-api
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/3mdeb/pikvm-rest-api
- Owner: 3mdeb
- License: mit
- Created: 2022-10-23T11:04:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-12T17:48:36.000Z (5 months ago)
- Last Synced: 2026-01-12T23:07:34.737Z (5 months ago)
- Language: Python
- Size: 51.8 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PiKVM Client
Python client for a subset of [PiKVM API](https://docs.pikvm.org/api). The
target is to use this class as a library in the
[open-source-firmware-validation repo](https://github.com/Dasharo/open-source-firmware-validation.git).
## Testing
* Start PiKVM with some DUT
* Run test commands one by one
```bash
poetry shell
poetry install
python3 ./tests/cli.py --login admin --password admin --ip 192.168.10.45 --test img-mount
python3 ./tests/cli.py --login admin --password admin --ip 192.168.10.45 --test single-key
python3 ./tests/cli.py --login admin --password admin --ip 192.168.10.45 --test key-series
python3 ./tests/cli.py --login admin --password admin --ip 192.168.10.45 --test key-combination
python3 ./tests/cli.py --login admin --password admin --ip 192.168.10.45 --test write-text
python3 ./tests/cli.py --login admin --password admin --ip 192.168.10.45 --test write-cmd
wget http://tinycorelinux.net/15.x/x86/release/Core-15.0.iso
python3 ./tests/cli.py --login admin --password admin --ip 192.168.10.45 --test img-upload-url
python3 ./tests/cli.py --login admin --password admin --ip 192.168.10.45 --test img-upload-file
python3 ./tests/cli.py --login admin --password admin --ip 192.168.10.45 --test img-mount
```
* Observe the results in PiKVM WEB UI