{"id":19452134,"url":"https://github.com/croqaz/prop","last_synced_at":"2025-07-15T10:36:18.294Z","repository":{"id":57455096,"uuid":"223271904","full_name":"croqaz/prop","owner":"croqaz","description":"Python library for getting a property from a nested object using a dot path","archived":false,"fork":false,"pushed_at":"2020-07-28T22:44:12.000Z","size":41,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-02T06:44:36.381Z","etag":null,"topics":["library","python"],"latest_commit_sha":null,"homepage":"","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/croqaz.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}},"created_at":"2019-11-21T21:50:54.000Z","updated_at":"2023-03-08T03:21:51.000Z","dependencies_parsed_at":"2022-09-08T20:11:41.592Z","dependency_job_id":null,"html_url":"https://github.com/croqaz/prop","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/croqaz/prop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croqaz%2Fprop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croqaz%2Fprop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croqaz%2Fprop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croqaz%2Fprop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/croqaz","download_url":"https://codeload.github.com/croqaz/prop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croqaz%2Fprop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265429066,"owners_count":23763679,"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":["library","python"],"created_at":"2024-11-10T16:45:39.723Z","updated_at":"2025-07-15T10:36:18.275Z","avatar_url":"https://github.com/croqaz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prop · py\n\n  [![Pypi Version][pypi-image]][pypi-url]\n  [![Build Status][build-image]][build-url]\n  [![Code coverage][cover-image]][cover-url]\n  [![Python ver][python-image]][python-url]\n\nA Python 🐍 library for getting a property from a nested object using a dot path.\n\n\n## Usage\n\n```py\nimport prop\n\ndata = {\n    'k1': 'v1',\n    'nested': {'x': 'y', 'int': 0, 'null': None},\n    'list': [[None, True, 9]]\n}\n\nprop.get(data, 'k1')\n# v1\n\nprop.get(data, 'nested.x')\n# x\n\nprop.get(data, 'list.0.1')\n# True\n\nprop.get(data, 'list.0.-1')\n# 9\n```\n\nLimitations: For navigating dicts, only string keys are supported.\n\n\n## Installation\n\n```sh\n$ pip install prop\n```\n\n\n## Similar libraries\n\n* https://github.com/chrisinajar/py-dot-prop - (Python) Get a property from a dict or list\n* https://github.com/sindresorhus/dot-prop - (Node.js) Get, set, or delete a property from a nested object using a dot path\n* https://github.com/jonschlinkert/get-value - (Node.js) Use property paths (`a.b.c`) to get a nested value from an object\n\n\n## License\n\n[MIT](LICENSE) © Cristi Constantin.\n\n\n[pypi-image]: https://img.shields.io/pypi/v/prop.svg\n[pypi-url]: https://pypi.org/project/prop/\n[build-image]: https://github.com/croqaz/prop/workflows/Python/badge.svg\n[build-url]: https://github.com/croqaz/prop/actions\n[cover-image]: https://codecov.io/gh/croqaz/prop/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/croqaz/prop\n[python-image]: https://img.shields.io/badge/Python-3.6-blue.svg\n[python-url]: https://python.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcroqaz%2Fprop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcroqaz%2Fprop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcroqaz%2Fprop/lists"}