معرفی شرکت ها


carto-auth-0.1.0b5


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Python library to authenticate with CARTO
ویژگی مقدار
سیستم عامل -
نام فایل carto-auth-0.1.0b5
نام carto-auth
نسخه کتابخانه 0.1.0b5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده CARTO
ایمیل نویسنده jarroyo@carto.com
آدرس صفحه اصلی https://github.com/cartodb/carto-auth
آدرس اینترنتی https://pypi.org/project/carto-auth/
مجوز BSD 3-Clause
# carto-auth [![PyPI version](https://badge.fury.io/py/carto-auth.svg)](https://badge.fury.io/py/carto-auth) [![PyPI downloads](https://img.shields.io/pypi/dm/carto-auth.svg)](https://pypistats.org/packages/carto-auth) [![Tests](https://github.com/cartodb/carto-auth/actions/workflows/ci.yml/badge.svg)](https://github.com/cartodb/carto-auth/actions) Python library to authenticate with [CARTO](carto.com). ## Install ```bash pip install carto-auth ``` To install the CARTO DW extension: ```bash pip install carto-auth[carto-dw] ``` ### Installing from source ```bash git clone https://github.com/cartodb/carto-auth cd carto-auth pip install . ``` ## Usage ```py from carto_auth import CartoAuth # Authentication carto_auth = CartoAuth.from_oauth() # carto_auth = CartoAuth.from_m2m("./carto_credentials.json") # Get api base url api_base_url = carto_auth.get_api_base_url() # Get access token access_token = carto_auth.get_access_token() # CARTO Data Warehouse carto_dw_project, carto_dw_token = carto_auth.get_carto_dw_credentials() carto_dw_client = carto_auth.get_carto_dw_client() ``` For more information, check the [examples](./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 Check the development [documentation](./docs) section. ## Contributors - [Jesús Arroyo](https://github.com/jesus89) - [Óscar Ramírez](https://github.com/tuxskar)


نیازمندی

مقدار نام
- pyyaml
- requests
- google-auth
>=2.34.4 google-cloud-bigquery


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl carto-auth-0.1.0b5:

    pip install carto-auth-0.1.0b5.whl


نصب پکیج tar.gz carto-auth-0.1.0b5:

    pip install carto-auth-0.1.0b5.tar.gz