Skip to content

Commit

Permalink
add prefect 2
Browse files Browse the repository at this point in the history
  • Loading branch information
khuyentran1401 committed Jun 11, 2022
1 parent 8333b66 commit a34e1d1
Show file tree
Hide file tree
Showing 25 changed files with 1,243 additions and 230 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,7 @@ dmypy.json
.pyre/
.config

#hydra
outputs


7 changes: 4 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
repos:
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- repo: https://github.com/psf/black
rev: 22.1.0
hooks:
- id: black
additional_dependencies: ['click==8.0.4']
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
Expand Down
3 changes: 0 additions & 3 deletions data_science_tools/mlfoundry_example/.gitignore

This file was deleted.

This file was deleted.

63 changes: 0 additions & 63 deletions data_science_tools/mlfoundry_example/data_engineering.py

This file was deleted.

147 changes: 0 additions & 147 deletions data_science_tools/mlfoundry_example/data_science.py

This file was deleted.

11 changes: 0 additions & 11 deletions data_science_tools/mlfoundry_example/main.py

This file was deleted.

6 changes: 6 additions & 0 deletions data_science_tools/postgres_in_docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM python:3.9.1

RUN apt-get install wget
RUN pip install pandas sqlalchemy psycopg2 pyarrow

WORKDIR /app
9 changes: 9 additions & 0 deletions data_science_tools/postgres_in_docker/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
username: postgres
password: 123456
host: localhost
port: 5432
database: car_crashes
drivername: postgresql

data_url: https://raw.githubusercontent.com/mwaskom/seaborn-data/master/car_crashes.csv
table_name: car_crashes.csv
Loading

0 comments on commit a34e1d1

Please sign in to comment.