IPython extension for PyTango
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
itango
.gitignore
README.rst
setup.cfg
setup.py

README.rst

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.