Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Data Package Manager
branch: master
Failed to load latest commit information.
bin [#29,info][m]: new command 'info' to print info on a given datapackage.
doc [#29,info][m]: new command 'info' to print info on a given datapackage.
lib [#29,info][m]: new command 'info' to print info on a given datapackage.
test
.gitignore add dpm2 codebase
.travis.yml add travis config
README.md add travis build status badge
package.json [#29,info][m]: new command 'info' to print info on a given datapackage.

README.md

dpm = data package manager

dpm is a library and command line manager for Data Packages.

NPM
Build Status

Install

Note: dpm is provided by a node package named datapackage (not dpm)

dpm is implemented in node, so to install dpm just do:

npm install datapackage -g

Command Line Usage

To get an overview and list of commands check out the command line help:

dpm --help

Using DPM programaticaly

You can also use dpm programatically.

var Dpm = require('datapackage);
var dpm = new Dpm(conf);

dpm.install(['mydpkg@0.0.0', 'mydata@1.0.0'], {cache: true}, function(err, dpkgs){
  //done!
});
dpm.on('log', console.log); //if you like stuff on stdout

Changelog

  • v0.7.0: new ckan command
  • v0.6.0: much better validation via v0.2 of datapackage-validate

References

Previous dpm (python-based) can still be found at http://github.com/okfn/dpm-old.

Most relevant may be the documentation at: http://dpm.readthedocs.org/en/latest/

Something went wrong with that request. Please try again.