pandas-datapackage-reader 0.18.0
pip install pandas-datapackage-reader
Latest version
Released:
Pandas Data Package Reader
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD
- Author: Robert Gieseke
- Tags data-package
Classifiers
- Development Status
- Intended Audience
- Operating System
- Programming Language
Project description
pandas-datapackage-reader
Easy loading of tabular data from Data Packages into Pandas DataFrames.
Installation
pip install pandas-datapackage-reader
Usage
from pandas_datapackage_reader import read_datapackage
# From GitHub repository
country_codes = read_datapackage("https://github.com/datasets/country-codes")
# From local directory
country_codes = read_datapackage("country-codes")
# Data Package with GeoJSON
geo_countries = read_datapackage("https://github.com/datasets/geo-countries")
Resource metadata from the Data Package is returned as a dictionary in the
_metadata
attribute.
country_codes._metadata
contains
{'format': 'csv',
'name': 'country-codes',
'path': 'data/country-codes.csv',
'schema': {'fields': [{'description': 'Country or Area official Arabic short name from UN Statistics Divsion',
'name': 'official_name_ar',
'title': 'official name Arabic',
'type': 'string'},
{'description': 'Country or Area official Chinese short name from UN Statistics Divsion',
'name': 'official_name_cn',
'title': 'official name Chinese',
'type': 'string'},
# ...
License
BSD-2-Clause, see LICENSE
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD
- Author: Robert Gieseke
- Tags data-package
Classifiers
- Development Status
- Intended Audience
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
pandas_datapackage_reader-0.18.0-py2.py3-none-any.whl
(5.5 kB
view details)
Uploaded
Python 2
Python 3
File details
Details for the file pandas-datapackage-reader-0.18.0.tar.gz
.
File metadata
- Download URL: pandas-datapackage-reader-0.18.0.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ced0bb44a9a703a67a956e3b0314238d48726b09ed9ae3ce140344561f900902 |
|
MD5 | 465c5154092ea4e07c3dbf86a3aaef87 |
|
BLAKE2b-256 | 84f30437587d461e64090dc1244c1b9c318353725249d292e9636ea5e1e9ca61 |
File details
Details for the file pandas_datapackage_reader-0.18.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pandas_datapackage_reader-0.18.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4660b06f533ccc35eb2f9f7cefe52b9abb7da82f7e66ad5dc52ae1c85d13b1f |
|
MD5 | 07bab17af1d62687f9bd7d0992558eab |
|
BLAKE2b-256 | b8decfe7ef4af7badf889f95026634abd0b4c858dca61a6ecd9f7c281b55edb1 |