Skip to content
This repository has been archived by the owner on May 30, 2018. It is now read-only.
/ cartodb-sql-cli Public archive

CLI application to interact with CartoDB SQL API

License

Notifications You must be signed in to change notification settings

jsanz/cartodb-sql-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cartodb-sql-cli

Command line interface to interact with CartoDB SQL API. This is basically a command line interface that wraps the CartoDB python SDK for your convenience.

Installation

It's advised to create a virtual environment. Note that this code is only tested with Python 3, it will probably work with version 2, though.

virtualenv -p python3 env

And once activated install the requirement libraries with these two commands:

$ pip install -e git+git://github.com/CartoDB/cartodb-python.git#egg=cartodb
$ pip install -r requirements.text

Usage

Run python cartodb-cli.py to see the options and arguments, they should be quite straight forward. You can set these environment variables so you don't need to put your credentials from the command line:

  • CARTODB_USER_NAME
  • CARTODB_API_KEY

About

CLI application to interact with CartoDB SQL API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages