qrpa 1.1.7__py3-none-any.whl → 1.1.8__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.
Potentially problematic release.
This version of qrpa might be problematic. Click here for more details.
qrpa/shein_excel.py
CHANGED
|
@@ -18,16 +18,25 @@ class SheinExcel:
|
|
|
18
18
|
def write_sku_not_found(self):
|
|
19
19
|
cache_file = f'{self.config.auto_dir}/shein/dict/sku_not_found.json'
|
|
20
20
|
dict_sku_not_found = read_dict_from_file(cache_file)
|
|
21
|
+
|
|
22
|
+
excel_data = []
|
|
23
|
+
for store_username,data_list in dict_sku_not_found.items():
|
|
24
|
+
excel_data += data_list
|
|
25
|
+
|
|
21
26
|
sheet_name1 = '未匹配SKU_需运营调整'
|
|
22
27
|
operations = [
|
|
23
|
-
[sheet_name1, 'write', [['店铺账户', '店铺别名', '店长', 'SPU', 'SKC', '商家SKC', '商家SKU']] +
|
|
28
|
+
[sheet_name1, 'write', [['店铺账户', '店铺别名', '店长', 'SPU', 'SKC', '商家SKC', '商家SKU']] + excel_data],
|
|
24
29
|
[sheet_name1, 'format', self.format_sku_not_found],
|
|
25
30
|
['Sheet1', 'delete'],
|
|
26
31
|
]
|
|
27
32
|
cache_file = f'{self.config.auto_dir}/shein/dict/sku_to_skc.json'
|
|
28
33
|
sku_to_skc = read_dict_from_file(cache_file)
|
|
34
|
+
excel_data = []
|
|
35
|
+
for store_username,data_list in sku_to_skc.items():
|
|
36
|
+
excel_data += data_list
|
|
37
|
+
|
|
29
38
|
sheet_name = 'sku到skc映射'
|
|
30
|
-
operations.append([sheet_name, 'write', [['商家SKU', '商家SKC']] +
|
|
39
|
+
operations.append([sheet_name, 'write', [['商家SKU', '商家SKC']] + excel_data])
|
|
31
40
|
operations.append([sheet_name, 'format', self.format_sku_to_skc])
|
|
32
41
|
|
|
33
42
|
operations.append([sheet_name1, 'move', 1])
|
qrpa/shein_lib.py
CHANGED
|
@@ -1028,10 +1028,10 @@ class SheinLib:
|
|
|
1028
1028
|
])
|
|
1029
1029
|
|
|
1030
1030
|
cache_file = f'{self.config.auto_dir}/shein/dict/sku_not_found.json'
|
|
1031
|
-
|
|
1031
|
+
write_dict_to_file_ex(cache_file, {self.store_username: dict_sku_not_found}, [self.store_username])
|
|
1032
1032
|
|
|
1033
1033
|
cache_file = f'{self.config.auto_dir}/shein/dict/sku_to_skc.json'
|
|
1034
|
-
|
|
1034
|
+
write_dict_to_file_ex(cache_file, {self.store_username: dict_sku_to_skc}, [self.store_username])
|
|
1035
1035
|
|
|
1036
1036
|
# 存储商品库
|
|
1037
1037
|
def store_product_info(self):
|
|
@@ -10,8 +10,8 @@ qrpa/fun_file.py,sha256=yzjDV16WL5vRys7J4uQcNzIFkX4D5MAlSCwxcD-mwQo,11966
|
|
|
10
10
|
qrpa/fun_web.py,sha256=2aYrtRlf-p-P6AyjrlIcmMVq8oSDePEY48YLm4ZRS1A,11857
|
|
11
11
|
qrpa/fun_win.py,sha256=-LnTeocdTt72NVH6VgLdpAT9_C5oV9okeudXG6CftMA,8034
|
|
12
12
|
qrpa/shein_daily_report_model.py,sha256=H8oZmIN5Pyqe306W1_xuz87lOqLQ_LI5RjXbaxDkIzE,12589
|
|
13
|
-
qrpa/shein_excel.py,sha256=
|
|
14
|
-
qrpa/shein_lib.py,sha256=
|
|
13
|
+
qrpa/shein_excel.py,sha256=4Ks1bIMOob7ZeWR7DoOYMBtVC8wbvEqKdsIwPAHLftM,147271
|
|
14
|
+
qrpa/shein_lib.py,sha256=Z3l8T9-TaLzkJnB2VGtpRNa-P4HYdFLgPbKKmgrDBoM,144439
|
|
15
15
|
qrpa/shein_mysql.py,sha256=Sgz6U0_3f4cT5zPf1Ht1OjvSFhrVPLkMxt91NV-ZPCM,3005
|
|
16
16
|
qrpa/shein_sqlite.py,sha256=ZQwD0Gz81q9WY7tY2HMEYvSF9r3N_G_Aur3bYfST9WY,5707
|
|
17
17
|
qrpa/shein_ziniao.py,sha256=SyxCvi49HKbQqoz9eQP4uU3jh-blxnUjjWw-0YA0n0w,21727
|
|
@@ -24,7 +24,7 @@ qrpa/wxwork.py,sha256=gIytG19DZ5g7Tsl0-W3EbjfSnpIqZw-ua24gcB78YEg,11264
|
|
|
24
24
|
qrpa/mysql_module/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
25
|
qrpa/mysql_module/shein_product_model.py,sha256=v21_juWsZqTHj2k08GUGNkoRZ4hkKZKjaE-wmRl2a2k,19257
|
|
26
26
|
qrpa/mysql_module/shein_return_order_model.py,sha256=Zt-bGOH_kCDbakW7uaTmqqo_qTT8v424yidcYSfWvWM,26562
|
|
27
|
-
qrpa-1.1.
|
|
28
|
-
qrpa-1.1.
|
|
29
|
-
qrpa-1.1.
|
|
30
|
-
qrpa-1.1.
|
|
27
|
+
qrpa-1.1.8.dist-info/METADATA,sha256=yeALPMmZTo9WAdOiywwE0Om-N61OHtNPhkwb6n5P7X4,230
|
|
28
|
+
qrpa-1.1.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
29
|
+
qrpa-1.1.8.dist-info/top_level.txt,sha256=F6T5igi0fhXDucPPUbmmSC0qFCDEsH5eVijfVF48OFU,5
|
|
30
|
+
qrpa-1.1.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|