cianfhoghlaim/cianchosaint / .agents/skills/dlt
dlt
Verified| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 20.6 KB |
| references/crawl4ai-dlt-summary.md | markdown | 1.8 KB |
| references/dagster-dlt-assets.md | markdown | 3.9 KB |
| references/deploy-gcp-cloud-function-webhook.md | markdown | 2.1 KB |
| references/deploy-gcp-cloud-function.md | markdown | 2.0 KB |
| references/deploy-gcp-cloud-run.md | markdown | 2.4 KB |
| references/deploy-modal.md | markdown | 2.6 KB |
| references/destinations-cognee-memgraph.md | markdown | 3.3 KB |
| references/destinations-graphiti.md | markdown | 3.0 KB |
| references/destinations-lancedb.md | markdown | 3.4 KB |
| references/dlt-baml-orpc-mcp-typesafe-pipeline-analysis.md | markdown | 20.0 KB |
| references/dlt-transformations.md | markdown | 3.3 KB |
| references/dlthub-codebase-analysis.md | markdown | 32.4 KB |
| references/dlthub.md | markdown | 12.5 KB |
| references/openapi-generator.md | markdown | 2.3 KB |
| references/performance-optimisation.md | markdown | 3.3 KB |
| references/sqlmesh-init.md | markdown | 1.7 KB |
| references/type-safe-pipeline.md | markdown | 4.4 KB |
references/deploy-gcp-cloud-function.md
View on GitHub# Deploy: GCP Cloud Functions (scheduled)
Deploy a dlt pipeline as a **scheduled** GCP Cloud Function. Useful
for periodic ingestion (hourly, daily, etc.) without a separate
orchestrator.
## Pattern
```python
# main.py
import dlt
@dlt.source
def my_source():
@dlt.resource(name="events")
def events():
for event in fetch_events():
yield event
return events
def scheduled_ingest(event, context):
"""Cloud Function entry point. Triggered by Cloud Scheduler."""
pipeline = dlt.pipeline(
pipeline_name="scheduled_ingest",
destination="bigquery",
dataset_name="events",
)
load_info = pipeline.run(my_source())
print(f"Loaded {load_info.loads_id}")
```
## Deploy
```bash
gcloud functions deploy scheduled-ingest \
--runtime python310 \
--trigger-http \
--entry-point scheduled_ingest \
--set-env-vars DLT_DISABLE_PLUGINS=true \
--service-account your-sa@project.iam.gserviceaccount.com \
--memory 1GB \
--timeout 540s # 9 min (max for Cloud Functions)
```
## Schedule
Create a Cloud Scheduler job that POSTs to the function:
```bash
gcloud scheduler jobs create http daily-ingest \
--schedule "0 2 * * *" \
--time-zone "Europe/Dublin" \
--http-method POST \
--uri https://europe-west1-PROJECT.cloudfunctions.net/scheduled-ingest \
--oidc-service-account-email your-sa@project.iam.gserviceaccount.com
```
## Cianfhoghlaim usage
The Cianfhoghlaim stack uses Dagster for scheduling (the `dagster` skill),
not GCP Cloud Functions + Cloud Scheduler. The Cloud Function
pattern is a valid alternative for small, single-purpose pipelines
that don't need a full orchestrator.
## Reference
- The `Deploy with Google Cloud Functions _ dlt Docs.md` (6.3K) was
in `docs/dlt/` (deleted with the `sync-skills-from-docs` change)
- The dltHub docs: <https://dlthub.com/docs/dlt-ecosystem/destinations/bigquery>
- The GCP Cloud Functions docs: <https://cloud.google.com/functions/docs>
- The GCP Cloud Scheduler docs: <https://cloud.google.com/scheduler/docs>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |