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)
Release files for gapi-helper 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gapi-helper-0.2.4.tar.gz | 26.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gapi_helper-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.2 kB
Release files / gapi-helper-0.2.4.tar.gz
| Download URL | gapi-helper-0.2.4.tar.gz |
|---|---|
| Size | 26.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56f1d808a0157f2e2aa970ec88c1bd4943b2177e53868bb5cc5ce40bf0cf435c
|
|
BLAKE2b-256 checksum How to use checksums |
1ca688703ffe25d9117638d0d5b30d1892cc923cd2a651e243df8a3b576e9079
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.6.7 Linux/4.15.0-1077-gcp
|
Release files / gapi_helper-0.2.4-py3-none-any.whl
| Download URL | gapi_helper-0.2.4-py3-none-any.whl |
|---|---|
| Size | 36.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ec1a4bab7d826bffb9a6c7f22d4b5c1036f78de66b7ab1aa86503c2dd16d70c
|
|
BLAKE2b-256 checksum How to use checksums |
5312c9e0a7ed9181dbe59546a64d815c5dd8701ed3d012292daf87f7d94e6f8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.6.7 Linux/4.15.0-1077-gcp
|