carto-python icon indicating copy to clipboard operation
carto-python copied to clipboard

CARTO Python client

Results 20 carto-python issues
Sort by recently updated
recently updated
newest added

Is this package still under active development? Is there another option that is? 1. https://github.com/CartoDB/cartoframes 2. https://github.com/visgl/deck.gl/tree/master/bindings/pydeck-carto

Documentation suggests there is a class `NoAuthClient` in `carto.auth` module. However this yields an `ImportError` > ImportError: cannot import name 'NoAuthClient' from 'carto.auth' From [read-the-docs](https://carto-python.readthedocs.io/en/latest/authentication.html) and the [Readme](https://github.com/CartoDB/carto-python/blob/master/README.md#authentication) file. ```python...

### Problem `dataset_manager.create(LOCAL_FILE_OR_URL)` only returns one dataset if multiple datasets are created (e.g. with shapefile import) ### Expected behavior All created datasets are returned

From a Support client: In this page https://carto-python.readthedocs.io/en/latest/auth_api.html#revoke-access-to-your-account-to-an-api-key we should change `api_key_mamager = APIKeyManager(auth_client)` to `api_key_manager = APIKeyManager(auth_client)`

Backwards-compatible with 0.6.11.

The DatasetManager class create() function currently lowercases the archive path before attempting to load it, causing it to fail on case sensitive filesystems: https://github.com/CartoDB/carto-python/blob/f06897192288a71ae11753a52b724810a8edeaf7/carto/datasets.py#L184

In all the `if` / `elif` cases after line 170 (`for z in sorted_by_norm:`), the print closing parenthesis comes too early, disabling the .format() to apply to the string object

### Contect * Python SDK version: 1.6.0 According to the CARTO Import API documentation, in order to import a .carto file into CARTO, you have to add the parameter "create_vis=true"....

bug

The syncing DB connections, as described in [Import API](https://carto.com/developers/import-api/guides/database-connectors/) are POSTs with JSON content to "/api/v1/synchronizations" where both `connector` and `interval` are defined. Also, actually there are `null` data import...