GithubHelp home page GithubHelp logo

subhankarb / dpmpy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openknowledge-archive/dpm-py

0.0 1.0 0.0 132 KB

Data package manager written in Python

License: MIT License

Python 100.00%

dpmpy's Introduction

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

dpmpy's People

Contributors

fak3 avatar rufuspollock avatar subhankarb avatar kittdotech avatar zelima avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.