{"id":15442897,"url":"https://github.com/timelessnesses/dta","last_synced_at":"2025-03-28T07:25:52.106Z","repository":{"id":57424434,"uuid":"433429085","full_name":"timelessnesses/dta","owner":"timelessnesses","description":"dta Convert Dict To Attributes!","archived":false,"fork":false,"pushed_at":"2021-12-31T05:53:56.000Z","size":27,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-10-18T13:16:43.495Z","etag":null,"topics":["attribute","attributes","dictionary","python","python2","python3","small-projects"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timelessnesses.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-30T12:50:08.000Z","updated_at":"2021-12-31T05:53:58.000Z","dependencies_parsed_at":"2022-09-07T06:02:39.081Z","dependency_job_id":null,"html_url":"https://github.com/timelessnesses/dta","commit_stats":null,"previous_names":["dumb-stuff/dta"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fdta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fdta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fdta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fdta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timelessnesses","download_url":"https://codeload.github.com/timelessnesses/dta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245986695,"owners_count":20705260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["attribute","attributes","dictionary","python","python2","python3","small-projects"],"created_at":"2024-10-01T19:31:19.662Z","updated_at":"2025-03-28T07:25:52.083Z","avatar_url":"https://github.com/timelessnesses.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dta (Dict to Attributes)\r\n\r\ndta is very small dict (or json) to attributes converter.  \r\nIt is only have 1 files and applied to every python versions.  \r\nNo need dependencies required so your repository size won't go to hell.\r\n\r\n## Features\r\n\r\n- Ability to convert lame dict object to class attributes!\r\n- Ability to convert those attributes back to dict!\r\n\r\n## Installation\r\n\r\nUse pip to install [package](https://pypi.org/project/dta)\r\n```bash\r\npip install dta\r\n```\r\n\r\nOr Use github repository and build it\r\n```bash\r\npip install git+https://github.com/dumb-stuff/dta\r\n```\r\n\r\n## Usage\r\n\r\nImport dta.\r\n```py\r\nimport dta\r\n```\r\nFor converting to attributes do\r\n```py\r\nimport dta \r\nSomeCoolConvertedDictToAttributes = dta.Dict2Attr({\"stuff\":[\"balls\",\"watch anime girls\",\"OwO\"]})\r\nSomeCoolConvertedDictToAttributes.stuff[1]\r\n```\r\nFor converting attributes back to dict for saving purpose do\r\n```py\r\nimport dta\r\ndta.Attr2Dict(SomeCoolConvertedDictToAttributes)\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimelessnesses%2Fdta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimelessnesses%2Fdta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimelessnesses%2Fdta/lists"}