qrpa 1.0.18__tar.gz → 1.0.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.

Potentially problematic release.


This version of qrpa might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qrpa
3
- Version: 1.0.18
3
+ Version: 1.0.19
4
4
  Summary: qsir's rpa library
5
5
  Author: QSir
6
6
  Author-email: QSir <1171725650@qq.com>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "qrpa"
7
- version = "1.0.18"
7
+ version = "1.0.19"
8
8
  description = "qsir's rpa library"
9
9
  authors = [{ name = "QSir", email = "1171725650@qq.com" }]
10
10
  readme = "README.md"
@@ -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', 90, None, None, True)
195
+ InsertImageV2(app, wb, sheet, ['SKC图片', 'SKU图片'], 'shein', 120, None, None, True)
195
196
  wb.save()
196
197
  close_excel(app, wb)
197
198