mdbq 4.0.23__py3-none-any.whl → 4.0.25__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mdbq/__version__.py +1 -1
- mdbq/aggregation/query_data.py +14 -10
- mdbq/myconf/myconf.py +278 -374
- mdbq/myconf/{myconf2.py → myconf_bak.py} +296 -74
- {mdbq-4.0.23.dist-info → mdbq-4.0.25.dist-info}/METADATA +1 -1
- {mdbq-4.0.23.dist-info → mdbq-4.0.25.dist-info}/RECORD +8 -8
- {mdbq-4.0.23.dist-info → mdbq-4.0.25.dist-info}/WHEEL +0 -0
- {mdbq-4.0.23.dist-info → mdbq-4.0.25.dist-info}/top_level.txt +0 -0
mdbq/__version__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION = '4.0.
|
1
|
+
VERSION = '4.0.25'
|
mdbq/aggregation/query_data.py
CHANGED
@@ -3684,16 +3684,20 @@ def main(months=3):
|
|
3684
3684
|
# 1. 更新日期表 更新货品年份基准表, 属性设置 3 - 货品年份基准
|
3685
3685
|
date_table()
|
3686
3686
|
# 2. 数据聚合
|
3687
|
-
|
3688
|
-
username
|
3689
|
-
password
|
3690
|
-
host
|
3691
|
-
port
|
3692
|
-
pool_size
|
3693
|
-
|
3694
|
-
|
3695
|
-
|
3696
|
-
|
3687
|
+
db_config = {
|
3688
|
+
'username': username,
|
3689
|
+
'password': password,
|
3690
|
+
'host': host,
|
3691
|
+
'port': int(port),
|
3692
|
+
'pool_size': 20,
|
3693
|
+
'mincached': 5,
|
3694
|
+
'maxcached': 10,
|
3695
|
+
}
|
3696
|
+
with s_query.QueryDatas(**db_config) as download_manager:
|
3697
|
+
query1(download_manager=download_manager, months=months)
|
3698
|
+
query2(download_manager=download_manager, months=months)
|
3699
|
+
query3(download_manager=download_manager, months=months)
|
3700
|
+
|
3697
3701
|
logger.info('数据聚合完成')
|
3698
3702
|
|
3699
3703
|
|