Skip to main content

A package with custom kedro datasets for VLGI

Project description

vlgi-datasets

Overview

Repositiory with custom kedro datasets

How to use

In code:

from kedro.io import DataCatalog
from vlgi_datasets import PostgresTableUpsertDataset

io = DataCatalog(
    {
        "asset": PostgresTableUpsertDataset(
            table_name="assets",
            credentials={"con": "myconnectionstring"},
            save_args={"if_exists": "append", "constraint": "assets_pkey"},
        ),
    }
)

In catalog.yml:

asset:
  type: vlgi_datasets.PostgresTableUpsertDataset
  table_name: assets
  credentials:
    con: myconnectionstring
  save_args:
    if_exists: append
    constraint: assets_pkey

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vlgi-datasets-0.1.5.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file vlgi-datasets-0.1.5.tar.gz.

File metadata

  • Download URL: vlgi-datasets-0.1.5.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for vlgi-datasets-0.1.5.tar.gz
Algorithm Hash digest
SHA256 8fddbe3afa05da78bfdd996bfd1b2db06f3945f165d615c1e7d2dbfb86a4186b
MD5 926a610bc6a5965e82423b9f877af640
BLAKE2b-256 b6ee6c3ab6273b493cb9124b7640d54b0df295f81c6f1e4f5dd03885d6179324

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page