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.6.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.6-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vlgi-datasets-0.1.6.tar.gz
  • Upload date:
  • Size: 4.3 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.6.tar.gz
Algorithm Hash digest
SHA256 245d37b41066698f19e311fe2d4cae6d4e930db19e90a87398c15d8f278d446d
MD5 aa18d84abc42618284bc114aaf83b017
BLAKE2b-256 200e4a0112200432cb60630f855c45959f9cbce2b4600260639fba1e612cd77d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vlgi_datasets-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 536868a1bf425942137c1f3d16c0565176b229e8cfa300e9c23165616fa9ca2b
MD5 5c204b581310125cfc30da44c1a49a60
BLAKE2b-256 5e5e166b9109e9a2195f9955032156208396a7eef49ffce8ce32dd6d5e66931a

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