{"id":37667792,"url":"https://github.com/x72x/pydtoc","last_synced_at":"2026-01-16T12:00:41.247Z","repository":{"id":286844300,"uuid":"700415173","full_name":"x72x/PyDTOC","owner":"x72x","description":"Awesome project to convert any dict into class in python :)","archived":false,"fork":false,"pushed_at":"2023-10-07T10:08:30.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T16:54:45.685Z","etag":null,"topics":["class","dictionary","json","object","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/python-dtoc/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/x72x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-04T14:54:35.000Z","updated_at":"2024-03-03T12:41:28.000Z","dependencies_parsed_at":"2025-04-08T16:54:48.629Z","dependency_job_id":"b001289d-77db-47bf-8031-5504e46894b9","html_url":"https://github.com/x72x/PyDTOC","commit_stats":null,"previous_names":["x72x/pydtoc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/x72x/PyDTOC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x72x%2FPyDTOC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x72x%2FPyDTOC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x72x%2FPyDTOC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x72x%2FPyDTOC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/x72x","download_url":"https://codeload.github.com/x72x/PyDTOC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x72x%2FPyDTOC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["class","dictionary","json","object","python"],"created_at":"2026-01-16T12:00:23.325Z","updated_at":"2026-01-16T12:00:41.218Z","avatar_url":"https://github.com/x72x.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About this project:\r\n- This project created to convert any dict into class in python :) check [PyPI](https://pypi.org/project/python-dtoc/)\r\n\r\n# Bades:\r\n- [![Downloads](https://static.pepy.tech/badge/python-dtoc)](https://pepy.tech/project/python-dtoc)\r\n\r\n# Install:\r\n- `pip install python-dtoc`\r\n\r\n\r\n## Simple example:\r\n- \u003cb\u003ePrint the object :\u003c/b\u003e\r\n---\r\n```python\r\nfrom pydtoc import dtc\r\n\r\nfoo = dtc({'str': 'string', 'int': 1, 'list': [1, 2, 3, 4, {'hi': True}]})\r\n\r\nprint(foo)\r\n```\r\n\r\n- \u003cb\u003eOutput :\u003c/b\u003e\r\n```json\r\n{\r\n    \"str\": \"string\",\r\n    \"int\": 1,\r\n    \"list\": [\r\n        1,\r\n        2,\r\n        3,\r\n        4,\r\n        {\r\n            \"hi\": true\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\n- \u003cb\u003ePrint the value of an key :\u003c/b\u003e\r\n---\r\n```python\r\nfrom pydtoc import dtc\r\n\r\nfoo = dtc({'str': 'string', 'int': 1, 'list': [1, 2, 3, 4, {'hi': True}]})\r\n\r\nprint(foo.list[-1].hi)\r\nprint(foo.str)\r\n```\r\n\r\n- \u003cb\u003eOutput :\u003c/b\u003e\r\n```\r\nTrue\r\nstring\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx72x%2Fpydtoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx72x%2Fpydtoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx72x%2Fpydtoc/lists"}