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 still 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(R) tools requires:
Linux Centos 7/8 or Debian 9/10/11 or Ubuntu 16/18/20/22/24
python 2.7+, some tools require python 3.7+, best python 3.9+
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.15 (2025-01-18)
[IMP] simulate get_metadat in test environment
2.0.14 (2025-01-16)
[FIX] os_system minor fixes
2.0.13 (2024-10-31)
[FIX] os_system minor fixes
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 metadata
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.
Source Distribution
File details
Details for the file z0lib-2.0.15.tar.gz
.
File metadata
- Download URL: z0lib-2.0.15.tar.gz
- Upload date:
- Size: 69.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12d077b204f507efa3ab4fca84a0307534db56bd5dc59aee785e0650eba71484 |
|
MD5 | cfe768563de54637a7a8fcfb3a6a2949 |
|
BLAKE2b-256 | d4b1f514634f9df2ee54c9caf854063ee288c053f0e84af0e0119cc0817a8d3c |