mdbq 1.8.2__py3-none-any.whl → 1.8.3__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/other/sku_picture.py CHANGED
@@ -568,7 +568,7 @@ def main2(service_name, database):
568
568
  d.download_data()
569
569
 
570
570
 
571
- class InsertPicture():
571
+ class InsertPicture:
572
572
  def __init__(self):
573
573
  self.filename = 'test.xlsx'
574
574
  self.path = '/Users/xigua/Downloads'
@@ -666,7 +666,7 @@ class InsertPicture():
666
666
  break # 商品id只需要添加一次,所以必须 break,否则可能添加多个图片到某个单元格
667
667
 
668
668
  if is_trange == False:
669
- print(f'{self.filename}:\n'
669
+ print(f'{os.path.join(self.path, self.filename)}:\n'
670
670
  f'在该文件中没有找到匹配的 skuid/商品id/商家编码, 注意程序只会转换当前活动的 sheet, \n'
671
671
  f'1. 如果您确定文件中确实存在 skuid/商品id/商家编码, 可能是因为 sheet 不是活动状态, 请切换后再重新运行本程序。\n'
672
672
  f'2. 程序只能转换已经收录的商品图, 如果未被收录亦会转换失败, 请联系开发者添加。')
@@ -708,7 +708,7 @@ class InsertPicture():
708
708
 
709
709
  def main3():
710
710
  p = InsertPicture()
711
- p.filename = 'test222.xlsx'
711
+ p.filename = 'test.xlsx'
712
712
  # p.header = 1
713
713
  p.insert_data()
714
714
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mdbq
3
- Version: 1.8.2
3
+ Version: 1.8.3
4
4
  Home-page: https://pypi.org/project/mdbsql
5
5
  Author: xigua,
6
6
  Author-email: 2587125111@qq.com
@@ -30,13 +30,13 @@ mdbq/mysql/year_month_day.py,sha256=VgewoE2pJxK7ErjfviL_SMTN77ki8GVbTUcao3vFUCE,
30
30
  mdbq/other/__init__.py,sha256=jso1oHcy6cJEfa7udS_9uO5X6kZLoPBF8l3wCYmr5dM,18
31
31
  mdbq/other/porxy.py,sha256=UHfgEyXugogvXgsG68a7QouUCKaohTKKkI4RN-kYSdQ,4961
32
32
  mdbq/other/pov_city.py,sha256=AEOmCOzOwyjHi9LLZWPKi6DUuSC-_M163664I52u9qw,21050
33
- mdbq/other/sku_picture.py,sha256=xNXOzyaO-qz1htYroPmYnsct_CXF4MLJASereVEGN6g,33429
33
+ mdbq/other/sku_picture.py,sha256=AZto103l32Y1DL3QO00jbqjyUHPwh9V9gEHOgf3Yj_o,33449
34
34
  mdbq/other/ua_sj.py,sha256=JuVYzc_5QZ9s_oQSrTHVKkQv4S_7-CWx4oIKOARn_9U,22178
35
35
  mdbq/pbix/__init__.py,sha256=Trtfaynu9RjoTyLLYBN2xdRxTvm_zhCniUkVTAYwcjo,24
36
36
  mdbq/pbix/pbix_refresh.py,sha256=JUjKW3bNEyoMVfVfo77UhguvS5AWkixvVhDbw4_MHco,2396
37
37
  mdbq/pbix/refresh_all.py,sha256=0uAnBKCd5cx5FLTkawN1GV9yi87rfyMgYal5LABtumQ,7186
38
38
  mdbq/spider/__init__.py,sha256=RBMFXGy_jd1HXZhngB2T2XTvJqki8P_Fr-pBcwijnew,18
39
- mdbq-1.8.2.dist-info/METADATA,sha256=PsbFqqZUVz03tpO86vKRA68rj6Oy3JtEQ2qOUqnauQI,245
40
- mdbq-1.8.2.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
41
- mdbq-1.8.2.dist-info/top_level.txt,sha256=2FQ-uLnCSB-OwFiWntzmwosW3X2Xqsg0ewh1axsaylA,5
42
- mdbq-1.8.2.dist-info/RECORD,,
39
+ mdbq-1.8.3.dist-info/METADATA,sha256=HKX3SXbgsZzXCmXbuP20mwz40xsZUQ3pjOkCAgqa6_8,245
40
+ mdbq-1.8.3.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
41
+ mdbq-1.8.3.dist-info/top_level.txt,sha256=2FQ-uLnCSB-OwFiWntzmwosW3X2Xqsg0ewh1axsaylA,5
42
+ mdbq-1.8.3.dist-info/RECORD,,
File without changes