qrpa 1.0.59__tar.gz → 1.0.60__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.
- {qrpa-1.0.59 → qrpa-1.0.60}/PKG-INFO +1 -1
- {qrpa-1.0.59 → qrpa-1.0.60}/pyproject.toml +1 -1
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/fun_excel.py +6 -5
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/shein_excel.py +2 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa.egg-info/PKG-INFO +1 -1
- {qrpa-1.0.59 → qrpa-1.0.60}/README.md +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/RateLimitedSender.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/__init__.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/db_migrator.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/feishu_bot_app.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/feishu_client.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/feishu_logic.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/fun_base.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/fun_file.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/fun_web.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/fun_win.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/mysql_module/__init__.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/mysql_module/shein_return_order_model.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/shein_daily_report_model.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/shein_lib.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/shein_mysql.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/shein_sqlite.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/shein_ziniao.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/temu_chrome.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/temu_excel.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/temu_lib.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/time_utils.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/time_utils_example.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa/wxwork.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa.egg-info/SOURCES.txt +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa.egg-info/dependency_links.txt +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/qrpa.egg-info/top_level.txt +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/setup.cfg +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/setup.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/tests/test_db_migrator.py +0 -0
- {qrpa-1.0.59 → qrpa-1.0.60}/tests/test_wxwork.py +0 -0
|
@@ -2109,11 +2109,12 @@ def format_to_month(sheet, columns=None):
|
|
|
2109
2109
|
|
|
2110
2110
|
def add_sum_for_cell(sheet, col_list, row=2):
|
|
2111
2111
|
last_row = sheet.range('A' + str(sheet.cells.last_cell.row)).end('up').row
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2112
|
+
if last_row > row:
|
|
2113
|
+
for col_name in col_list:
|
|
2114
|
+
col_letter = find_column_by_data(sheet, 1, col_name)
|
|
2115
|
+
sheet.range(f'{col_letter}{row}').formula = f'=SUM({col_letter}{row + 1}:{col_letter}{last_row})'
|
|
2116
|
+
sheet.range(f'{col_letter}{row}').api.Font.Color = 255
|
|
2117
|
+
sheet.range(f'{col_letter}:{col_letter}').autofit()
|
|
2117
2118
|
|
|
2118
2119
|
def clear_for_cell(sheet, col_list, row=2):
|
|
2119
2120
|
last_row = sheet.range('A' + str(sheet.cells.last_cell.row)).end('up').row
|
|
@@ -1449,6 +1449,7 @@ class SheinExcel:
|
|
|
1449
1449
|
sheet.range(f'{target_month}:{target_month}').autofit()
|
|
1450
1450
|
wb.save()
|
|
1451
1451
|
close_excel(app, wb)
|
|
1452
|
+
WxWorkBot('b30aaa8d-1a1f-4378-841a-8b0f8295f2d9').send_file(excel_path_month)
|
|
1452
1453
|
|
|
1453
1454
|
def write_summary_algorithm_1(self):
|
|
1454
1455
|
excel_path = self.config.excel_shein_finance_month_report_summary
|
|
@@ -1524,6 +1525,7 @@ class SheinExcel:
|
|
|
1524
1525
|
continue
|
|
1525
1526
|
row[2] = dict_store_manager_shein.get(str(mall_name).lower())
|
|
1526
1527
|
self.write_to_one(filtered_value, excel_path, sheet_name)
|
|
1528
|
+
WxWorkBot('b30aaa8d-1a1f-4378-841a-8b0f8295f2d9').send_file(excel_path)
|
|
1527
1529
|
|
|
1528
1530
|
def sumary_part(self):
|
|
1529
1531
|
excel_path = self.config.excel_shein_finance_month_report_summary
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|