Giter VIP home page Giter VIP logo

pipetools's Introduction

๐Ÿ›ด Command line tools for Pipedrive CRM

Command-line Interface

$ pipetools --help
Usage: pipetools [OPTIONS] COMMAND [ARGS]...

  Command line tools for Pipedrive CRM

Options:
  --help  Show this message and exit.

Commands:
  backup  Run Pipedrive CRM data backup
  deal    Fetch deal as JSON with DEALID (e.g. 42)

Fetch backup data from Pipedrive instance

$ pipetools backup --help
Usage: pipetools backup [OPTIONS] [OUTDIR]

  Run Pipedrive CRM data backup

Options:
  --token TEXT                    Pipedrive CRM API token
  --topic [users|deals|persons|organizations|pipelines|stages|files|activities]
                                  Select topic
  --stdout                        Output to stdout instead of file
  --help                          Show this message and exit.

Fetch single deal from Pipedrive instance

$ pipetools deal --help
Usage: pipetools deal [OPTIONS] DEALID

  Fetch deal as JSON with DEALID (e.g. 42)

Options:
  --outdir TEXT  Set directory to save JSON file
  --token TEXT   Pipedrive CRE API token
  --stdout       Output to stdout instead of file
  --help         Show this message and exit.

Example

Start full backup for all topics: "users", "deals", "persons", "organizations", "pipelines", "stages", "files" and "activities":

$ pipetools backup --token=123456790

Get JSON file (deals.json) with all deal data in "." for deal with id 42:

$ pipetools deal 42 --token 1234567890

pipetools's People

Contributors

ccauet avatar jeskomerkel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

dkutalek

pipetools's Issues

pip install not working without -e

$ pip install --upgrade .
Processing /Users/flokru/Documents/Point 8/github/pipetools
Requirement not upgraded as not directly required: tqdm in /Users/flokru/anaconda3/envs/snakes36/lib/python3.6/site-packages (from pipedrive-backup==1) (4.23.2)
Requirement not upgraded as not directly required: pendulum in /Users/flokru/anaconda3/envs/snakes36/lib/python3.6/site-packages (from pipedrive-backup==1) (1.5.1)
Requirement not upgraded as not directly required: tzlocal<2.0.0.0,>=1.5.0.0 in /Users/flokru/anaconda3/envs/snakes36/lib/python3.6/site-packages (from pendulum->pipedrive-backup==1) (1.5.1)
Requirement not upgraded as not directly required: python-dateutil<3.0.0.0,>=2.6.0.0 in /Users/flokru/anaconda3/envs/snakes36/lib/python3.6/site-packages (from pendulum->pipedrive-backup==1) (2.7.2)
Requirement not upgraded as not directly required: pytzdata>=2018.3.0.0 in /Users/flokru/anaconda3/envs/snakes36/lib/python3.6/site-packages (from pendulum->pipedrive-backup==1) (2018.4)
Requirement not upgraded as not directly required: pytz in /Users/flokru/anaconda3/envs/snakes36/lib/python3.6/site-packages (from tzlocal<2.0.0.0,>=1.5.0.0->pendulum->pipedrive-backup==1) (2018.4)
Requirement not upgraded as not directly required: six>=1.5 in /Users/flokru/anaconda3/envs/snakes36/lib/python3.6/site-packages (from python-dateutil<3.0.0.0,>=2.6.0.0->pendulum->pipedrive-backup==1) (1.11.0)
Building wheels for collected packages: pipedrive-backup
  Running setup.py bdist_wheel for pipedrive-backup ... done
  Stored in directory: /private/var/folders/3j/p1gg_vm57p9bnbsb1x5d_ryw0000gn/T/pip-ephem-wheel-cache-wwrr4_ir/wheels/35/66/9f/3f22c2328e5f4c97667bb4ef4cce6f8fabb127d8c03b99ddbb
Successfully built pipedrive-backup
Installing collected packages: pipedrive-backup
Successfully installed pipedrive-backup-1
(snakes36) arya-2:pipetools flokru$ pipetools 
Traceback (most recent call last):
  File "/Users/flokru/anaconda3/envs/snakes36/bin/pipetools", line 7, in <module>
    from pipetools import main
ModuleNotFoundError: No module named 'pipetools'

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.