apatterson189-google-api-helpers-0.1.5
توضیحات
LIbrary of helpers for using google apis
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | apatterson189-google-api-helpers-0.1.5 |
| نام | apatterson189-google-api-helpers |
| نسخه کتابخانه | 0.1.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Albert Patterson |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/apatterson189-google-api-helpers/ |
| مجوز | MIT |
# google_api_helpers
Python helpers for using google apis
# install
pip install apatterson189-google-api-helpers
# Setup
1) Create a GCP project
2) Create a set of credentials
3) download the credentials (as credentials.json for example)
The first step of using these tools should be to provide the credentials of the GCP project that will be used to access the data, via "google_api_helpers.auth.setStoredCredentialsLocation".
# usage
import google_api_helpers
# Build
python3 setup.py sdist bdist_wheel
# Upload
python3 -m twine upload dist/*
# Test
python setup.py pytest
# Notes
* IMPORTANT: Run tests only with accounts for which important data is not stored in drive. The data may be lost.
* based on https://packaging.python.org/tutorials/packaging-projects/ and https://medium.com/analytics-vidhya/how-to-create-a-python-library-7d5aea80cc3f
نیازمندی
| مقدار | نام |
|---|---|
| ==1.4.0 | atomicwrites |
| ==20.2.0 | attrs |
| ==1.5.4 | autopep8 |
| ==4.1.1 | cachetools |
| ==2020.6.20 | certifi |
| ==3.0.4 | chardet |
| ==1.22.4 | google-api-core |
| ==1.12.3 | google-api-python-client |
| ==1.22.1 | google-auth |
| ==0.0.4 | google-auth-httplib2 |
| ==0.4.1 | google-auth-oauthlib |
| ==1.52.0 | googleapis-common-protos |
| ==0.18.1 | httplib2 |
| ==2.10 | idna |
| ==2.0.0 | importlib-metadata |
| ==1.1.1 | iniconfig |
| ==8.5.0 | more-itertools |
| ==3.1.0 | oauthlib |
| ==20.4 | packaging |
| ==0.13.1 | pluggy |
| ==3.13.0 | protobuf |
| ==1.9.0 | py |
| ==0.4.8 | pyasn1 |
| ==0.2.8 | pyasn1-modules |
| ==2.6.0 | pycodestyle |
| ==2.4.7 | pyparsing |
| ==2020.1 | pytz |
| ==2.24.0 | requests |
| ==1.3.0 | requests-oauthlib |
| ==4.6 | rsa |
| ==1.15.0 | six |
| ==0.10.1 | toml |
| ==3.0.1 | uritemplate |
| ==1.25.10 | urllib3 |
| ==0.2.5 | wcwidth |
| ==3.3.1 | zipp |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl apatterson189-google-api-helpers-0.1.5:
pip install apatterson189-google-api-helpers-0.1.5.whl
نصب پکیج tar.gz apatterson189-google-api-helpers-0.1.5:
pip install apatterson189-google-api-helpers-0.1.5.tar.gz