summaryrefslogtreecommitdiffstats
path: root/commands/software/doc/python.rst
blob: 09f7ff7e9c93f4b3b2079afbac7096add95056f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Python reference for OpenLMI client scripts
===========================================

Main interface functions wrapped with ``lmi`` commands are:

    * :py:func:`~lmi.scripts.software.list_installed_packages`
    * :py:func:`~lmi.scripts.software.list_available_packages`
    * :py:func:`~lmi.scripts.software.find_package`
    * :py:func:`~lmi.scripts.software.list_repositories`
    * :py:func:`~lmi.scripts.software.list_package_files`
    * :py:func:`~lmi.scripts.software.get_repository`
    * :py:func:`~lmi.scripts.software.set_repository_enabled`
    * :py:func:`~lmi.scripts.software.install_package`
    * :py:func:`~lmi.scripts.software.install_from_uri`
    * :py:func:`~lmi.scripts.software.remove_package`
    * :py:func:`~lmi.scripts.software.verify_package`

All of these accept :abbr:`ns (namespace)` object as the first argument.
It is an instance of :py:class:`lmi.shell.LMINamespace`.

Software Module API
-------------------
.. automodule:: lmi.scripts.software
    :members: