Bash zeroincombenze lib
Project description
Overview
z0lib is a simple bash and python library.
It was created to give support to bash and python software. The package has both bash version and both python version of functions. Since 2022, bash development was abandoned and only python code is stil upgraded.
The available libraries are:
z0librc: bash version library
z0librun.py: python version library
Features
Description,bash,python,Note(s) run_traced,✅,✅,Run os command with trace xuname,✅,❌,OS indentity (python has native function) parseoptargs,✅,❌,Command line parser (python has native function) link_cfg,✅,❌,Get values from configuration file (python has native function)
Getting started
Prerequisites
Zeroincombenze tools requires:
Linux Centos 7/8 or Debian 9/10 or Ubuntu 18/20/22
python 2.7+, some tools require python 3.6+, best python 3.8+
bash 5.0+
Installation
Stable version via Python Package
pip install z0lib
Current version via Git
cd $HOME [[ ! -d ./tools ]] && git clone https://github.com/zeroincombenze/tools.git cd ./tools ./install_tools.sh -pUT source $HOME/devel/activate_tools
Upgrade
Stable version via Python Package
pip install --upgrade z0lib
Current version via Git
cd ./tools ./install_tools.sh -pUT source $HOME/devel/activate_tools
ChangeLog History
2.0.12 (2024-08-22)
[FIX] os_system with verbose
2.0.11 (2024-07-13)
[IMP] New function os_system
[IMP] New function print_flush
2.0.10 (2024-07-07)
[IMP] run_traced improvements
[IMP] Python 3.6 deprecated
2.0.9 (2024-02-01)
[IMP] Internal matadata
2.0.8 (2023-10-16)
[FIX] parseopt
2.0.7 (2023-07-20)
[FIX] run_traced return system exit code
[IMP] run_traced: new rtime parameter to show rtime output
[IMP] New main
2.0.5 (2023-05-14)
[FIX] Sometime configuration init fails
[IMP] Configuration name LOCAL_PKGS read real packages
[IMP] is_pypi function more precise
2.0.4 (2023-04-10)
[FIX] run_traced: cd does not work w/o alias
[IMP] coveralls and codecov are not more dependencies
2.0.3 (2022-12-22)
[FIX] run_traced: –switch sometime crashes
[FIX] run_traced: alias function
2.0.2 (2022-12-07)
[FIX] best recognition of python version
[FIX] run_traced: fail with python 2
2.0.1 (2022-10-20)
[IMP] Stable version
2.0.0.4.1 (2022-10-20)
[FIX] run_traced: wrong execution for “cd <path>; …”
[IMP] CFG_init ‘ALL’: set ODOO_ROOT
2.0.0.4 (2022-10-05)
[IMP] python2 tests
2.0.0.3 (2022-09-30)
[FIX] run_traced return code
2.0.0.2 (2022-09-14)
[IMP] run_traced for python apps
2.0.0.1 (2022-09-06)
[IMP] set_pybin accept filename
[IMP] check_pythonpath removed
2.0.0 (2022-08-10)
[REF] Partial refactoring for shell scripts
Credits
Copyright
SHS-AV s.r.l. <https://www.shs-av.com/>
Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.