././@PaxHeader 0000000 0000000 0000000 00000000033 00000000000 010211 x ustar 00 27 mtime=1743843135.681891
itango-0.2.1/ 0000755 0000000 0000000 00000000000 14774167500 011544 5 ustar 00root root ././@PaxHeader 0000000 0000000 0000000 00000000026 00000000000 010213 x ustar 00 22 mtime=1743843127.0
itango-0.2.1/.gitattributes 0000666 0000000 0000000 00000000126 14774167467 014456 0 ustar 00root root # GitHub syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
././@PaxHeader 0000000 0000000 0000000 00000000026 00000000000 010213 x ustar 00 22 mtime=1743843127.0
itango-0.2.1/.gitignore 0000666 0000000 0000000 00000001267 14774167467 013562 0 ustar 00root root # Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# Tempory files
*~
# C extensions
*.so
# Distribution / packaging
.Python
env/
bin/
build/
_build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml
# Translations
*.mo
# Mr Developer
.mr.developer.cfg
.project
.pydevproject
# Rope
.ropeproject
# Django stuff:
*.log
*.pot
# Sphinx documentation
docs/_build/
# JetBrains
.idea
# virtualenv
.venv
# file generated by setuptools_scm
_version.py
# pixi environments
.pixi
*.egg-info
././@PaxHeader 0000000 0000000 0000000 00000000026 00000000000 010213 x ustar 00 22 mtime=1743843127.0
itango-0.2.1/.gitlab-ci.yml 0000666 0000000 0000000 00000002673 14774167467 014230 0 ustar 00root root ---
variables:
TWINE_USERNAME: __token__
TWINE_PASSWORD: secret
default:
image: python:3.9
stages:
- build
- test
- release
build-pypi-package:
stage: build
script:
- pip install --upgrade pip
- pip install --upgrade build
- python -m build
artifacts:
expire_in: 1 day
paths:
- dist/
test-python3:
stage: test
image: ghcr.io/mamba-org/micromamba:latest
parallel:
matrix:
- PYTHON_VERSION: ["3.8", "3.9", "3.10", "3.11", "3.12"]
before_script:
- eval "$(micromamba shell hook --shell bash)"
- micromamba create -y -c conda-forge -n tango python=$PYTHON_VERSION pip
- micromamba activate tango
script:
- python -m pip install dist/itango-*.whl
- itango --help
- itango3 --help
# Documentation is on readthedocs
# We only test doc generation here
test-docs:
image: ghcr.io/prefix-dev/pixi:latest
stage: test
needs: []
script:
- pixi run doc
- echo "Documentation can be found at https://$CI_PROJECT_NAMESPACE.gitlab.io/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/doc/build/index.html"
artifacts:
when: always
paths:
- doc/build
environment:
name: Docs-dev
url: "https://$CI_PROJECT_NAMESPACE.gitlab.io/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/doc/build/index.html"
release-pypi-package:
stage: release
before_script:
- python -m pip install twine
script:
- twine upload dist/*
only:
- tags
when: manual
././@PaxHeader 0000000 0000000 0000000 00000000026 00000000000 010213 x ustar 00 22 mtime=1743843127.0
itango-0.2.1/.readthedocs.yaml 0000666 0000000 0000000 00000000571 14774167467 015016 0 ustar 00root root ---
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
build:
os: "ubuntu-22.04"
commands:
- asdf plugin add pixi
- asdf install pixi latest
- asdf global pixi latest
- pixi run doc
- mkdir -p $READTHEDOCS_OUTPUT/html/
- cp -a doc/build/* $READTHEDOCS_OUTPUT/html/
././@PaxHeader 0000000 0000000 0000000 00000000026 00000000000 010213 x ustar 00 22 mtime=1743843127.0
itango-0.2.1/LICENSE 0000666 0000000 0000000 00000016725 14774167467 012604 0 ustar 00root root
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library. ././@PaxHeader 0000000 0000000 0000000 00000000033 00000000000 010211 x ustar 00 27 mtime=1743843135.681891
itango-0.2.1/PKG-INFO 0000644 0000000 0000000 00000026603 14774167500 012650 0 ustar 00root root Metadata-Version: 2.4
Name: itango
Version: 0.2.1
Summary: An interactive Tango client
Author: Tiago Coutinho
Maintainer: Benjamin Bertrand
License:
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
Project-URL: Homepage, https://www.tango-controls.org/
Project-URL: Repository, https://gitlab.com/tango-controls/itango
Project-URL: Documentation, https://itango.readthedocs.io
Keywords: pytango,ipython
Classifier: Framework :: IPython
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Shells
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: pytango>=9.2.0
Requires-Dist: ipython<9.0,>=4.0
Requires-Dist: packaging
Provides-Extra: qt
Requires-Dist: qtconsole; extra == "qt"
Dynamic: license-file
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 >= 3.8. It requires:
- PyTango_ >= 9.2
- IPython_ >= 4.0
See previous versions for older compatibility.
Install
-------
ITango is available on PyPI_::
$ pip install itango # latest version
$ pip install itango[qt] # to install qtconsole
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.
.. _IPython: http://ipython.org/
.. _ITango: http://pypi.python.org/pypi/itango/
.. _itango-0.0.1: https://pypi.python.org/pypi/itango/0.0.1
.. _PyTango: https://gitlab.com/tango-controls/pytango
.. _documentation: https://itango.readthedocs.io/
.. _PyPI: ITango_
.. _IPython web page: IPython_
././@PaxHeader 0000000 0000000 0000000 00000000026 00000000000 010213 x ustar 00 22 mtime=1743843127.0
itango-0.2.1/README.rst 0000666 0000000 0000000 00000003363 14774167467 013260 0 ustar 00root root 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 >= 3.8. It requires:
- PyTango_ >= 9.2
- IPython_ >= 4.0
See previous versions for older compatibility.
Install
-------
ITango is available on PyPI_::
$ pip install itango # latest version
$ pip install itango[qt] # to install qtconsole
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.
.. _IPython: http://ipython.org/
.. _ITango: http://pypi.python.org/pypi/itango/
.. _itango-0.0.1: https://pypi.python.org/pypi/itango/0.0.1
.. _PyTango: https://gitlab.com/tango-controls/pytango
.. _documentation: https://itango.readthedocs.io/
.. _PyPI: ITango_
.. _IPython web page: IPython_
././@PaxHeader 0000000 0000000 0000000 00000000033 00000000000 010211 x ustar 00 27 mtime=1743843135.667891
itango-0.2.1/doc/ 0000755 0000000 0000000 00000000000 14774167500 012311 5 ustar 00root root ././@PaxHeader 0000000 0000000 0000000 00000000033 00000000000 010211 x ustar 00 27 mtime=1743843135.673891
itango-0.2.1/doc/_images/ 0000755 0000000 0000000 00000000000 14774167500 013715 5 ustar 00root root ././@PaxHeader 0000000 0000000 0000000 00000000026 00000000000 010213 x ustar 00 22 mtime=1743843127.0
itango-0.2.1/doc/_images/itango.ico 0000666 0000000 0000000 00000040076 14774167467 015721 0 ustar 00root root @@ (@ ( @ ff32/+f 9//999 ff30?/$U (@(
)2)c,Q @g\Qg0) !4'fgz9M "3<,U&/b(%I3o
' (R"@#H ,\%0d*0d+!>
4L|@a+-L{ oҤK] E &9&6,`)5t12o/3p.1h,%O!!A"G-`(3m.4q/3m.3j,5q.*X%0 9aLF_as##5 3wo9C_$\$*-\,=:=v: