Skip to main content

interloper-google-cloud

Google Cloud integration for the Interloper framework. Provides BigQuery, Cloud Storage and Google Sheets destinations and the Google Cloud connection resource.

Google Sheets

GoogleSheetsDestination writes assets into one spreadsheet, one tab per asset. It authenticates with the GoogleCloudConnection's service-account key, or with ambient credentials when the key is empty.

Setup

  1. Create the spreadsheet and copy its id from the URL (https://docs.google.com/spreadsheets/d/<id>/edit).
  2. Share it with the service account's email address (client_email in the key) as an editor. The service account sees no spreadsheet it was not shared on.

Usage

from interloper_google_cloud import GoogleCloudConnection, GoogleSheetsDestination

destination = GoogleSheetsDestination(
    connection=GoogleCloudConnection(service_account_key="..."),
    spreadsheet_id="1AbC...",
)

Layout

  • Each asset is a tab titled after its table, or {dataset}.{table} when the asset has a dataset (at most 100 characters, Sheets' limit).
  • The first row is the header, written when the tab is created from the asset's schema. Later writes are aligned to it: columns missing from the data are left empty, columns missing from the header are dropped with a warning. The header is never altered.
  • Rows carry the partition column. Replacing a partition deletes its rows, then appends the new ones; Sheets has no transactions, so the pair is not atomic.

Types

Values are written raw: numbers and booleans as is, None as an empty cell, decimals as strings, dates and datetimes as ISO 8601 strings, dicts and lists as JSON. Time partitions are matched by comparing those ISO strings, which orders chronologically, so a time-partitioned asset's partition column must be a date or a datetime (or an ISO string). On read, empty cells come back as None and rows are reconciled against the asset's schema, restoring the declared types.

Limits

Sheets caps a spreadsheet at 10 million cells, and replacing a partition reads the whole tab and rewrites it. The destination suits small reporting tables that people open in Sheets, not a warehouse.

Metadata

Release files for interloper-google-cloud 0.102.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for interloper-google-cloud 0.102.0
File Size Uploaded
interloper_google_cloud-0.102.0.tar.gz 17.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for interloper-google-cloud 0.102.0
File Interpreter ABI Platform
interloper_google_cloud-0.102.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.3 kB

Release files / interloper_google_cloud-0.102.0.tar.gz

Download URL interloper_google_cloud-0.102.0.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4abf3b783497b0512cc850b49abd8e3b552bfaae6e878b904fa8261df600b8cf
BLAKE2b-256 checksum
How to use checksums
474ac4562890494a5a38be9b51e1a5a3a46c12d8c7b96f9de99e8f883d12a68f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / interloper_google_cloud-0.102.0-py3-none-any.whl

Download URL interloper_google_cloud-0.102.0-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d808dca716c0a606c98216b6bff07332f0c0e08696c3359fd8a4b6158cc96e8
BLAKE2b-256 checksum
How to use checksums
9218c0ccd767dca857a254fb7b3ca04296b7948c20a922f0a3bbefedf82f2f31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.102.0 This release

2 release files

0.94.1

1 release file

0.93.0

2 release files

0.92.1

2 release files

0.92.0

2 release files

0.91.0

2 release files

0.90.0

2 release files

0.89.0

2 release files

0.88.0

2 release files

0.87.0

2 release files

0.86.0

2 release files

0.85.0

2 release files

0.84.1

2 release files

0.84.0

2 release files

0.83.0

2 release files

0.82.1

2 release files

0.82.0

2 release files

0.81.1

2 release files

0.79.0

2 release files

0.78.0

2 release files

0.67.0

2 release files

0.66.0

2 release files

0.65.1

2 release files

0.65.0

2 release files

0.64.1

2 release files

0.64.0

2 release files

0.63.0

2 release files

0.62.0

2 release files

0.61.0

2 release files

0.60.0

2 release files

0.59.0

2 release files

0.58.0

2 release files

0.53.1

2 release files

0.53.0

2 release files

0.52.0

2 release files

0.51.0

2 release files

0.50.1

2 release files

0.50.0

2 release files

0.49.1

2 release files

0.49.0

2 release files

0.48.0

2 release files

0.47.0

2 release files

0.46.0

2 release files

0.45.1

2 release files

0.45.0

2 release files

0.44.1

2 release files

0.44.0

2 release files

0.43.3

2 release files

0.43.2

1 release file

0.42.0

1 release file

0.41.0

2 release files

0.40.0

2 release files

0.39.0

2 release files

0.38.0

2 release files

0.37.0

2 release files

0.36.0

2 release files

0.35.0

2 release files

0.34.0

2 release files

0.33.0

2 release files

0.32.0

2 release files

0.24.1

2 release files

0.24.0

2 release files

0.23.1

2 release files

0.23.0

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.0

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.1

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.11.0

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.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