{"id":20635728,"url":"https://github.com/ya332/deepextract","last_synced_at":"2026-05-06T11:35:38.732Z","repository":{"id":62567395,"uuid":"343596245","full_name":"ya332/deepextract","owner":"ya332","description":"A Python library to parse JSON, YAML files and extract  deeply nested keys.","archived":false,"fork":false,"pushed_at":"2021-04-14T01:52:56.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T12:17:45.907Z","etag":null,"topics":["json","pypi-package","yaml","yml"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/deepextract/","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/ya332.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":"2021-03-02T00:24:40.000Z","updated_at":"2021-04-14T01:52:58.000Z","dependencies_parsed_at":"2022-11-03T16:30:40.429Z","dependency_job_id":null,"html_url":"https://github.com/ya332/deepextract","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ya332%2Fdeepextract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ya332%2Fdeepextract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ya332%2Fdeepextract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ya332%2Fdeepextract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ya332","download_url":"https://codeload.github.com/ya332/deepextract/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242650955,"owners_count":20163611,"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":["json","pypi-package","yaml","yml"],"created_at":"2024-11-16T15:06:55.481Z","updated_at":"2026-05-06T11:35:33.710Z","avatar_url":"https://github.com/ya332.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://gitHub.com/ya332/deepextract/graphs/commit-activity)\n[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)\n[![PyPI version fury.io](https://badge.fury.io/py/deepextract.svg)](https://gitHub.com/ya332/deepextract/)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/deepextract.svg)](https://gitHub.com/ya332/deepextract/)\n[![PyPI status](https://img.shields.io/pypi/status/deepextract.svg)](https://pypi.python.org/pypi/deepextract/)\n[![Downloads](https://pepy.tech/badge/deepextract)](https://pepy.tech/project/deepextract)\n[![GitTutorial](https://img.shields.io/badge/PR-Welcome-%23FF8300.svg?)](https://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project)\n\n\n# deepextract 🔥\n\nA Python library to parse JSON, YAML files and extract deeply nested keys.\n\n## Usage 🎯\n\n```python\nfrom deepextract import deepextract\n\n# Demo: deepextract.extract_key(obj, key)\ndeeply_nested_dict = {\n    \"items\": {\n        \"item\": {\n            \"id\": {\n                \"type\": {\n                    \"donut\": {\n                        \"name\": {\n                            \"batters\": {\n                                \"my_target_key\": \"my_target_value\"\n                            }\n                        }\n                    }\n                }\n            }\n        }\n    }\n}\nprint(deepextract.extract_key(deeply_nested_dict, \"my_target_key\") == \"my_target_value\") # prints True\n```\nSee `examples` folder for more.\n\n## Installation ⚠️\n\n```sh\npip install deepextract\n```\n\n## Requirements 🌌\n\nSupport for Python 3.6 and greater.\n\n## Development 🛎️\n\n```sh\nconda create -n deepextract_env python=3.7 # do it once\nconda install -r requirements.txt\n```\n\nSource code is in deepextract. Start editing and Happy contributing! 🌟\n\n## Deployment to PyPI 💎\n\nBased on descriptions from [here](https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/), whenever project owner pushes a tagged commit to this Git repository remote on GitHub, GH workflow will publish it to PyPI.\n\nAnd it'll publish any push to TestPyPI which is useful for providing test builds to repo's alpha users as well as making sure that your release pipeline remains healthy.\n\nManual deploy to TestPyPI:\n```sh\npython setup.py sdist bdist_wheel\ntwine upload -r testpypi dist/*\n```\n\n## Running tests 🔥\n\n```sh\npython -m unittest\n```\n\n## Licence ✅\n\nMIT. See LICENSE.md\n\n## Version\n\nFollows syntax vM.M.P\nFirst is major and means not backwards compatible changes. Second is minor and means backwards compatible changes. \nThird is patch and means small backwards compatible changes.\n\nThe manual place of source of truth for the version is at `deepextract/__init__.py`\n\nSource: https://packaging.python.org/guides/single-sourcing-package-version/#single-sourcing-the-version\n\n## Authors ✏️\n\n`deepextract` was written by `Yigit Alparslan`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fya332%2Fdeepextract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fya332%2Fdeepextract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fya332%2Fdeepextract/lists"}