icepap
Python module to configure, control and monitor IcePAP based systems.
Installation
From within your favourite python environment:
pip install icepap
icepap is also available on conda-forge. You can install it using conda:
conda install -c conda-forge icepap
Documentation
The project documentation can be build it by executing:
python setup.py build_sphinx
This documentation has been created by sphinx.
Simulation
This is based on sintruments. It provides simulation for basic motion including jog.
Install with:
$ pip install icepap[simulator]
Make sure icepap simulator is registered:
$ sinstruments-server ls
[...]
IcePAP from icepap <current version #.#.#>
[...]
Configure a yaml file called ice.yaml. Example:
devices:
- class: IcePAP
name: ipap_simu
transports:
- type: tcp
url: 0:5000
axes:
- address: 1
velocity: 100
name: th
- address: 2
name: tth
acctime: 0.125
- address: 11
name: phi
- address: 12
name: chi
run server with:
sinstruments-server -c ./ice.yaml --log-level=debug
access like a "real" icepap with this python library or from cli:
$ nc -C localhost 5000
1:?pos
1:?pos 0
Tests
You can run tests simply with:
pytest
Contribute
You can find how to contribute to this project on CONTRIBUTING.md file.
Release files for icepap 3.14.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| icepap-3.14.0.tar.gz | 530.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| icepap-3.14.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 591.1 kB
Release files / icepap-3.14.0.tar.gz
| Download URL | icepap-3.14.0.tar.gz |
|---|---|
| Size | 530.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
014ba5392f44b7ac1e097eb6537d4444843a95ac15d284ebd79042f2c9a5e9ce
|
|
BLAKE2b-256 checksum How to use checksums |
83035ba9929ce31767590cc90cf900ca56d8bb7a9fbfcee99390e1ef6e5cc58d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / icepap-3.14.0-py3-none-any.whl
| Download URL | icepap-3.14.0-py3-none-any.whl |
|---|---|
| Size | 60.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7be82d7b557e65c88f1256d7fff103ce6d080046ce59a872527f132f23d80763
|
|
BLAKE2b-256 checksum How to use checksums |
769b0cf758d4cb29ce73cf28f3d0a9d6f5e67603c56ca525f9da7a3268752c0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|