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
Python support
datapackage supports both Python 2 and 3.
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.5.1.tar.gz
(31.0 kB
view details)
File details
Details for the file datapackage-0.5.1.tar.gz
.
File metadata
- Download URL: datapackage-0.5.1.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a3874b20a94a881f08f2a35ede0cb870baf9baada1fdbfc0d6d2b70cd56fa26 |
|
MD5 | 5e8aa040c2714e27990ffa81d647d4d7 |
|
BLAKE2b-256 | a159734c415efaecd6f9058e96c69f91d8037393878676c5dee88e7639989d51 |