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

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.123.1
File Size Uploaded Provenance Actions
interloper_google_cloud-0.123.1.tar.gz 18.9 kB Without provenance Details for interloper_google_cloud-0.123.1.tar.gz

Built distribution (wheel)

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

Total release size: 41.5 kB

Release files / interloper_google_cloud-0.123.1.tar.gz

Download URL interloper_google_cloud-0.123.1.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6cfb2d550aeff4b9f6ee58dadb3400e3ed08041fac78806a04f8a9ee6f852d59
BLAKE2b-256 checksum
How to use checksums
7be93a0b6b431f5b7349126bcd3c4cce99c3b115c44fd3043f98c2ba83e42ad3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.123.1-py3-none-any.whl

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

Security for interloper-google-cloud 0.123.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.123.1 This release

2 release files No provenance

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