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.0.tar.gz (4.3 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.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vlgi-datasets-0.1.0.tar.gz
Algorithm Hash digest
SHA256 591a39de2f41fc38bf610a35e68e676cecbdd5ce7feb2878db57fad53389fe71
MD5 842ad968e6f2aacc460be9b9cbfd9bf3
BLAKE2b-256 d257e60910526787efe40616ed62fd23a17ca56b096bc259f0aa7586c471d5ed

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vlgi_datasets-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b52b014687a9e31b8b9365e21e6cb18581d52c68722a87a1e44f373c47560036
MD5 21ecbbd86ba3488eeb4eca76e892704a
BLAKE2b-256 c079bf64a965bd03a0d0baf8b031aa1d64fa67fd7b1d4e9153f1f81bedfe8df0

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