sqllite-private 1.0.0__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.
Files changed (48) hide show
  1. sqllite_private-1.0.0/MANIFEST.in +3 -0
  2. sqllite_private-1.0.0/PKG-INFO +96 -0
  3. sqllite_private-1.0.0/README.md +74 -0
  4. sqllite_private-1.0.0/pyproject.toml +56 -0
  5. sqllite_private-1.0.0/setup.cfg +4 -0
  6. sqllite_private-1.0.0/shoe_store_pu/__init__.py +3 -0
  7. sqllite_private-1.0.0/shoe_store_pu/__main__.py +5 -0
  8. sqllite_private-1.0.0/shoe_store_pu/app.py +617 -0
  9. sqllite_private-1.0.0/shoe_store_pu/cli.py +41 -0
  10. sqllite_private-1.0.0/shoe_store_pu/create_algorithm_image.py +111 -0
  11. sqllite_private-1.0.0/shoe_store_pu/create_er_image.py +225 -0
  12. sqllite_private-1.0.0/shoe_store_pu/database.py +315 -0
  13. sqllite_private-1.0.0/shoe_store_pu/docs/admin_orders_screen.png +0 -0
  14. sqllite_private-1.0.0/shoe_store_pu/docs/admin_products_screen.png +0 -0
  15. sqllite_private-1.0.0/shoe_store_pu/docs/algorithm_gost_19.701-90.pdf +0 -0
  16. sqllite_private-1.0.0/shoe_store_pu/docs/algorithm_gost_19.701-90.png +0 -0
  17. sqllite_private-1.0.0/shoe_store_pu/docs/er_diagram.pdf +0 -0
  18. sqllite_private-1.0.0/shoe_store_pu/docs/er_diagram.png +0 -0
  19. sqllite_private-1.0.0/shoe_store_pu/docs/login_screen.png +0 -0
  20. sqllite_private-1.0.0/shoe_store_pu/docs/testing_report.docx +0 -0
  21. sqllite_private-1.0.0/shoe_store_pu/import_data.py +263 -0
  22. sqllite_private-1.0.0/shoe_store_pu/resources/Icon.ico +0 -0
  23. sqllite_private-1.0.0/shoe_store_pu/resources/images/1.jpg +0 -0
  24. sqllite_private-1.0.0/shoe_store_pu/resources/images/10.jpg +0 -0
  25. sqllite_private-1.0.0/shoe_store_pu/resources/images/2.jpg +0 -0
  26. sqllite_private-1.0.0/shoe_store_pu/resources/images/3.jpg +0 -0
  27. sqllite_private-1.0.0/shoe_store_pu/resources/images/4.jpg +0 -0
  28. sqllite_private-1.0.0/shoe_store_pu/resources/images/5.jpg +0 -0
  29. sqllite_private-1.0.0/shoe_store_pu/resources/images/6.jpg +0 -0
  30. sqllite_private-1.0.0/shoe_store_pu/resources/images/7.jpg +0 -0
  31. sqllite_private-1.0.0/shoe_store_pu/resources/images/8.jpg +0 -0
  32. sqllite_private-1.0.0/shoe_store_pu/resources/images/9.jpg +0 -0
  33. sqllite_private-1.0.0/shoe_store_pu/resources/images/Icon.JPG +0 -0
  34. sqllite_private-1.0.0/shoe_store_pu/resources/images/Icon.png +0 -0
  35. sqllite_private-1.0.0/shoe_store_pu/resources/images/picture.png +0 -0
  36. sqllite_private-1.0.0/shoe_store_pu/resources/import/Tovar.xlsx +0 -0
  37. sqllite_private-1.0.0/shoe_store_pu/resources/import/user_import.xlsx +0 -0
  38. sqllite_private-1.0.0/shoe_store_pu/resources/import//320/227/320/260/320/272/320/260/320/267_import.xlsx +0 -0
  39. sqllite_private-1.0.0/shoe_store_pu/resources/import//320/237/321/203/320/275/320/272/321/202/321/213 /320/262/321/213/320/264/320/260/321/207/320/270_import.xlsx +0 -0
  40. sqllite_private-1.0.0/shoe_store_pu/schema.sql +84 -0
  41. sqllite_private-1.0.0/shoe_store_pu/shoe_store.sqlite3 +0 -0
  42. sqllite_private-1.0.0/shoe_store_pu/verify_users.py +32 -0
  43. sqllite_private-1.0.0/sqllite_private.egg-info/PKG-INFO +96 -0
  44. sqllite_private-1.0.0/sqllite_private.egg-info/SOURCES.txt +46 -0
  45. sqllite_private-1.0.0/sqllite_private.egg-info/dependency_links.txt +1 -0
  46. sqllite_private-1.0.0/sqllite_private.egg-info/entry_points.txt +7 -0
  47. sqllite_private-1.0.0/sqllite_private.egg-info/requires.txt +5 -0
  48. sqllite_private-1.0.0/sqllite_private.egg-info/top_level.txt +1 -0
@@ -0,0 +1,3 @@
1
+ include README.md
2
+ recursive-include shoe_store_pu *.py *.sql *.sqlite3 *.xlsx *.jpg *.JPG *.png *.ico *.pdf *.docx
3
+ global-exclude __pycache__ *.py[cod] *.bat
@@ -0,0 +1,96 @@
1
+ Metadata-Version: 2.4
2
+ Name: sqllite_private
3
+ Version: 1.0.0
4
+ Summary: Учебное Tkinter-приложение магазина обуви для продвинутого уровня ДЭ
5
+ Keywords: tkinter,sqlite,demo-exam,education
6
+ Classifier: Development Status :: 4 - Beta
7
+ Classifier: Environment :: Win32 (MS Windows)
8
+ Classifier: Intended Audience :: Education
9
+ Classifier: Natural Language :: Russian
10
+ Classifier: Operating System :: Microsoft :: Windows
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Topic :: Education
16
+ Requires-Python: >=3.11
17
+ Description-Content-Type: text/markdown
18
+ Requires-Dist: Pillow<13,>=11.0
19
+ Provides-Extra: publish
20
+ Requires-Dist: build>=1.2; extra == "publish"
21
+ Requires-Dist: twine>=6.0; extra == "publish"
22
+
23
+ # sqllite_private
24
+
25
+ Учебное приложение магазина обуви для продвинутого уровня демонстрационного
26
+ экзамена 09.02.07-2-2026. Используются Python, Tkinter, SQLite и Pillow.
27
+
28
+ ## Установка и запуск
29
+
30
+ Создайте и активируйте виртуальное окружение:
31
+
32
+ ```powershell
33
+ python -m venv .venv
34
+ .\.venv\Scripts\Activate.ps1
35
+ python -m pip install .
36
+ shoe-store-pu
37
+ ```
38
+
39
+ После публикации пакет устанавливается из PyPI:
40
+
41
+ ```powershell
42
+ python -m pip install sqllite_private
43
+ shoe-store-pu
44
+ ```
45
+
46
+ Рабочая база и изменяемые ресурсы создаются в `%LOCALAPPDATA%\ShoeStorePU`.
47
+
48
+ Дополнительные команды:
49
+
50
+ ```powershell
51
+ shoe-store-pu-import --reset
52
+ shoe-store-pu-diagrams
53
+ shoe-store-pu-export .\exported-package
54
+ ```
55
+
56
+ ## Публикация на PyPI
57
+
58
+ Имя пакета и версия задаются в `pyproject.toml`. Перед каждой новой
59
+ публикацией увеличьте `version`, поскольку PyPI не позволяет повторно
60
+ загрузить ту же версию.
61
+
62
+ ```powershell
63
+ python -m venv .venv
64
+ .\.venv\Scripts\Activate.ps1
65
+ python -m pip install ".[publish]"
66
+ python -m build
67
+ python -m twine check dist/*
68
+ python -m twine upload dist/*
69
+ ```
70
+
71
+ Для проверки перед настоящей публикацией:
72
+
73
+ ```powershell
74
+ python -m twine upload --repository testpypi dist/*
75
+ python -m pip install --index-url https://test.pypi.org/simple/ `
76
+ --extra-index-url https://pypi.org/simple sqllite_private
77
+ ```
78
+
79
+ ## Изменение под другой вариант
80
+
81
+ - Исходные XLSX заменяются в `shoe_store_pu/resources/import`.
82
+ - Изображения заменяются в `shoe_store_pu/resources/images`.
83
+ - Цвета, подписи, роли и формы изменяются в `shoe_store_pu/app.py`.
84
+ - Структура SQLite изменяется в `shoe_store_pu/schema.sql`.
85
+ - Импорт таблиц изменяется в `shoe_store_pu/import_data.py`.
86
+ - SQL-запросы изменяются в `shoe_store_pu/database.py`.
87
+ - ER-диаграмма изменяется в `shoe_store_pu/create_er_image.py`.
88
+
89
+ После изменений пересоздайте базу и диаграммы:
90
+
91
+ ```powershell
92
+ shoe-store-pu-import --reset
93
+ shoe-store-pu-diagrams
94
+ ```
95
+
96
+ Затем увеличьте версию в `pyproject.toml` и повторно соберите пакет.
@@ -0,0 +1,74 @@
1
+ # sqllite_private
2
+
3
+ Учебное приложение магазина обуви для продвинутого уровня демонстрационного
4
+ экзамена 09.02.07-2-2026. Используются Python, Tkinter, SQLite и Pillow.
5
+
6
+ ## Установка и запуск
7
+
8
+ Создайте и активируйте виртуальное окружение:
9
+
10
+ ```powershell
11
+ python -m venv .venv
12
+ .\.venv\Scripts\Activate.ps1
13
+ python -m pip install .
14
+ shoe-store-pu
15
+ ```
16
+
17
+ После публикации пакет устанавливается из PyPI:
18
+
19
+ ```powershell
20
+ python -m pip install sqllite_private
21
+ shoe-store-pu
22
+ ```
23
+
24
+ Рабочая база и изменяемые ресурсы создаются в `%LOCALAPPDATA%\ShoeStorePU`.
25
+
26
+ Дополнительные команды:
27
+
28
+ ```powershell
29
+ shoe-store-pu-import --reset
30
+ shoe-store-pu-diagrams
31
+ shoe-store-pu-export .\exported-package
32
+ ```
33
+
34
+ ## Публикация на PyPI
35
+
36
+ Имя пакета и версия задаются в `pyproject.toml`. Перед каждой новой
37
+ публикацией увеличьте `version`, поскольку PyPI не позволяет повторно
38
+ загрузить ту же версию.
39
+
40
+ ```powershell
41
+ python -m venv .venv
42
+ .\.venv\Scripts\Activate.ps1
43
+ python -m pip install ".[publish]"
44
+ python -m build
45
+ python -m twine check dist/*
46
+ python -m twine upload dist/*
47
+ ```
48
+
49
+ Для проверки перед настоящей публикацией:
50
+
51
+ ```powershell
52
+ python -m twine upload --repository testpypi dist/*
53
+ python -m pip install --index-url https://test.pypi.org/simple/ `
54
+ --extra-index-url https://pypi.org/simple sqllite_private
55
+ ```
56
+
57
+ ## Изменение под другой вариант
58
+
59
+ - Исходные XLSX заменяются в `shoe_store_pu/resources/import`.
60
+ - Изображения заменяются в `shoe_store_pu/resources/images`.
61
+ - Цвета, подписи, роли и формы изменяются в `shoe_store_pu/app.py`.
62
+ - Структура SQLite изменяется в `shoe_store_pu/schema.sql`.
63
+ - Импорт таблиц изменяется в `shoe_store_pu/import_data.py`.
64
+ - SQL-запросы изменяются в `shoe_store_pu/database.py`.
65
+ - ER-диаграмма изменяется в `shoe_store_pu/create_er_image.py`.
66
+
67
+ После изменений пересоздайте базу и диаграммы:
68
+
69
+ ```powershell
70
+ shoe-store-pu-import --reset
71
+ shoe-store-pu-diagrams
72
+ ```
73
+
74
+ Затем увеличьте версию в `pyproject.toml` и повторно соберите пакет.
@@ -0,0 +1,56 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "sqllite_private"
7
+ version = "1.0.0"
8
+ description = "Учебное Tkinter-приложение магазина обуви для продвинутого уровня ДЭ"
9
+ readme = "README.md"
10
+ requires-python = ">=3.11"
11
+ keywords = ["tkinter", "sqlite", "demo-exam", "education"]
12
+ classifiers = [
13
+ "Development Status :: 4 - Beta",
14
+ "Environment :: Win32 (MS Windows)",
15
+ "Intended Audience :: Education",
16
+ "Natural Language :: Russian",
17
+ "Operating System :: Microsoft :: Windows",
18
+ "Programming Language :: Python :: 3",
19
+ "Programming Language :: Python :: 3.11",
20
+ "Programming Language :: Python :: 3.12",
21
+ "Programming Language :: Python :: 3.13",
22
+ "Topic :: Education",
23
+ ]
24
+ dependencies = [
25
+ "Pillow>=11.0,<13",
26
+ ]
27
+
28
+ [project.optional-dependencies]
29
+ publish = [
30
+ "build>=1.2",
31
+ "twine>=6.0",
32
+ ]
33
+
34
+ [project.scripts]
35
+ shoe-store-pu-import = "shoe_store_pu.import_data:main"
36
+ shoe-store-pu-export = "shoe_store_pu.cli:export_main"
37
+ shoe-store-pu-diagrams = "shoe_store_pu.cli:diagrams_main"
38
+
39
+ [project.gui-scripts]
40
+ shoe-store-pu = "shoe_store_pu.app:main"
41
+
42
+ [tool.setuptools]
43
+ include-package-data = true
44
+
45
+ [tool.setuptools.packages.find]
46
+ include = ["shoe_store_pu*"]
47
+
48
+ [tool.setuptools.package-data]
49
+ shoe_store_pu = [
50
+ "*.sql",
51
+ "*.sqlite3",
52
+ "docs/*",
53
+ "resources/*",
54
+ "resources/images/*",
55
+ "resources/import/*",
56
+ ]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ """Учебное приложение ООО «Обувь» для продвинутого уровня ДЭ."""
2
+
3
+ __version__ = "1.0.0"
@@ -0,0 +1,5 @@
1
+ from .app import main
2
+
3
+
4
+ if __name__ == "__main__":
5
+ main()