MaxIV-KitsControls / itango

IPython extension for PyTango

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ITango

An interactive Tango client.

Description

ITango is a PyTango CLI based on IPython. It is designed to be used as an IPython profile.

It is available since PyTango 7.1.2 and has been moved to a separate project since PyTango 9.2.0.

Requirements

ITango is compatible with python 2 and 3. It requires:

However, a compatiblity package is available as itango-0.0.1. It provides compatibility for:

Install

ITango is available on PyPI:

$ pip install itango         # latest version (tango 9)
$ pip install itango==0.0.1  # tango 8 compatibility

Usage

ITango can be started using the itango script:

$ itango  # Or itango3 if using python 3

or the tango profile:

$ ipython --profile=tango

Features

ITango works like a normal python console, but it provides a nice set of features from IPython:

  • proper (bash-like) command completion
  • automatic expansion of python variables, functions, types
  • command history (with up/down arrow keys, %hist command)
  • help system ( object? syntax, help(object))
  • persistently store your favorite variables
  • color modes

For a complete list checkout the IPython web page.

It also adds set of PyTango specific features:

  • automatic import of Tango objects
  • device and attribute name completion
  • list tango devices, classes, servers
  • customized tango error message
  • database utilities

Check out the documentation for more informations.

About

IPython extension for PyTango


Languages

Language:Python 100.0%