mdbq 2.2.7__py3-none-any.whl → 2.2.9__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.
@@ -362,7 +362,7 @@ class DatabaseUpdate:
362
362
  date = re.findall(r's-(\d{4})(\d{2})(\d{2})\.', str(name))
363
363
  if not date: # 阻止月数据及已转换的表格
364
364
  print(f'{name} 不支持或是已转换的表格')
365
- # os.remove(os.path.join(root, name)) # 直接删掉,避免被分到原始文件, encoding 不同会引发错误
365
+ os.remove(os.path.join(root, name)) # 直接删掉,避免被分到原始文件, encoding 不同会引发错误
366
366
  check_remove_file = True
367
367
  continue
368
368
  df = pd.read_csv(os.path.join(root, name), encoding=encoding, header=0, na_filter=False)
mdbq/other/sku_picture.py CHANGED
@@ -624,10 +624,10 @@ class DownloadPicture():
624
624
  f.write(res.content)
625
625
  # self.finish_download.append(data['商品id'])
626
626
  self.finish_d2.append(
627
- [
628
- {'完成时间': datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')},
629
- {'完成id': data['商品id']}
630
- ]
627
+ {
628
+ '完成时间': datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
629
+ '完成id': data['商品id'],
630
+ }
631
631
  )
632
632
  except Exception as e:
633
633
  print(f'{self.filename}: {e}')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mdbq
3
- Version: 2.2.7
3
+ Version: 2.2.9
4
4
  Home-page: https://pypi.org/project/mdbsql
5
5
  Author: xigua,
6
6
  Author-email: 2587125111@qq.com
@@ -1,7 +1,7 @@
1
1
  mdbq/__init__.py,sha256=Il5Q9ATdX8yXqVxtP_nYqUhExzxPC_qk_WXQ_4h0exg,16
2
2
  mdbq/__version__.py,sha256=y9Mp_8x0BCZSHsdLT_q5tX9wZwd5QgqrSIENLrb6vXA,62
3
3
  mdbq/aggregation/__init__.py,sha256=EeDqX2Aml6SPx8363J-v1lz0EcZtgwIBYyCJV6CcEDU,40
4
- mdbq/aggregation/aggregation.py,sha256=98pECXV6yw7XSjoLnJBgHIQWM2s2aaB8ii5qNebAI7o,75872
4
+ mdbq/aggregation/aggregation.py,sha256=DvK0ElEV-fxZb10JHrJFrOyj3oplOUJyYC0J9pDIxyE,75870
5
5
  mdbq/aggregation/df_types.py,sha256=U9i3q2eRPTDY8qAPTw7irzu-Tlg4CIySW9uYro81wdk,8125
6
6
  mdbq/aggregation/mysql_types.py,sha256=DQYROALDiwjJzjhaJfIIdnsrNs11i5BORlj_v6bp67Y,11062
7
7
  mdbq/aggregation/optimize_data.py,sha256=Wis40oL04M7E1pkvgNPjyVFAUe-zgjimjIVAikxYY8Y,4418
@@ -31,14 +31,14 @@ mdbq/mysql/year_month_day.py,sha256=VgewoE2pJxK7ErjfviL_SMTN77ki8GVbTUcao3vFUCE,
31
31
  mdbq/other/__init__.py,sha256=jso1oHcy6cJEfa7udS_9uO5X6kZLoPBF8l3wCYmr5dM,18
32
32
  mdbq/other/porxy.py,sha256=UHfgEyXugogvXgsG68a7QouUCKaohTKKkI4RN-kYSdQ,4961
33
33
  mdbq/other/pov_city.py,sha256=AEOmCOzOwyjHi9LLZWPKi6DUuSC-_M163664I52u9qw,21050
34
- mdbq/other/sku_picture.py,sha256=u0WvvLYIg1JNzeJMUJCG0jasukTumW6HwToDE5PlzNg,50029
34
+ mdbq/other/sku_picture.py,sha256=JwSXYlzamVqcKCD2tRH2VqYVZNr8fM6f--kcGlTVRnM,50026
35
35
  mdbq/other/ua_sj.py,sha256=JuVYzc_5QZ9s_oQSrTHVKkQv4S_7-CWx4oIKOARn_9U,22178
36
36
  mdbq/pbix/__init__.py,sha256=Trtfaynu9RjoTyLLYBN2xdRxTvm_zhCniUkVTAYwcjo,24
37
37
  mdbq/pbix/pbix_refresh.py,sha256=JUjKW3bNEyoMVfVfo77UhguvS5AWkixvVhDbw4_MHco,2396
38
38
  mdbq/pbix/refresh_all.py,sha256=viOlLCmz9zg61Q2nzjgl8dChfQxnxRd1A_jmQMb2oDM,5918
39
39
  mdbq/pbix/refresh_all_old.py,sha256=_pq3WSQ728GPtEG5pfsZI2uTJhU8D6ra-htIk1JXYzw,7192
40
40
  mdbq/spider/__init__.py,sha256=RBMFXGy_jd1HXZhngB2T2XTvJqki8P_Fr-pBcwijnew,18
41
- mdbq-2.2.7.dist-info/METADATA,sha256=pP1anE6fPD6-8q_epbVnTRwoKF4tzU0TorPDjFKbtRk,245
42
- mdbq-2.2.7.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
43
- mdbq-2.2.7.dist-info/top_level.txt,sha256=2FQ-uLnCSB-OwFiWntzmwosW3X2Xqsg0ewh1axsaylA,5
44
- mdbq-2.2.7.dist-info/RECORD,,
41
+ mdbq-2.2.9.dist-info/METADATA,sha256=-QYnON6T1zwSXYvaqzbyqMtWwbVIbdQjFHhdv5sv3HE,245
42
+ mdbq-2.2.9.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
43
+ mdbq-2.2.9.dist-info/top_level.txt,sha256=2FQ-uLnCSB-OwFiWntzmwosW3X2Xqsg0ewh1axsaylA,5
44
+ mdbq-2.2.9.dist-info/RECORD,,
File without changes