Skip to main content

dlt-source-google-workspace

PyPI version

DLT source for Google Workspace.

Currently loads the following data:

Table Contains
users All users in the organization
calendar_events Primary-calendar events per active root-OU user
gmail_messages Gmail messages with a configured label, per fixed mailbox

Usage

Create a .dlt/secrets.toml with your API credentials (service_account):

google_workspace_service_account_info = "{ ... }"

and a .dlt/config.toml with your admin email address:

admin_user_email = "some-admin@your-domain.com"

gmail_messages additionally requires two config values — a fixed mailbox list (NOT every domain user) and the label name(s) to scope the sync to:

gmail_mailboxes = ["someone@your-domain.com", "someone-else@your-domain.com"]
gmail_label_names = ["Some Label"]

or the equivalent env vars, GMAIL_MAILBOXES / GMAIL_LABEL_NAMES, each a JSON array string — e.g. GMAIL_MAILBOXES='["someone@your-domain.com"]'. The domain-wide-delegation service account needs the https://www.googleapis.com/auth/gmail.readonly scope authorized in the Workspace Admin console (Security -> API controls -> Domain-wide delegation) alongside the existing Calendar/Directory scopes — this is a manual step, not something this package can do for you.

and then run the default source with optional list references:

from dlt_source_google_workspace import source as google_workspace_source

pipeline = dlt.pipeline(
   pipeline_name="google_workspace_pipeline",
   destination="duckdb",
   dev_mode=True,
)
google_workspace_data = google_workspace_source()
pipeline.run(google_workspace_data)

Development

This project is using devenv.

Commands:

Command What does it do?
format Formats & lints all code
sample-pipeline-run Runs the sample pipeline.
sample-pipeline-show Starts the streamlit-based dlt hub

Metadata

Release files for dlt-source-google-workspace 0.0.8

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

Source distribution (sdist)

Source distribution for dlt-source-google-workspace 0.0.8
File Size Uploaded
dlt_source_google_workspace-0.0.8.tar.gz 67.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dlt-source-google-workspace 0.0.8
File Interpreter ABI Platform
dlt_source_google_workspace-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 77.4 kB

Release files / dlt_source_google_workspace-0.0.8.tar.gz

Download URL dlt_source_google_workspace-0.0.8.tar.gz
Size 67.6 kB
Tags Source
SHA-256 checksum
How to use checksums
68bb559834e3adcb2defd802903eeb26a74cd9062ede57a58c6972a35d5d1a71
BLAKE2b-256 checksum
How to use checksums
847da2217379ee0f74cc78c5e386813dba44911da6b946744b293b8127493d4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Release files / dlt_source_google_workspace-0.0.8-py3-none-any.whl

Download URL dlt_source_google_workspace-0.0.8-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0585401551476db42b4179bfee2289870dcaef90521a5426ca2e999d777f29cd
BLAKE2b-256 checksum
How to use checksums
d9ddb6ea82526a05625e052bb86b14bd40c57715eee9de686a3f8e3a557528be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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