{"id":27506,"library":"update","title":"update","description":"A Python utility library for updating nested data structures (dicts, lists) with dot-notation path support. Current version: 0.0.1, pre-1.0, early stage.","status":"active","version":"0.0.1","language":"python","source_language":"en","source_url":"https://github.com/lmittmann/update","tags":["dict","update","nested","utility"],"install":[{"cmd":"pip install update","lang":"bash","label":"pip"}],"dependencies":[],"imports":[{"note":"Direct import of update function, not module.","wrong":"import update","symbol":"update","correct":"from update import update"}],"quickstart":{"code":"from update import update\n\ndata = {'a': {'b': 1}}\nupdate(data, 'a.b', 2)\nprint(data)  # {'a': {'b': 2}}","lang":"python","description":"Update nested dict value using dot-separated path."},"warnings":[{"fix":"Pin exact version in requirements.","message":"Library is pre-1.0 (0.0.1), API may change without notice.","severity":"gotcha","affected_versions":"< 1.0.0"},{"fix":"Use copy.deepcopy() if you need to preserve original.","message":"The update function mutates the input dict in-place; no deep copy is made.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Use 'from update import update' then call update(data, path, value).","cause":"Importing the module instead of the function.","error":"AttributeError: module 'update' has no attribute 'update'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}