{"id":26881,"library":"data2objects","title":"data2objects","description":"A lightweight library for transforming nested dictionaries, JSON, or similar data structures into Python objects with attribute-style access. Current version 0.1.0, released in 2023. Release cadence is sporadic.","status":"active","version":"0.1.0","language":"python","source_language":"en","source_url":"https://github.com/jla-gardner/data2objects","tags":["data-transformation","object-mapping","nested-data"],"install":[{"cmd":"pip install data2objects","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from data2objects import from_data","symbol":"from_dict","correct":"from data2objects import from_dict"},{"symbol":"from_yaml","correct":"from data2objects import from_yaml"},{"symbol":"process_data","correct":"from data2objects import process_data"}],"quickstart":{"code":"from data2objects import from_data\n\ndata = {'name': 'Alice', 'age': 30, 'address': {'city': 'Wonderland', 'zip': '12345'}}\nobj = from_data(data)\nprint(obj.name)\nprint(obj.address.city)","lang":"python","description":"Convert a nested dict into an object with dot-access."},"warnings":[{"fix":"Use dictionary-style access (obj['key']) or sanitize keys before conversion.","message":"Keys that are not valid Python identifiers (e.g., with spaces, starting with digits) will raise AttributeError when accessed as attributes.","severity":"gotcha","affected_versions":"all"},{"fix":"Manually map list items with from_data if needed.","message":"Nested lists of dicts are not recursively converted; each dict remains a dict inside a list.","severity":"gotcha","affected_versions":"0.1.0"}],"env_vars":null,"search_vec":"'0.1.0':24 '2023':27 'access':21 'attribut':19 'attribute-styl':18 'cadenc':29 'current':22 'data':12,33,40 'data-transform':32 'data2objects':1 'dictionari':8 'json':9 'librari':4 'lightweight':3 'map':37 'nest':7,39 'nested-data':38 'object':16,36 'object-map':35 'python':15 'releas':25,28 'similar':11 'sporad':31 'structur':13 'style':20 'transform':6,34 'version':23","created_at":"2026-05-01T17:43:22.544576+00:00","updated_at":"2026-05-01T17:43:22.544576+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/jla-gardner/data2objects","docs":null,"changelog":null,"pypi":"https://pypi.org/project/data2objects/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization","data"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-30","last_verified":"2026-06-30","next_check":"2026-07-30","install_tag":null}}