Manage and load dataprotocols.org Data Packages
Project description
datapackage provides means to work with DataPackages as defined on dataprotocols.org.
>> import datapackage >> >> # Note trailing slash is important for data.okfn.org >> datapkg = datapackage.DataPackage('http://data.okfn.org/data/cpi/') >> >> print datapkg.title Annual Consumer Price Index (CPI) >> print datapkg.description Annual Consumer Price Index (CPI) for most countries in the world. Reference year is 2005. >> # Weird example just to show how to work with data rows >> print sum([row['CPI'] for row in datapkg.data]) 668134.635662
License
datapackage is available under the GNU General Public License, version 3. See LICENCE for more details.
Project details
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
datapackage-0.1.2.tar.gz
(17.6 kB
view details)
File details
Details for the file datapackage-0.1.2.tar.gz
.
File metadata
- Download URL: datapackage-0.1.2.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 297cfa2dcd81f4be83684cd6d7e88d0e345800c1f70779e5bc2d0a6b10462e60 |
|
MD5 | 8e24c85f9f28a61c8a0d02ea949e1bb8 |
|
BLAKE2b-256 | efbc35c02fc3b61dff66924a8a7c54720fe5a03b416e53384dffa5781decb399 |