Skip to main content

gapi-helper

Helpers around Google APIs:

Also provides new classes for simpletasks-data:

  • DumpTask to dump a Flask-SQLAlchemy model into a Google Sheet
  • TransferTask to write arbitrary data to a Google Sheet
    • TransferCsvTask to write CSV data to a Google Sheet
    • TransferSheetTask to write a Google Sheet to another Google Sheet
  • ImportSheet to use a Google Sheet as source for ImportTask

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:

  1. Put breakpoints in .venv/lib/python3.6/site-packages/googleapiclient/http.py:211 (end of _retry_request method)
  2. Create a script that will do the actions
  3. Ensure the debugger is configured to debug external code ("justMyCode": false in VSCode)
  4. Debug that script
  5. 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)

Source distribution for gapi-helper 0.2.4
File Size Uploaded
gapi-helper-0.2.4.tar.gz 26.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gapi-helper 0.2.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page