wok_code 2.1.0
Overview
Various tools at your fingertips.
The available tools are:
cvt_csv_2_rst.py: convert csv file into rst file
cvt_csv_2_xml.py: convert csv file into xml file
cvt_script: parse bash script and convert to meet company standard
gen_readme.py: generate documentation files, mainly README.rst
odoo_dependency.py: show odoo dependencies and/or Odoo module tree
odoo_translation.py: manage Odoo translation
please: developer shell
wget_odoo_repositories.py: get repository names from github.com
Usage
usage: please [-h] [-H PATH] [-n] [-Q FILE] [-q] [-v] [-V] [action]
Zeroincombenze® developer shell.
obj after action may be on of apache, cwd, python, z0bug, zerobug, travis
positional arguments:
action
options:
-h, --help show this help message and exit
-H PATH, --home-devel PATH
Home devel directory
-n, --dry-run do nothing (dry-run)
-Q FILE, --tools-config FILE
Configuration file
-q, --quiet silent mode
-v, --verbose verbose mode
-V, --version show program's version number and exit
Help available issuing: please help ACTION
© 2015-2023 by SHS-AV s.r.l.
Author: antoniomaria.vigliotti@gmail.com
Full documentation at: https://zeroincombenze-tools.readthedocs.io/
Action is one of:
help
build
chkconfig
config
docs
duplicate
export MODULE DB
import
list
lsearch
publish
push
pythonhosted
replace
replica
show
status
test
translate MODULE DB
version
wep
build
Build a tar file for current PYPI project
chkconfig
Display various values of current project.
config global|local
Set various parameter by edit with vim. Set various parameter editing with vim. Comments inside configuration file can aim to set values.
Some variable are:
GBL_EXCLUDE=test_impex -> Module globally escluded by test because can fail locally
PYTHON_MATRIX=”2.7 3.7” -> python version to use in tests
docs
Prepare documentation to publish on readthedocs website (PYPI). Create / update README and index.html of Odoo module. Notice: README of repository history is tailored with last 60 days items; on README and index,html of module, history is tailored with last 180 days items; However max 12 items are added in README / index.html Summary showed to console are tailored with last 15 days.
export MODULE DB [-bBRANCH]
Export po file of Odoo project. If current directory is a module directory you can use ‘.’ (dot) for module name.
To declare specific version use -b switch
import MODULE DB
Import po file of Odoo project.
To declare target version use fB-bfR switch
publish docs|download|pypi|svg|testpypi
Publish documentation or package.
publish docs -> publish generate docs to website (require system privileges)
- publish download -> publish tarball to download (require system privileges)
type fBplease buildfR to generate tarball file
publish pypi -> publish package to pypi website (from odoo user)
publish svg -> publish test result svg file (require system privileges)
publish tar -> write a tarball with package files
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
2.1.0 (2026-07-10)
[IMP] run_odoo_debug: disable test on depending modules
[FIX] gevent_port in run_odoo_debug.sh for Odoo 16+
[FIX] Sometimes wrong db user was used
[IMP] Install python2.7 in Ubuntu 26.04
[IMP] Quality message on pypi packages
[IMP] Quality message on pypi packages
2.0.23 (2025-08-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
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
2.0.21 (2025-04-26)
[IMP] please translation: modified algorithm
[FIX] run_odoo_debug: module replacements
2.0.20 (2025-03-01)
[FIX] gen_readme.py: read-only repositories
[FIX] gen_readme.py: new odoo14+ nomenclature
[FIX] please: new odoo14+ nomenclature
[FIX] run_odoo_debug: new odoo14+ nomenclature
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
2.0.18 (2024-07-10)
[FIX] please python 3.9+
[FIX] deploy_odoo update addons_path in config file
[FIX] deploy_odoo update that requires checkout, requires -f switch
[FIX] deploy_odoo default branch from repo in actions different from clone
[IMP] deploy_odoo new action merge
[IMP] deploy_odoo new action new-branch
[IMP] deploy_odoo: new features on status
[FIX] gen_readme now check for images value for marketplace
[IMP] gen_readme now can use .jpg and .gif images
[IMP] new pg_requirements.py
[IMP] run_odoo_debug checks fro pg_requirements from __manifest__.rst
[FIX] No more depends on os0
[IMP] Python 3.6 deprecated
2.0.17 (2024-05-11)
[FIX] odoo_translate.py various fixes
[IMP] Log file of daemon process of test in tests/logs
[IMP] run_odoo_debug: OCB repository does not search for other repositories
[IMP] deploy_odoo now download empy repositories (to compatibility use –clean-empy-repo)
2.0.16 (2024-03-26)
[FIX] odoo_translation.py: case correction
[FIX] run_odoo_debug: sometimes crashes on OCB/addons modules
[FIX] gen_readme.py: Odoo repository documentation
[FIX] gen_readme.py: thumbnail figure
[FIX] please docs: count assertions
[FIX] please test: switch -K –no-ext-test
[FIX] deploy_odoo: crash when clone existing directory
[IMP] deploy_odoo: new switch –continue-after-error
[FIX] deploy_odoo/wget_odoo_repositories: store github query in cache
2.0.15 (2024-02-17)
[FIX] do_git_checkout_new_branch: ignore symbolic links
[FIX] deploy_odoo: minor fixes
[IMP] do_git_checkout_new_branch: oddo 17.0
[IMP] deploy_odoo: new action amend
[IMP] deploy_odoo: new switch to link repositories
[IMP] deploy_odoo: removed deprecated switches
[IMP] New repositories selection
[IMP] arcangelo improvements: new tests odoo from 8.0 to 17.0
[IMP] arcangelo improvements: test odoo from 8.0 to 17.0
[IMP] arcangelo switch -lll
[IMP] arcaneglo: rules reorganization
[IMP] arcangelo: trigger management and new param ctx
[IMP] arcangelo: new switch -R to select rules to apply
2.0.14 (2024-02-07)
[FIX] Quality rating formula
[FIX] please install python –python=3.7
[IMP] please publish marketplace
[IMP] read-only repository
[IMP] arcangelo improvements
[IMP] gen_readme.py manifest rewrite improvements
[IMP] cvt_csv_coa.py improvements
[IMP] please test with new switch -D
[IMP] run_odoo_debug improvements
2.0.13 (2023-11-27)
[IMP] please install python, now can install python 3.10
[IMP] arcangelo: new python version assignment from odoo version
[IMP] please version: now show compare with last entry of history
[FIX] please docs: faq
[FIX] please help cwd
[FIX] gen_readme.py: sometimes lost history
[FIX] gen_readme.py: error reading malformed table
[IMP] odoo_translation.py: new regression tests
[FIX] odoo_translation.py: punctuation at the end of term
[FIX] odoo_translation.py: first character case
[FIX] odoo_translation.py: cache file format is Excel
[FIX] run_odoo_debug: path with heading space
[IMP] please test now can update account.account.xlsx
Credits
Copyright
SHS-AV s.r.l. <https://www.shs-av.com/>
Contributors
Metadata
Release files for wok-code 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wok_code-2.1.0.tar.gz | 143.9 kB | Details |
Release files / wok_code-2.1.0.tar.gz
| Download URL | wok_code-2.1.0.tar.gz |
|---|---|
| Size | 143.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7197c2f72bbb0e54fb274a9d05082f3f0e0bd248ef606e74f07d60e9d99ca837
|
|
BLAKE2b-256 checksum How to use checksums |
4ea8601543060395b5f00d0507e378c46a83c81c345ba3edfd1634056e636864
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|