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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vlgi-datasets-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 5fe3028591f8b10fdeff53173023268558ac3fe13b0ac077ecbf9d4dbe0f5534
MD5 3289f9e142a9d80889ec41f2f9214bb2
BLAKE2b-256 fce1fe1be52c1c5b91f16584e20abbb7026468af05d8e5fcfb7e688fd8e64b6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vlgi_datasets-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2d3de8fd26864773e8cf6377c1968106d2d9fde1c016f757666f29eeda46c832
MD5 b0a92fe2c784b4fd8cced9cce6401050
BLAKE2b-256 c7a0ea347cca5c808036c4610878c8eb1bb948b15f58be4fcba69e4ade841b19

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