معرفی شرکت ها


dtintegrations-0.5.1


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Disruptive Technologies Python Integrations.
ویژگی مقدار
سیستم عامل -
نام فایل dtintegrations-0.5.1
نام dtintegrations
نسخه کتابخانه 0.5.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Disruptive Technologies Research AS
ایمیل نویسنده developer-support@disruptive-technologies.com
آدرس صفحه اصلی https://github.com/disruptive-technologies/disruptive-dataconnector
آدرس اینترنتی https://pypi.org/project/dtintegrations/
مجوز -
# Disruptive Technologies Python Integrations ![build](https://github.com/disruptive-technologies/python-integrations/actions/workflows/build.yml/badge.svg) [![codecov](https://codecov.io/gh/disruptive-technologies/python-integrations/branch/main/graph/badge.svg?token=KX0W7H6ALS)](https://codecov.io/gh/disruptive-technologies/python-integrations) ## Documentation - [Python API Reference](https://developer.disruptive-technologies.com/api/libraries/python/) - [Developer Documentation](https://developer.disruptive-technologies.com/docs/) ## Installation The package can be installed through pip: ```sh pip install --upgrade dtintegrations ``` or from source: ```sh pip install . ``` ### Requirements - Python 3.7, 3.8, 3.9, 3.10 ## Usage Currently, the main functionality of this package is validating requests forwarded by a [Data Connector](https://developer.disruptive-technologies.com/docs/data-connectors/introduction-to-data-connector). The following example shows this for a [Google Cloud Function](https://cloud.google.com/functions). ```python from dtintegrations import data_connector, provider def endpoint(request): # Validate and decode the incoming request. payload = data_connector.HttpPush.from_provider( request=request, provider=provider.GCLOUD, secret='<SIGNATURE_SECRET>', ) # Print the payload data. print(payload) # If all is well, return 200 response. return ('OK', 200) ``` ## Examples A few examples has been provided, but must be run either on a serverless platform or locally with a combination or [ngrok](https://developer.disruptive-technologies.com/docs/data-connectors/development-guides/local-development-with-ngrok) and the appropriate development framework. ## Exceptions If a method is unsuccessful or has been provided with invalid parameters, an exception is raised. A list of available exceptions are available in the [API Reference](https://developer.disruptive-technologies.com/api/libraries/python/client/errors.html). ## Development Set up the development virtualenv environment: ``` make ``` Run unit-tests against the currently active python version: ``` make test ``` Lint the package code using MyPy and flake8: ``` make lint ``` Build the package distribution: ``` make build ```


نیازمندی

مقدار نام
<3.0.0,>=2.0.0 pyjwt
>=0.6.0 disruptive
>=54.2.0 setuptools
>=0.36.2 wheel
>=6.2.2 pytest
>=3.5.1 pytest-mock
>=2.11.1 pytest-cov
>=0.812 mypy
>=3.9.0 flake8


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

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


نحوه نصب


نصب پکیج whl dtintegrations-0.5.1:

    pip install dtintegrations-0.5.1.whl


نصب پکیج tar.gz dtintegrations-0.5.1:

    pip install dtintegrations-0.5.1.tar.gz