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.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vlgi_datasets-0.1.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vlgi-datasets-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 44104cdc2fac5f57810dc98030eff23d5fd25bf3e8c08e0a45b277848b9b6924
MD5 19b3cf9fef46e6c9a35f8e7c75fef4a0
BLAKE2b-256 a33c7b0fa0538f9e29e8b7c3e2310972bad72ce9a003afc3ac432686ce6dd76d

See more details on using hashes here.

File details

Details for the file vlgi_datasets-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: vlgi_datasets-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for vlgi_datasets-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a897866ace9c74ae930a22b61d5969479cba6e0a19f493b6a14478df82369bc
MD5 4305c3ad010d0d1b504ae899add0583d
BLAKE2b-256 ec3b78ce212c72e02f4b0dd88872409d77399f00cfe5bc02c9fdb22af1341e9a

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