Python library to authenticate with CARTO
Project description
carto-auth
Python library to authenticate with CARTO.
Install
pip install carto-auth
Installing from source
git clone https://github.com/cartodb/carto-auth
cd carto-auth
pip install .
Usage
from carto_auth import CartoAuth
ca = CartoAuth.from_oauth()
ca.token
cdw = ca.get_carto_dw_client()
For more information, check the examples section.
Development
Make commands:
- init: create the environment and install dependencies
- lint: run linter (black + flake8)
- test: run tests (pytest)
- docs: build the documentation
- publish-pypi: publish package in pypi.org
- publish-test-pypi: publish package in test.pypi.org
- clean: remove the environment
Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
carto-auth-0.1.0b1.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for carto_auth-0.1.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c94bc7731877ec7933506aba4e6dfddbdfbbee623ad116d5a9a58462d57758a2 |
|
MD5 | 25b2e6615ae50d2f2f328168fcec9801 |
|
BLAKE2b-256 | cb16a41b2f78932cb6693b46e53c0150b6c6ae565df4c314285ef470719ae80e |