python useful function


Keywords
unit, test, virtual, environment, venv
License
AGPL-1.0
Install
pip install python-plus==2.0.17

Documentation

Zeroincombenze tools 2.0.8

License: AGPL-3

Overview

Sparse python and bash source code

Package Name Brief Area
clodoo check_4_seq.sh Check for postgres database index maintenance
  clodoo.py Massive operations on multiple Odoo DBs in cloud. It is used to create configurated Odoo DBs and to upgrade more DBs at the same time. No (yet) documented maintenance
  force_password.sh Force Odoo DB password maintenance
  set_workers.sh Evaluate and set Odoo workers for best performance Deployment & maintenance
lisa lisa Linux Installer Simple App. LAMP and odoo server installer from scratch. deployment
odoo_score odoo_score.py Odoo ORM super core development
  odoo_shell.py Odoo shell for Odoo versions from 6.1 to 17.0 Development & maintenance
os0   Simple os interface checked for OpenVMS too development
python-plus python-plus Various features to python 2 and python 3 programs as integration of pypi future to help to port your code from Python 2 to Python 3 development
  vem Virtual Environment Manager: create, copy, move, merge and many other functions with virtual environments Deployment & maintenance
  list_requirements.py List pypi and bin packages for an Odoo installation deployment
travis_emulator travis Travis Emulator on local machine. Check your project before release on TravisCi testing
wok_code cvt_csv_to_rst.py Convert a csv file into rst text file with table inside documentation
  cvt_csv_to_xml.py Convert a csv file into xml file for Odoo module data development
  cvt_script Make bash script to standard development
  gen_readme.py Generate README.rst, index.html and __openerp__.py ,documentation documentation
  odoo_dependencies.py Show Odoo module tree, ancestors and/or childs development
  odoo_translation.py Load Odoo translation (deprecated, must be replaced by weblate) development
  please Developer shell development
z0bug_odoo z0bug_odoo Integration of zerobug and Odoo. Initially forked form OCA maintainer quality tools. It works with all Odoo version, from 6.1 to 17.0 testing
z0lib   General purpose bash & python library development
zar zar Zeroincombenze Archive and Replica. Backup your Odoo DBs maintenance
zerobug zerobug testing & debug library testing

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

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

Current version via Git

cd ./tools
./install_tools.sh -pUT
source $HOME/devel/activate_tools

ChangeLog History

travis_emulator: 2.0.11 (2025-08-10)

  • [IMP] python 3.12 is certificated programming language

odoo_score: 2.0.11 (2025-08-01)

  • [FIX] License declaration compatible with pypi
  • [IMP] Python 3.11
  • [IMP] Odoo 18.0

arcangelo: 2.1.1 (2025-06-28)

  • [IMP] New trigger search rather than match in rules
  • [IMP] Two passes parsing
  • [IMP] New pass1 context
  • [IMP] Set trigger with parameters
  • [FIX] New rule parsing algorithm

arcangelo: 2.1.0 (2025-06-15)

  • [IMP] Split from wok_code
  • [IMP] Graphical files are copied only if they does not exist on target
  • [IMP] Before migration warns on different base name
  • [FIX] If target directory does not exist, will be create

zerobug: 2.0.20 (2025-06-14)

  • [FIX] License declaration compatible with pypi

z0lib: 2.0.18 (2025-06-14)

  • [FIX] Local package automatic recognition
  • [FIX] License declaration compatible with pypi

z0bug_odoo: 2.0.23 (2025-06-14)

  • [FIX] License declaration compatible with pypi
  • [FIX] testenv.py with Odoo 16.0+
  • [IMP] python 3.11

wok_code: 2.0.23 (2025-06-14)

  • [IMP] arcangelo became a pypi package
  • [IMP] please install python: now can install python 3.12
  • [FIX] please version does not add line at the end of file
  • [FIX] please: best recognition of read-only repositories
  • [FIX] please test: check on templates to use
  • [FIX] No crash if invalid modules declaration
  • [FIX] License declaration compatible with pypi

python_plus: 2.0.18 (2025-06-14)

  • [FIX] bstring and unicode now work deeply
  • [FIX] list_requirements: twine version
  • [FIX] License declaration compatible with pypi
  • [IMP] Python 3.11 and 3.12
  • [IMP] New function cstrings

clodoo: 2.0.14 (2025-06-14)

  • [IMP] odoorc: new option NOLINK
  • [IMP] odoorc: Odoo 17.0 and 18.0
  • [IMP] powerp is not more a default gitorg
  • [FIX] License declaration compatible with pypi
  • [IMP+ python 3.11

wok_code: 2.0.22 (2025-05-31)

  • [FIX] arcangelo: sometimes wrong format .rst files
  • [FIX] please translate: new algorithm
  • [FIX] lint_2_compare: minor bug fixing
  • [IMP] lint_2_compare: automatic detecting version from source path
  • [IMP] run_odoo_debug: new -A switch
  • [IMP] deploy_odoo: minor improvements
  • [UPD] Esteem quality rate: new algorithm

universal_connector: 1.3.16 (2025-05-31)

  • [REF] Refactoring

arcangelo: 2.0.22 (2025-05-31)

  • [FIX] arcangelo: sometimes wrong format .rst files

zar: 2.0.8 (2025-04-27)

  • [FIX] Compress tar w/o filestore
  • [IMP] python 3.11 is certificated programming language

lisa: 2.0.8 (2025-04-27)

  • [FIX] lisa_bld_ods: module replacements improvements

wok_code: 2.0.21 (2025-04-26)

  • [IMP] please translation: modified algorithm
  • [FIX] run_odoo_debug: module replacements

lisa: 2.0.7 (2025-04-26)

  • [FIX] lisa_bld_ods: module replacements

z0lib: 2.0.17 (2025-03-22)

  • [IMP] python 3.11 is certificated programming language

travis_emulator: 2.0.10 (2025-03-22)

  • [IMP] python 3.11 is certificated programming language

z0lib: 2.0.16 (2025-03-21)

  • [FIX] print_flush

z0bug_odoo: 2.0.22 (2025-03-21)

  • [IMP] Lint tests
  • [IMP] Lint configuration

zerobug: 2.0.18 (2025-03-14)

  • [IMP] flake8 configuration
  • [IMP] pylint configuration
  • [IMP] travis_run_pypi_tests searches for virtual environment
  • [IMP] build_odoo_env, parameter ctx deprecated
  • [IMP] Some function now are move in z0lib>=2.0.12
  • [IMP] build_odoo_env does not require ctx
  • [IMP] Python 3.6 deprecated
  • [IMP] pylint configuration files

wok_code: 2.0.19 (2025-03-01)

  • [FIX] please python 3.9+
  • [FIX] install_python_3_from_source.sh: fix bugs and improvements
  • [FIX] ssh.py: store encrypted password
  • [IMP] run_odoo_debug: now can replace modules
  • [IMP] cvt_script executable
  • [IMP] deploy_odooo: more improvements
  • [IMP] please: minor improvements
  • [IMP] please clen db: remove filestore directories too

z0lib: 2.0.15 (2025-01-18)

  • [IMP] simulate get_metadat in test environment

travis_emulator: 2.0.10 (2025-01-18)

  • [IMP] Minor improvements
  • [IMP] Python 3.10

z0lib: 2.0.14 (2025-01-16)

  • [FIX] os_system minor fixes

python_plus: 2.0.16 (2025-01-16)

  • [FIX] vem.py: some packages line invoice2data on python 10.0
  • [FIX] vem: upgrade wkhtmltopdf naming
  • [FIX] list_requirements.py: packages with similar name (numpy -> numpy-financial)
  • [IMP] list_requirements.py: package versions improvements

oerplib3: 1.0.0 (2025-01-04)

  • [FIX] Python 3.9+ porting

zar: 2.0.7 (2024-12-30)

  • [IMP] pg_db_active with port for postgresql multi-version

z0lib: 2.0.13 (2024-10-31)

  • [FIX] os_system minor fixes

lisa: 2.0.6 (2024-10-04)

  • [FIX] lisa_bld_ods: replaced path owned by odoo

python_plus: 2.0.15 (2024-10-02)

  • [FIX] vem.py: some packages line invoice2data on python 10.0
  • [FIX] list_requirements.py: packages with similar name (numpy -> numpy-financial)
  • [IMP] list_requirements.py: package versions improvements

z0lib: 2.0.12 (2024-08-22)

  • [FIX] os_system with verbose

clodoo: 2.0.13 (2024-08-22)

  • [IMP] Depends on z0lib>=2.0.11

zerobug: 2.0.18 (2024-08-21)

  • [IMP] Some function now are move in z0lib>=2.0.12
  • [IMP] Python 3.6 deprecated

zar: 2.0.6 (2024-08-21)

  • [IMP] pg_db_active with port for postgresql multi-version

z0bug_odoo: 2.0.21 (2024-08-21)

  • [IMP] Depends on z0lib>=2.0.11

oerplib3: 0.8.5 (2024-08-21)

  • [FIX] Python 3.10 porting

odoo_score: 2.0.10 (2024-08-21)

  • [IMP] Depends on z0lib>=2.0.11

lisa: 2.0.5 (2024-08-18)

  • [FIX] lisa_bld_ods: module replacements

lisa: 2.0.4 (2024-08-12)

  • [FIX] lisa_bld_ods: fixes & improvements

zerobug: 2.0.17 (2024-07-07)

  • [FIX] z0testlib: no more depends on os0
  • [IMP] Python 3.6 deprecated

os0: 2.0.1 (2022-10-20)

  • [IMP] Stable version

os0: 1.0.3.1 (2021-12-23)

  • [FIX] python compatibility

Credits

Copyright

SHS-AV s.r.l. <https://www.shs-av.com/>

Authors

Contributors