-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78c78c8
commit 29ae63a
Showing
31 changed files
with
262 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# @Author: chunyang.xu | ||
# @Email: [email protected] | ||
# @Date: 2020-06-04 10:58:54 | ||
# @Last Modified time: 2022-08-11 15:09:09 | ||
# @Date: 2023-06-02 15:27:41 | ||
# @Last Modified by: chunyang.xu | ||
# @Last Modified time: 2023-07-26 18:06:21 | ||
# @github: https://github.com/longfengpili | ||
|
||
# !/usr/bin/env python3 | ||
# -*- coding:utf-8 -*- | ||
|
||
import os | ||
import logging.config | ||
from pydbapi.conf.settings import LOGGING_CONFIG | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# @Author: chunyang.xu | ||
# @Email: [email protected] | ||
# @Date: 2020-06-08 14:02:33 | ||
# @Last Modified time: 2022-11-18 14:58:11 | ||
# @Date: 2023-06-02 15:27:41 | ||
# @Last Modified by: chunyang.xu | ||
# @Last Modified time: 2023-07-26 17:49:13 | ||
# @github: https://github.com/longfengpili | ||
|
||
#!/usr/bin/env python3 | ||
# -*- coding:utf-8 -*- | ||
|
||
from .redshift import RedshiftDB, SqlRedshiftCompile | ||
from .sqlite import SqliteDB, SqliteCompile | ||
from .mysql import MysqlDB, SqlMysqlCompile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# @Author: chunyang.xu | ||
# @Email: [email protected] | ||
# @Date: 2020-06-10 14:40:50 | ||
# @Last Modified time: 2022-08-11 10:05:16 | ||
# @Date: 2023-06-02 15:27:41 | ||
# @Last Modified by: chunyang.xu | ||
# @Last Modified time: 2023-07-26 17:49:58 | ||
# @github: https://github.com/longfengpili | ||
|
||
# !/usr/bin/env python3 | ||
# -*- coding:utf-8 -*- | ||
|
||
import re | ||
import threading | ||
import pymysql | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# @Author: chunyang.xu | ||
# @Email: [email protected] | ||
# @Date: 2020-06-10 14:40:50 | ||
# @Last Modified time: 2022-08-11 10:05:30 | ||
# @Date: 2023-06-02 15:27:41 | ||
# @Last Modified by: chunyang.xu | ||
# @Last Modified time: 2023-07-26 17:50:05 | ||
# @github: https://github.com/longfengpili | ||
|
||
# !/usr/bin/env python3 | ||
# -*- coding:utf-8 -*- | ||
|
||
|
||
import threading | ||
import psycopg2 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
# # @Author: chunyang.xu | ||
# # @Email: [email protected] | ||
# # @Date: 2020-10-22 16:12:47 | ||
# # @Last Modified time: 2022-08-11 10:05:28 | ||
# # @github: https://github.com/longfengpili | ||
|
||
# # !/usr/bin/env python3 | ||
# # -*- coding:utf-8 -*- | ||
# -*- coding: utf-8 -*- | ||
# @Author: chunyang.xu | ||
# @Date: 2023-06-02 15:27:41 | ||
# @Last Modified by: chunyang.xu | ||
# @Last Modified time: 2023-07-26 18:05:45 | ||
# @github: https://github.com/longfengpili | ||
|
||
# import threading | ||
# import snowflake.connector | ||
|
@@ -15,13 +13,6 @@ | |
# from pydbapi.conf import AUTO_RULES | ||
|
||
|
||
# import logging | ||
# import logging.config | ||
# from pydbapi.conf import LOGGING_CONFIG | ||
# logging.config.dictConfig(LOGGING_CONFIG) | ||
# sflogger = logging.getLogger('snowflake') | ||
|
||
|
||
# class SqlSnowflakeCompile(SqlCompile): | ||
# '''[summary] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# @Author: chunyang.xu | ||
# @Email: [email protected] | ||
# @Date: 2020-06-03 15:25:44 | ||
# @Last Modified time: 2022-08-11 10:05:25 | ||
# @Date: 2023-06-02 15:27:41 | ||
# @Last Modified by: chunyang.xu | ||
# @Last Modified time: 2023-07-26 18:04:44 | ||
# @github: https://github.com/longfengpili | ||
|
||
# !/usr/bin/env python3 | ||
# -*- coding:utf-8 -*- | ||
|
||
import os | ||
import threading | ||
import sqlite3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# @Author: chunyang.xu | ||
# @Email: [email protected] | ||
# @Date: 2020-11-30 16:28:21 | ||
# @Last Modified time: 2023-06-08 10:30:28 | ||
# @Date: 2023-06-02 15:27:41 | ||
# @Last Modified by: chunyang.xu | ||
# @Last Modified time: 2023-07-26 18:05:10 | ||
# @github: https://github.com/longfengpili | ||
|
||
# !/usr/bin/env python3 | ||
# -*- coding:utf-8 -*- | ||
|
||
|
||
class ColumnModel(object): | ||
|
||
def __init__(self, newname, coltype='varchar', sqlexpr=None, func=None, order=0, desc=None): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
# -*- coding: utf-8 -*- | ||
# @Author: chunyang.xu | ||
# @Email: [email protected] | ||
# @Date: 2020-06-10 12:18:59 | ||
# @Last Modified time: 2020-06-17 21:08:41 | ||
# @Date: 2023-06-02 15:27:41 | ||
# @Last Modified by: chunyang.xu | ||
# @Last Modified time: 2023-07-26 18:05:23 | ||
# @github: https://github.com/longfengpili | ||
|
||
#!/usr/bin/env python3 | ||
# -*- coding:utf-8 -*- | ||
|
||
from .myhandlers import MakeFileHandler | ||
from .settings import * | ||
from .logconf import * | ||
|
||
# __all__ = ['MakeFileHandler', 'LOGGING_CONFIG', 'AUTO_RULES', 'REDSHIFT_AUTO_RULES'] |
Oops, something went wrong.