qrpa 1.0.17__py3-none-any.whl → 1.0.19__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/fun_excel.py +93 -188
- qrpa/shein_excel.py +6 -5
- qrpa/shein_lib.py +1442 -1405
- {qrpa-1.0.17.dist-info → qrpa-1.0.19.dist-info}/METADATA +1 -1
- {qrpa-1.0.17.dist-info → qrpa-1.0.19.dist-info}/RECORD +7 -7
- {qrpa-1.0.17.dist-info → qrpa-1.0.19.dist-info}/WHEEL +0 -0
- {qrpa-1.0.17.dist-info → qrpa-1.0.19.dist-info}/top_level.txt +0 -0
qrpa/shein_excel.py
CHANGED
|
@@ -170,9 +170,9 @@ class SheinExcel:
|
|
|
170
170
|
summary_excel_data = []
|
|
171
171
|
header = []
|
|
172
172
|
for store_name, excel_data in dict.items():
|
|
173
|
-
sheet_name = store_name
|
|
174
|
-
write_data(excel_path, sheet_name, excel_data)
|
|
175
|
-
self.format_week_report(excel_path, sheet_name)
|
|
173
|
+
# sheet_name = store_name
|
|
174
|
+
# write_data(excel_path, sheet_name, excel_data)
|
|
175
|
+
# self.format_week_report(excel_path, sheet_name)
|
|
176
176
|
header = excel_data[0]
|
|
177
177
|
summary_excel_data += excel_data[1:]
|
|
178
178
|
summary_excel_data = [header] + summary_excel_data
|
|
@@ -188,10 +188,11 @@ class SheinExcel:
|
|
|
188
188
|
format_to_percent(sheet, ['支付率', '点击率', '毛利率'])
|
|
189
189
|
self.dealFormula(sheet) # 有空再封装优化
|
|
190
190
|
colorize_by_field(app, wb, sheet, 'SPU')
|
|
191
|
-
autofit_column(sheet, ['店铺名称'])
|
|
191
|
+
autofit_column(sheet, ['商品信息','店铺名称', 'SKC点击率/SKC转化率', '自主参与活动'])
|
|
192
|
+
column_to_left(sheet, ['店铺名称', 'SKC点击率/SKC转化率', '自主参与活动'])
|
|
192
193
|
specify_column_width(sheet, ['商品标题'], 150 / 6)
|
|
193
194
|
add_borders(sheet)
|
|
194
|
-
InsertImageV2(app, wb, sheet, ['SKC图片', 'SKU图片'], 'shein',
|
|
195
|
+
InsertImageV2(app, wb, sheet, ['SKC图片', 'SKU图片'], 'shein', 120, None, None, True)
|
|
195
196
|
wb.save()
|
|
196
197
|
close_excel(app, wb)
|
|
197
198
|
|