Mica Python client, a command line scripting tool written in Python, enables automation of tasks in a Mica server.
The Mica Python Client is available on the official Python Package Index.
sudo pip install obiba-mica
Previous versions were available as system packages. Make sure to remove them before installing the package with
# on Debian systems sudo apt-get remove mica-python-client # on RPM systems sudo yum remove mica-python-client
This python package depends on the pycurl package which has some system dependencies. One simple solution
is to install the
pycurl system package before.
# on Debian systems sudo apt-get install python3-pycurl # on RPM systems sudo yum install python3-pycurl
To get the options of the command line:
This command will display which sub-commands are available. Further, given a subcommand obtained from command above, its help message can be displayed via:
mica <subcommand> --help
This command will display available subcommands.