{"id":26687,"library":"acvl-utils","title":"acvl-utils","description":"A collection of utility functions and classes for various tasks in deep learning and data processing. Version 0.2.6 is current. Release cadence is irregular.","status":"active","version":"0.2.6","language":"python","source_language":"en","source_url":"https://github.com/MIC-DKFZ/acvl-utils","tags":["utils","deep-learning","data-processing"],"install":[{"cmd":"pip install acvl-utils","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"maybe","correct":"from acvl_utils import maybe"}],"quickstart":{"code":"from acvl_utils import maybe\n\n# Example: safely get a value from a dict\nresult = maybe({'key': 'value'}, 'key')\nprint(result)  # 'value'\n\nresult = maybe({'other': 'stuff'}, 'key', default='not found')\nprint(result)  # 'not found'\n","lang":"python","description":"Basic usage of the `maybe` utility to safely access dictionary keys with a default fallback."},"warnings":[{"fix":"Use `import acvl_utils` with underscores.","message":"Import uses underscores in package names: `acvl_utils` not `acvl-utils`.","severity":"gotcha","affected_versions":"all"},{"fix":"Inspect the source code or use `help()` in Python.","message":"Documentation is sparse; rely on source code or docstrings for function usage.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use `import acvl_utils` (underscore) in Python code.","cause":"Using hyphen instead of underscore in Python import.","error":"ModuleNotFoundError: No module named 'acvl-utils'"},{"fix":"Verify the exact function name by running `dir(acvl_utils)` or reading the source.","cause":"Incorrect submodule or function name; check available functions.","error":"ImportError: cannot import name 'maybe' from 'acvl_utils'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}