Skip to content

Commit 31efaf8

Browse files
committed
Refactor.
1 parent e170822 commit 31efaf8

9 files changed

+471
-266
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ hackersandslackers-204807-a78d7cf1d0d8.json
114114
# .DS_Store
115115
.DS_Store
116116

117+
# logs
118+
logs/*
119+
117120
# Pycharm
118121
.idea
119122
.idea/.gitignore

Pipfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ name = "pypi"
33
url = "https://pypi.org/simple"
44
verify_ssl = true
55

6-
[dev-packages]
7-
86
[packages]
97
SQLAlchemy = "*"
108
PyBigQuery = "*"
119
PyMySQL = "*"
1210
Loguru = "*"
1311

12+
[dev-packages]
13+
pytest = "*"
14+
1415
[requires]
1516
python_version = "3.8"

Pipfile.lock

+168-64
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# BigQuery SQLAlchemy Tutorial
22

3-
![Python](https://img.shields.io/badge/Python-v^3.7-blue.svg?logo=python&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
4-
![Google Cloud BigQuery](https://img.shields.io/badge/Google--Cloud--BigQuery-v1.24.0-blue.svg?logo=Google&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
5-
![PyBigQuery](https://img.shields.io/badge/PyBigQuery-v0.4.13-blue.svg?logo=Google&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
6-
![SQLAlchemy](https://img.shields.io/badge/SQLAlchemy-v1.3.13-red.svg?longCache=true&style=flat-square&logo=scala&logoColor=white&colorA=4c566a&colorB=bf616a)
7-
![PyMySQL](https://img.shields.io/badge/PyMySQL-v0.9.3-red.svg?longCache=true&style=flat-square&logo=mysql&logoColor=white&colorA=4c566a&colorB=bf616a)
3+
![Python](https://img.shields.io/badge/Python-v3.8-blue.svg?logo=python&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
4+
![Google Cloud BigQuery](https://img.shields.io/badge/Google--Cloud--BigQuery-v^1.27.0-blue.svg?logo=Google&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
5+
![PyBigQuery](https://img.shields.io/badge/PyBigQuery-v0.4.15-blue.svg?logo=Google&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
6+
![SQLAlchemy](https://img.shields.io/badge/SQLAlchemy-v1.3.19-red.svg?longCache=true&style=flat-square&logo=scala&logoColor=white&colorA=4c566a&colorB=bf616a)
7+
![PyMySQL](https://img.shields.io/badge/PyMySQL-v^0.10.0-red.svg?longCache=true&style=flat-square&logo=mysql&logoColor=white&colorA=4c566a&colorB=bf616a)
88
![GitHub Last Commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat-square&colorA=4c566a&colorB=a3be8c)
99
[![GitHub Issues](https://img.shields.io/github/issues/hackersandslackers/bigquery-sqlalchemy-tutorial.svg?style=flat-square&colorA=4c566a&colorB=ebcb8b)](https://github.com/hackersandslackers/bigquery-python-tutorial/issues)
1010
[![GitHub Stars](https://img.shields.io/github/stars/hackersandslackers/bigquery-sqlalchemy-tutorial.svg?style=flat-square&colorB=ebcb8b&colorA=4c566a)](https://github.com/hackersandslackers/bigquery-python-tutorial/stargazers)

main.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""Application entry point."""
22
from biquery_sql_etl import init_pipeline
33

4+
pipeline = init_pipeline()
5+
46
if __name__ == '__main__':
5-
init_pipeline()
7+
pipeline

0 commit comments

Comments
 (0)