Releases: tradebyte/paci
v1.10.5
v1.10.2
Updated README.md
and DESCRIPTION.rst
to reflect the new functionality.
v1.10.1
Small bug fix release.
- Fixed the
paci list
command to work as expected.
v1.10.0
This is a rather big release.
Reworked the whole paci list
command
This is a new behavior! It will now display the available packages by default not the installed ones. This is how you can use it:
paci list
- this will print all available packages from the registries. (new default)paci list (-i | --installed)
- this will print all currently installed packages. (old default)
Also a description text was added to avoid confusion.
Reworked and fixed displaying of tables
Tables/lists now look a little cleaner and take up less space. Also they are now automatically adapting to the available space on the screen. You now should have nice looking list on every screen.
Added missing documentation
A description of all available options was added to the ones which were lacking one.
Minor stuff
Also the some text was added to the output of paci search
to make it more clear.
v1.9.0
Adds the option --debug
to the paci install
command. If you are using Python and the paci libs for packages then it will display the output of the commands right away.
v1.8.0
Adds the output of the command as a return value to the run_cmd
function.
It extends the library to use in INSTALL.sh
or UPDATE.sh
scripts.
v1.7.0
Adds an option to the print_heading
to specify the color in which it should be printed.
It extends the library to use in INSTALL.sh
or UPDATE.sh
scripts.
def print_heading(icon, text, color="yellow"):
"""Helper function to print a heading.
Parameters
----------
icon : str
Describe a name of a symbol from the symbol() function.
text : str
The text of the heading.
color : str, optional
The color of the heading.
"""
v1.6.0
Adds the option to the run_cmd
to use a string instead of only lists for the cmd
parameter.
It extends the library to use in INSTALL.sh
or UPDATE.sh
scripts.
def run_cmd(msg, cmd, ok_msg="", err_msg="", exit_msg="", exit_all=False, cwd=None):
"""Helper function to execute a command and use spinners.
Parameters
----------
msg : str
You should describe what the command is doing in simple words.
cmd : str, list
The command you want to execute. Each parameter can be added to the list.
ok_msg : str, optional
The text you want to display if the command is executed successfully.
err_msg : str, optional
The text you want to display if the command fails.
exit_msg : str, optional
The additional information you want to display if the whole script is stopped.
exit_all : bool, optional
Whether you want to exit the complete script if the command fails.
cwd : str, optional
The path to the working directory.
Returns
-------
True if the command was successful else it returns False.
"""
v1.5.3
Refactored to use DESCRIPTION.rst
instead. This should now fix the formatting on pypi.
v1.5.2
Use README.rst
instead of REAMDE.md
for displaying the pypi entry.
This should fix the crappy formatting.