Helpers around Google APIs
Project description
gapi-helper
Helpers around Google APIs:
Also provides new classes for simpletasks-data:
DumpTaskto dump a Flask-SQLAlchemy model into a Google SheetTransferTaskto write arbitrary data to a Google SheetTransferCsvTaskto write CSV data to a Google SheetTransferSheetTaskto write a Google Sheet to another Google Sheet
ImportSheetto use a Google Sheet as source forImportTask
Contributing
To initialize the environment:
poetry install --no-root
To run tests (including linting and code formatting checks), please run:
poetry run pytest --mypy --flake8 && poetry run black --check .
Tips
How to generate requests mocks:
- Put breakpoints in .venv/lib/python3.6/site-packages/googleapiclient/http.py:211 (end of
_retry_requestmethod) - Create a script that will do the actions
- Ensure the debugger is configured to debug external code (
"justMyCode": falsein VSCode) - Debug that script
- Save all results to
_retry_request(status and anonymized content) to files in data folder (if not already existing)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gapi-helper-0.2.4.tar.gz
(26.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gapi-helper-0.2.4.tar.gz.
File metadata
- Download URL: gapi-helper-0.2.4.tar.gz
- Upload date:
- Size: 26.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.6.7 Linux/4.15.0-1077-gcp
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56f1d808a0157f2e2aa970ec88c1bd4943b2177e53868bb5cc5ce40bf0cf435c
|
|
| MD5 |
bc47e6842477eb77066d2bd6c413679e
|
|
| BLAKE2b-256 |
1ca688703ffe25d9117638d0d5b30d1892cc923cd2a651e243df8a3b576e9079
|
File details
Details for the file gapi_helper-0.2.4-py3-none-any.whl.
File metadata
- Download URL: gapi_helper-0.2.4-py3-none-any.whl
- Upload date:
- Size: 36.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.6.7 Linux/4.15.0-1077-gcp
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ec1a4bab7d826bffb9a6c7f22d4b5c1036f78de66b7ab1aa86503c2dd16d70c
|
|
| MD5 |
efb4b9f91a7d5b963dbcba6ee8331a0e
|
|
| BLAKE2b-256 |
5312c9e0a7ed9181dbe59546a64d815c5dd8701ed3d012292daf87f7d94e6f8c
|