Metadata-Version: 2.1
Name: vlgi-datasets
Version: 0.1.6
Summary: A package with custom kedro datasets for VLGI
Author-email: Tecnologia Grupo Sozo <tecnologia@gruposozo.com.br>
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: pandas>=0.23.4
Requires-Dist: kedro>=0.19.3
Requires-Dist: kedro-datasets>=2.1.0
Requires-Dist: SQLAlchemy~=2.0.0
Requires-Dist: Office365-REST-Python-Client~=2.3.16

# vlgi-datasets

## Overview

Repositiory with custom kedro datasets

## How to use

In code:
```python
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:
```yaml
asset:
  type: vlgi_datasets.PostgresTableUpsertDataset
  table_name: assets
  credentials:
    con: myconnectionstring
  save_args:
    if_exists: append
    constraint: assets_pkey
```
