{"id":15581555,"url":"https://github.com/rgieseke/pandas-datapackage-reader","last_synced_at":"2025-04-13T22:31:58.083Z","repository":{"id":53574069,"uuid":"83559401","full_name":"rgieseke/pandas-datapackage-reader","owner":"rgieseke","description":"Data Package reader for Pandas","archived":false,"fork":false,"pushed_at":"2023-02-10T10:54:14.000Z","size":128,"stargazers_count":19,"open_issues_count":3,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-06-11T16:54:10.690Z","etag":null,"topics":["data-package","frictionlessdata","pandas"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rgieseke.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}},"created_at":"2017-03-01T13:49:24.000Z","updated_at":"2023-02-10T10:47:01.000Z","dependencies_parsed_at":"2023-12-15T17:02:45.916Z","dependency_job_id":"54f1c661-3c19-4724-a482-636cf60fb029","html_url":"https://github.com/rgieseke/pandas-datapackage-reader","commit_stats":{"total_commits":113,"total_committers":7,"mean_commits":"16.142857142857142","dds":0.4513274336283186,"last_synced_commit":"56689d623b0996414f5d9fda37dfd2a3080a3b7a"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgieseke%2Fpandas-datapackage-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgieseke%2Fpandas-datapackage-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgieseke%2Fpandas-datapackage-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgieseke%2Fpandas-datapackage-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgieseke","download_url":"https://codeload.github.com/rgieseke/pandas-datapackage-reader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223607919,"owners_count":17172828,"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":["data-package","frictionlessdata","pandas"],"created_at":"2024-10-02T19:50:04.028Z","updated_at":"2024-11-08T00:03:02.813Z","avatar_url":"https://github.com/rgieseke.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI](https://img.shields.io/pypi/v/pandas-datapackage-reader.svg)](https://pypi.python.org/pypi/pandas-datapackage-reader/)\n[![CI](https://img.shields.io/github/actions/workflow/status/rgieseke/pandas-datapackage-reader/ci.yml?branch=main\u0026label=actions\u0026logo=github\u0026logoColor=white)](https://github.com/rgieseke/pandas-datapackage-reader/actions)\n\n# pandas-datapackage-reader\n\nEasy loading of tabular data from [Data Packages](http://frictionlessdata.io/data-packages/) into Pandas DataFrames.\n\n## Installation\n\n    pip install pandas-datapackage-reader\n\n## Usage\n\n```python\nfrom pandas_datapackage_reader import read_datapackage\n\n# From GitHub repository\ncountry_codes = read_datapackage(\"https://github.com/datasets/country-codes\")\n\n# From local directory\ncountry_codes = read_datapackage(\"country-codes\")\n\n# Data Package with GeoJSON\ngeo_countries = read_datapackage(\"https://github.com/datasets/geo-countries\")\n```\n\nResource metadata from the Data Package is returned as a dictionary in the\n`_metadata` attribute.\n\n```python\ncountry_codes._metadata\n```\n\ncontains\n\n```\n{'format': 'csv',\n  'name': 'country-codes',\n  'path': 'data/country-codes.csv',\n  'schema': {'fields': [{'description': 'Country or Area official Arabic short name from UN Statistics Divsion',\n        'name': 'official_name_ar',\n        'title': 'official name Arabic',\n        'type': 'string'},\n      {'description': 'Country or Area official Chinese short name from UN Statistics Divsion',\n        'name': 'official_name_cn',\n        'title': 'official name Chinese',\n        'type': 'string'},\n# ...\n```\n\n## License\n\nBSD-2-Clause, see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgieseke%2Fpandas-datapackage-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgieseke%2Fpandas-datapackage-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgieseke%2Fpandas-datapackage-reader/lists"}