Skip to main content

Python IcePAP Extension for Win32, Linux, BSD, Jython

Project description

icepap

Pypi version

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.

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

icepap-3.14.0.tar.gz (530.6 kB view details)

Uploaded Source

Built Distribution

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

icepap-3.14.0-py3-none-any.whl (60.4 kB view details)

Uploaded Python 3

File details

Details for the file icepap-3.14.0.tar.gz.

File metadata

  • Download URL: icepap-3.14.0.tar.gz
  • Upload date:
  • Size: 530.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for icepap-3.14.0.tar.gz
Algorithm Hash digest
SHA256 014ba5392f44b7ac1e097eb6537d4444843a95ac15d284ebd79042f2c9a5e9ce
MD5 72b8f0529bfaf4acbfed301b79ec561d
BLAKE2b-256 83035ba9929ce31767590cc90cf900ca56d8bb7a9fbfcee99390e1ef6e5cc58d

See more details on using hashes here.

File details

Details for the file icepap-3.14.0-py3-none-any.whl.

File metadata

  • Download URL: icepap-3.14.0-py3-none-any.whl
  • Upload date:
  • Size: 60.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for icepap-3.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7be82d7b557e65c88f1256d7fff103ce6d080046ce59a872527f132f23d80763
MD5 7836fb8033c1146e175e621e9ba27cff
BLAKE2b-256 769b0cf758d4cb29ce73cf28f3d0a9d6f5e67603c56ca525f9da7a3268752c0a

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