Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/realestate-com-au/cartodb-dashboard-python
Python API for CartoDB Dashboard
https://github.com/realestate-com-au/cartodb-dashboard-python
Last synced: about 2 months ago
JSON representation
Python API for CartoDB Dashboard
- Host: GitHub
- URL: https://github.com/realestate-com-au/cartodb-dashboard-python
- Owner: realestate-com-au
- License: mit
- Created: 2014-02-11T00:19:53.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-09-06T06:10:52.000Z (over 6 years ago)
- Last Synced: 2024-11-06T13:57:13.348Z (about 2 months ago)
- Language: Python
- Size: 48.8 KB
- Stars: 1
- Watchers: 9
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Build Status](https://buildhive.cloudbees.com/job/realestate-com-au/job/cartodb-dashboard-python/badge/icon)](https://buildhive.cloudbees.com/job/realestate-com-au/job/cartodb-dashboard-python/)
cartodb-dashboard-python
========================Python API for CartoDB Dashboard. Provides access to the following operations on the CartoDB API
+ Import table
+ Column data type changes
+ Delete table
+ Rename tableIMPORTANT: 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 |# Requirements:
+ Simplejson
+ httplib2
+ mako# Install
+ clone repo
+ cd to cloned directory```bash
python setup.py install
```Or you can install from PyPi
```bash
pip install cartodb_dashboard
```# Usage
```python
client = CartoDbDashboard(cartodb_domain, cartodb_user, cartodb_password, cartodb_host+':'+cartodb_api_port,
cartodb_protocol, cartodb_version)
client.import_data('test/testdata/localities.zip')
```# Tests
+ clone repo
+ cd to cloned directory```bash
python setup.py test
```# Publish to PyPi
You will need an account on [PyPi](https://pypi.python.org/pypi) to be able to publish a new version of this package.## Register and upload
`python setup.py sdist register upload`## Install locally
The new version should be available for install as per the "Install from PyPi" section above.