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 LIENCE 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.1.tar.gz
(16.6 kB
view details)
File details
Details for the file datapackage-0.1.1.tar.gz
.
File metadata
- Download URL: datapackage-0.1.1.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 821c152c8ad02bc658e703b95e383a65473e1cd6ea104553c726e94d00868ea3 |
|
MD5 | 867b23b12f3096727814c8cc509ea5ce |
|
BLAKE2b-256 | 3799463bb5c609eec1d460c4d0606f73fcc70e529ba1182e371886306784e3f1 |