mdbq 3.6.18__tar.gz → 3.6.19__tar.gz
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-3.6.18 → mdbq-3.6.19}/PKG-INFO +1 -1
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/aggregation/optimize_data.py +5 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/aggregation/query_data.py +19 -1
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/other/download_sku_picture.py +6 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/redis/getredis.py +5 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq.egg-info/PKG-INFO +1 -1
- {mdbq-3.6.18 → mdbq-3.6.19}/setup.py +1 -1
- {mdbq-3.6.18 → mdbq-3.6.19}/README.txt +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/__init__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/__version__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/aggregation/__init__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/aggregation/aggregation.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/aggregation/datashow.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/bdup/__init__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/bdup/bdup.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/config/__init__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/config/myconfig.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/config/products.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/config/set_support.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/dataframe/__init__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/dataframe/converter.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/log/__init__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/log/mylogger.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/mongo/__init__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/mongo/mongo.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/mysql/__init__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/mysql/mysql.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/mysql/s_query.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/mysql/year_month_day.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/other/__init__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/other/porxy.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/other/pov_city.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/other/sku_picture.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/other/ua_sj.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/pbix/__init__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/pbix/pbix_refresh.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/pbix/refresh_all.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/pbix/refresh_all_old.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/redis/__init__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/spider/__init__.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq/spider/aikucun.py +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq.egg-info/SOURCES.txt +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq.egg-info/dependency_links.txt +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/mdbq.egg-info/top_level.txt +0 -0
- {mdbq-3.6.18 → mdbq-3.6.19}/setup.cfg +0 -0
@@ -22,6 +22,11 @@ elif socket.gethostname() in ['company', 'Mac2.local']:
|
|
22
22
|
data = conf['Windows']['company']['mysql']['local']
|
23
23
|
username, password, host, port = data['username'], data['password'], data['host'], data['port']
|
24
24
|
service_database = {'company': 'mysql'}
|
25
|
+
elif socket.gethostname() == 'xigua_ts':
|
26
|
+
conf = myconfig.main()
|
27
|
+
data = conf['Windows']['xigua_ts']['mysql']['remoto']
|
28
|
+
username, password, host, port = data['username'], data['password'], data['host'], data['port']
|
29
|
+
service_database = {'xigua_ts': 'mysql'}
|
25
30
|
if not username:
|
26
31
|
logger.info(f'找不到主机:')
|
27
32
|
|
@@ -50,7 +50,25 @@ if socket.gethostname() == 'company' or socket.gethostname() == 'Mac2.local':
|
|
50
50
|
charset='utf8mb4'
|
51
51
|
)
|
52
52
|
targe_host = 'company'
|
53
|
-
|
53
|
+
elif socket.gethostname() == 'xigua_ts':
|
54
|
+
conf = myconfig.main()
|
55
|
+
conf_data = conf['Windows']['xigua_ts']['mysql']['remoto']
|
56
|
+
username, password, host, port = conf_data['username'], conf_data['password'], conf_data['host'], conf_data['port']
|
57
|
+
m_engine = mysql.MysqlUpload(
|
58
|
+
username=username,
|
59
|
+
password=password,
|
60
|
+
host=host,
|
61
|
+
port=port,
|
62
|
+
charset='utf8mb4'
|
63
|
+
)
|
64
|
+
username, password, host, port = '', '', '', 3306
|
65
|
+
company_engine = mysql.MysqlUpload(
|
66
|
+
username=username,
|
67
|
+
password=password,
|
68
|
+
host=host,
|
69
|
+
port=port,
|
70
|
+
charset='utf8mb4'
|
71
|
+
)
|
54
72
|
else:
|
55
73
|
conf = myconfig.main()
|
56
74
|
|
@@ -60,6 +60,12 @@ elif socket.gethostname() in ['company', 'Mac2.local']:
|
|
60
60
|
conf_data = conf['Windows']['company']['mysql']['local']
|
61
61
|
username, password, host, port = conf_data['username'], conf_data['password'], conf_data['host'], conf_data['port']
|
62
62
|
service_database = {'company': 'mysql'}
|
63
|
+
elif socket.gethostname() == 'xigua_ts':
|
64
|
+
conf = myconfig.main()
|
65
|
+
conf_data = conf['Windows']['xigua_ts']['mysql']['remote']
|
66
|
+
username, password, host, port = conf_data['username'], conf_data['password'], conf_data['host'], conf_data['port']
|
67
|
+
service_database = {'xigua_ts': 'mysql'}
|
68
|
+
|
63
69
|
if not username:
|
64
70
|
print(f'找不到主机:')
|
65
71
|
|
@@ -33,6 +33,11 @@ elif socket.gethostname() == 'MacBookPro':
|
|
33
33
|
conf_data = conf['Windows']['xigua_lx']['mysql']['local']
|
34
34
|
username, password, host, port = conf_data['username'], conf_data['password'], conf_data['host'], conf_data['port']
|
35
35
|
redis_password = conf['Windows']['company']['redis']['local']['password']
|
36
|
+
elif socket.gethostname() == 'xigua_ts':
|
37
|
+
conf = myconfig.main()
|
38
|
+
conf_data = conf['Windows']['xigua_ts']['mysql']['remote']
|
39
|
+
username, password, host, port = conf_data['username'], conf_data['password'], conf_data['host'], conf_data['port']
|
40
|
+
redis_password = conf['Windows']['xigua_ts']['redis']['local']['password']
|
36
41
|
else:
|
37
42
|
conf = myconfig.main()
|
38
43
|
conf_data = conf['Windows']['xigua_lx']['mysql']['local']
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|