Skip to content

Lost your way?

Play a bit while you're here!

↑ / Space / click to jump

Leaderboard

althera-erp — src/modules/produzione/report.py report.py dashboard.py db_models.py EXPLORER ▾ althera-erp ▾ src ▾ modules ▾ produzione report.py dashboard.py db_models.py ▾ magazzino inventario.py ▾ qualita controllo.py ▾ tests test_report.py requirements.txt Dockerfile 1234567891011121314151617 from datetime import date, timedelta from .db_models import ProduzioneRecord # Genera report produzione per intervallo date def genera_report ( inizio : date, fine : date) -> dict : records = ProduzioneRecord.query( data__range=(inizio, fine), stato= 'completato' ) totale_pezzi = sum (r.quantita for r in records) scarti = sum (r.scarti for r in records) return { 'totale' : totale_pezzi, 'scarti' : scarti, 'oee' : (totale_pezzi - scarti) / max (totale_pezzi, 'periodo' : (inizio, fine) Python 3.11 UTF-8 LF Ln 14, Col 32 ✓ No problems

Service description

We develop bespoke desktop and server applications for Windows and Linux, designed to meet exactly the needs of your business. We build management software, production tools, supervision interfaces and reporting systems.

Every project starts with a thorough analysis of business processes to ensure smooth integration with existing tools. We use modern stacks and proven technologies to deliver robust, maintainable and scalable software.

Technologies used

C# / .NET Python Qt / C++ PostgreSQL / SQLite REST API Linux, Windows Server

Other services

Industrial Automation

PLC, HMI and SCADA to optimise production processes

Learn more