https://github.com/ciocan/meltano-dbt-postgres-python-model
Meltano ETL demo with DBT Postgres Python Models
https://github.com/ciocan/meltano-dbt-postgres-python-model
dbt dbt-models dbt-postgres etl etl-pipeline meltano python-models
Last synced: 2 months ago
JSON representation
Meltano ETL demo with DBT Postgres Python Models
- Host: GitHub
- URL: https://github.com/ciocan/meltano-dbt-postgres-python-model
- Owner: ciocan
- Created: 2024-07-23T22:23:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-24T12:14:48.000Z (over 1 year ago)
- Last Synced: 2025-10-20T01:09:56.135Z (5 months ago)
- Topics: dbt, dbt-models, dbt-postgres, etl, etl-pipeline, meltano, python-models
- Language: Python
- Homepage:
- Size: 204 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Meltano DBT Postgres Python Model demo
*** _*work in progress, not working yet*_ ***
This is a demo project to show how to use [Meltano](https://meltano.com/) to transform data with [DBT Python models](https://docs.getdbt.com/docs/build/python-models) and load on Postgres database by using [dbt-postgres-python](https://pypi.org/project/dbt-postgres-python/) dbt adapter.
## Prerequisites
1. Copy env.example to .env and fill in the required values.
2. Run postgres database using docker-compose:
```
docker-compose up -d
```
3. Install Meltano project dependencies:
```
pipx install meltano
pip install -r requirements.txt
meltano install
```
4. Run the ETL pipelie:
```
meltano run food-data
```
#### Dataset source:
[Food Nutrition Dataset](https://www.kaggle.com/datasets/utsavdey1410/food-nutrition-dataset)