Initial commit: aplicatie de cantarire si etichetare

Aplicatie Flask + SQLite pentru productie alimentara: cantarirea
componentelor unui produs finit si tiparirea etichetei prin QZ Tray.

- produse finite (retete) formate din componente cantarite
- designer vizual de etichete (mm/px, zona sigura, campuri variabile,
  cod QR cu continut din mai multe bucati)
- legare produs finit -> sablon de eticheta
- navigare pe doua taburi: Cantarire / Setari
- administrare: componente, produse finite, sabloane, campuri, istoric
- backup, resetare baza de date, checklist de pregatire, /healthz
- CLI de administrare si serviciu systemd pentru productie
- vendor/syncpulse-scale-bridge (GPL-3.0-or-later) pentru citirea cantarului
This commit is contained in:
2026-10-18 23:38:45 +03:00
commit bff6d70b17
107 changed files with 21428 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "syncpulse-scale-bridge"
dynamic = ["version"]
description = "Finds RS-232 weighing scales on any COM port, reads them, and serves the weight on the network."
readme = "README.md"
license = "GPL-3.0-or-later"
license-files = ["LICENSE", "NOTICE.md"]
authors = [{ name = "Farshad Zamani", email = "info@cloudtart.com" }]
requires-python = ">=3.9"
dependencies = ["pyserial>=3.5"]
keywords = ["scale", "weighing", "rs232", "serial", "weight", "indicator", "mettler-toledo",
"sics", "xk3190", "industrial", "bridge", "label-printer", "tspl"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Manufacturing",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Topic :: System :: Hardware :: Hardware Drivers",
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
]
[project.urls]
Homepage = "https://github.com/farshad-zamani/syncpulse-scale-bridge"
Author = "https://cloudtart.com"
Issues = "https://github.com/farshad-zamani/syncpulse-scale-bridge/issues"
[project.scripts]
scale-bridge = "scale_bridge.cli:main"
[tool.setuptools]
packages = ["scale_bridge"]
[tool.setuptools.dynamic]
version = { attr = "scale_bridge.__version__" }
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]