{"id":27147704,"url":"https://github.com/zaghaghi/direct-json-import","last_synced_at":"2025-08-19T20:09:38.982Z","repository":{"id":148100862,"uuid":"375305075","full_name":"zaghaghi/direct-json-import","owner":"zaghaghi","description":"import json files directly in your python scripts","archived":false,"fork":false,"pushed_at":"2021-06-10T16:32:31.000Z","size":11220,"stargazers_count":53,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-08T11:40:27.172Z","etag":null,"topics":["import","json","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zaghaghi.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":"2021-06-09T09:50:18.000Z","updated_at":"2025-02-08T19:12:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe328d6c-ac4b-4949-8e05-f783f4d75192","html_url":"https://github.com/zaghaghi/direct-json-import","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zaghaghi/direct-json-import","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaghaghi%2Fdirect-json-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaghaghi%2Fdirect-json-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaghaghi%2Fdirect-json-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaghaghi%2Fdirect-json-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaghaghi","download_url":"https://codeload.github.com/zaghaghi/direct-json-import/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaghaghi%2Fdirect-json-import/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271215018,"owners_count":24720096,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["import","json","python"],"created_at":"2025-04-08T11:38:36.100Z","updated_at":"2025-08-19T20:09:38.972Z","avatar_url":"https://github.com/zaghaghi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install\n\nInstall from git repository\n```bash\npip install git+https://github.com/zaghaghi/direct-json-import.git\n```\n\n# Use\nWith the following json in a file named `info.json`.\n```json\n{\n    \"name\": \"hamed\",\n    \"lastname\": \"zaghaghi\",\n    \"repos\": [\n        \"https://github.com/zaghaghi/direct-json-import\"\n    ]\n}\n```\n\nyou can directly import it as follows\n```python\nimport info\n\nprint(info.data)\n\n# {'name': 'hamed', 'lastname': 'zaghaghi', 'repos': ['https://github.com/zaghaghi/direct-json-import']}\n```\n\n![](demo.gif)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaghaghi%2Fdirect-json-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaghaghi%2Fdirect-json-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaghaghi%2Fdirect-json-import/lists"}