{"id":27041,"library":"hbutils","title":"hbutils","description":"A Python toolkit providing lightweight utilities for infrastructure development, including TQDM-like progress bars, parallel execution, read-write locks, pretty logging, int hash functions, environment detection, and output capture. Current version 0.14.2, with monthly releases.","status":"active","version":"0.14.2","language":"python","source_language":"en","source_url":"https://github.com/HansBug/hbutils","tags":["utilities","tqdm","parallel","logging","infrastructure"],"install":[{"cmd":"pip install hbutils","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Replaced by lightweight tqdm in v0.14.2; still required for some legacy functions","package":"tqdm","optional":true},{"reason":"Used for pretty logging format system (v0.14.0+)","package":"colorlog","optional":true}],"imports":[{"note":"Bare import no longer works; must use hbutils.light.tqdm","wrong":"from hbutils import tqdm","symbol":"tqdm","correct":"from hbutils.light.tqdm import tqdm"},{"note":"Correct import path for parallel execution","symbol":"parallel_run","correct":"from hbutils.parallel import parallel_run"}],"quickstart":{"code":"from hbutils.light.tqdm import tqdm\nimport time\n\nfor i in tqdm(range(10)):\n    time.sleep(0.1)","lang":"python","description":"Demonstrates using the lightweight TQDM progress bar."},"warnings":[{"fix":"Change imports to 'from hbutils.light.tqdm import tqdm'.","message":"In v0.14.2, the tqdm module moved to hbutils.light.tqdm. Importing from hbutils.tqdm no longer works.","severity":"breaking","affected_versions":"0.14.2+"},{"fix":"Upgrade to Python 3.8 or higher.","message":"Python 3.7 support was dropped in v0.10.0.","severity":"deprecated","affected_versions":"0.10.0 - 0.14.2"},{"note":"Designed to be quit-safe but may leave resources if used incorrectly.","message":"The capture function can cause issues if not properly terminated; ensure you use it within a context manager or handle extreme cases.","severity":"gotcha","affected_versions":"0.14.2"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use 'from hbutils.light.tqdm import tqdm' instead.","cause":"tqdm was moved to hbutils.light.tqdm in v0.14.2.","error":"ModuleNotFoundError: No module named 'hbutils.tqdm'"},{"fix":"Use 'from hbutils.parallel import parallel_run'.","cause":"parallel_run is in the submodule hbutils.parallel.","error":"ImportError: cannot import name 'parallel_run' from 'hbutils'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}