Skip to content

subhankarb/dpmpy

 
 

Repository files navigation

Data Package Manager - in Python

Gitter Build Status Test Coverage Support Python versions 2.7, 3.3, 3.4 and 3.5

dpm[py] is a command-line data package manager written in Python. You can use it to publish and install data packages from a data package registry server. For more about data packages see http://frictionlessdata.io/data-packages

Install

Until the new code available on pypi, you can install it from this repo:

[sudo] pip install git+https://github.com/frictionlessdata/dpm-py.git

Configuration

Dpmpy can be configured using dpmpy configure command. It will ask you to provide username, access_token and server address of datapackage registry.

The config is stored in ~/.dpm/config, you can edit it with text editor. Simple example config file can look like this:

username = myname
access_token = mypass
server = https://example.com

Usage

To publish datapackage, go to the datapackage directory (with datapackage.json) and launch dpmpy publish. If your configured username and access_token are correct, dpmpy will upload datapackage.json and all relevant resources to the registry server.

Testing

  1. Clone the repo

  2. Run python setup.py test

About

Data package manager written in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%