Python API for CartoDB Dashboard. Provides access to the following operations on the CartoDB API
- Import table
- Column data type changes
- Delete table
- Rename table
IMPORTANT: This module works against a non published API which is subject to change. It has been tested without issue against the following CartoDB versions:
| Cartodb Dashboard Client Version | CartoDB Version |
|---|---|
| < 0.2.1 | 2.3.0 - 2.9.1 |
- Simplejson
- httplib2
- mako
- clone repo
- cd to cloned directory
python setup.py installOr you can install from PyPi
pip install cartodb_dashboardclient = CartoDbDashboard(cartodb_domain, cartodb_user, cartodb_password, cartodb_host+':'+cartodb_api_port,
cartodb_protocol, cartodb_version)
client.import_data('test/testdata/localities.zip')- clone repo
- cd to cloned directory
python setup.py testYou will need an account on PyPi to be able to publish a new version of this package.
python setup.py sdist register upload
The new version should be available for install as per the "Install from PyPi" section above.