fnschool 20250109.80500.803__tar.gz → 20250109.80531.837__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 fnschool might be problematic. Click here for more details.
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/PKG-INFO +1 -1
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/__init__.py +1 -1
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/base.py +3 -2
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/food.py +1 -1
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool.egg-info/PKG-INFO +1 -1
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/LICENSE +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/README.md +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/pyproject.toml +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/setup.cfg +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/__main__.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/app.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/__init__.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/__main__.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/bill.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/canteen.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/canteen.toml +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/config.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/consume.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/consuming.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/currency.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/data/bill.i18n.xlsx +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/data/bill.xlsx +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/data/consuming.xlsx +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/data/purchase_list.xlsx +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/entry.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/food.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/food_classes.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/food_classes.toml +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/food_recount.toml +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/food_recounts.toml +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/operator.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/path.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/__init__.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/consuming.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/consumingsum.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/cover.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/ctspreadsheet.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/inventory.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/merging.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/preconsuming.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/purchasing.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/purchasingsum.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/spreadsheet.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/translating.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/unwarehousing.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/unwarehousingsum.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/warehousing.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/workbook.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/test.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/warehouse.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/workbook.toml +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/config.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/entry.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/exam/__init__.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/exam/__main__.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/exam/data/parental_emails.xlsx +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/exam/data/score.xlsx +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/exam/email.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/exam/entry.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/exam/language.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/exam/path.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/exam/score.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/exam/subject.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/exam/teacher.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/external.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/games/__init__.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/games/__main__.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/games/games.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/inoutput.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/language.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/locales/en_US/LC_MESSAGES/fnschool.mo +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/locales/zh_CN/LC_MESSAGES/fnschool.mo +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/locales/zh_HK/LC_MESSAGES/fnschool.mo +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/locales/zh_SG/LC_MESSAGES/fnschool.mo +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/locales/zh_TW/LC_MESSAGES/fnschool.mo +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/path.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/test.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/user.py +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool.egg-info/SOURCES.txt +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool.egg-info/dependency_links.txt +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool.egg-info/entry_points.txt +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool.egg-info/requires.txt +0 -0
- {fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: fnschool
|
|
3
|
-
Version: 20250109.
|
|
3
|
+
Version: 20250109.80531.837
|
|
4
4
|
Summary: Just some school related scripts, without any ambition.
|
|
5
5
|
Author-email: larryw3i <larryw3i@163.com>, Larry Wei <larryw3i@126.com>, Larry W3i <larryw3i@yeah.net>
|
|
6
6
|
Maintainer-email: larryw3i <larryw3i@163.com>, Larry Wei <larryw3i@126.com>
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/base.py
RENAMED
|
@@ -147,9 +147,10 @@ class Base:
|
|
|
147
147
|
|
|
148
148
|
return bill_year
|
|
149
149
|
|
|
150
|
-
def update_food_sheet_year(self, sheet):
|
|
150
|
+
def update_food_sheet_year(self, sheet, year=None):
|
|
151
151
|
wb = sheet.parent
|
|
152
|
-
bill_year = self.get_bill_year(wb)
|
|
152
|
+
bill_year = year or self.get_bill_year(wb)
|
|
153
|
+
bill_year = str(bill_year)
|
|
153
154
|
csheet = sheet
|
|
154
155
|
for row_index in range(1, csheet.max_row + 1):
|
|
155
156
|
cell0_value = str(csheet.cell(row_index, 1).value).replace(" ", "")
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/spreadsheet/food.py
RENAMED
|
@@ -641,7 +641,7 @@ class Food(Base):
|
|
|
641
641
|
self.update_inventories(sheet)
|
|
642
642
|
|
|
643
643
|
self.format(sheet)
|
|
644
|
-
self.update_food_sheet_year(sheet)
|
|
644
|
+
self.update_food_sheet_year(sheet, year)
|
|
645
645
|
print_info(_("Sheet '%s' was updated.") % sheet.title)
|
|
646
646
|
|
|
647
647
|
wb[self.sheet_name].sheet_state = "hidden"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: fnschool
|
|
3
|
-
Version: 20250109.
|
|
3
|
+
Version: 20250109.80531.837
|
|
4
4
|
Summary: Just some school related scripts, without any ambition.
|
|
5
5
|
Author-email: larryw3i <larryw3i@163.com>, Larry Wei <larryw3i@126.com>, Larry W3i <larryw3i@yeah.net>
|
|
6
6
|
Maintainer-email: larryw3i <larryw3i@163.com>, Larry Wei <larryw3i@126.com>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/__init__.py
RENAMED
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/__main__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/canteen.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/consuming.py
RENAMED
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/currency.py
RENAMED
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/data/bill.i18n.xlsx
RENAMED
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/data/bill.xlsx
RENAMED
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/data/consuming.xlsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/food_classes.py
RENAMED
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/food_classes.toml
RENAMED
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/food_recount.toml
RENAMED
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/food_recounts.toml
RENAMED
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/operator.py
RENAMED
|
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
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/warehouse.py
RENAMED
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/canteen/workbook.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool/exam/data/score.xlsx
RENAMED
|
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
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool.egg-info/requires.txt
RENAMED
|
File without changes
|
{fnschool-20250109.80500.803 → fnschool-20250109.80531.837}/src/fnschool.egg-info/top_level.txt
RENAMED
|
File without changes
|