How bogdanmaslyuk/pharmdesk works
PharmDesk is a local pharmacy-inventory web app: a pharmacist searches drawers and products, reviews inventory records, and manages stock through the browser. Separate workflows support CSV/XLSX import, manual photo-based verification, and a human-entered drug-registry catalog with explicit product links. The README also describes catalog-quality checks and conservative typo-tolerant search; it explicitly disclaims automated interaction checking. Some route wiring and subsystem calls are not visible in the excerpts, so those links are marked unverified rather than asserted.
Components 18
Web workflows
- Web application
app/main.py - Drawer and medicine views
app/main.py - Inventory search
app/search.py
Inventory operations
- Stock management
app/manage.py - File import
app/batch.py - Row import
app/importer.py - Inventory replacement
app/replace_inventory.py
Review and quality
- Photo review
app/review.py - Review import
app/review_import.py - Review progress
app/review_progress.py - Catalog checks
app/catalog_quality.py - Quality report
app/quality.py
Drug reference
- Registry catalog
app/catalog.py - Source validation
app/catalog_sources.py - Substance identity
app/identity.py
Persistence
- Database access
app/database.py - Domain records
app/models.py
Other components
- Pharmacist
Connections 12
- Pharmacist → Web application: uses locally
README.md - Web application → Inventory search: searches via
app/main.py - Web application → Drawer and medicine views: serves views
app/main.py - Web application → Stock management: routes to
app/main.py - Web application → File import: routes to
- Web application → Photo review: routes to
app/main.py - Web application → Registry catalog: routes to
app/main.py - Web application → Quality report: routes to
app/main.py - File import → Row import: delegates to
app/batch.py - Photo review → Review import: uses import
app/review.py - Source validation → Inventory search: normalizes with
app/catalog_sources.py - Database access → Domain records: loads models
app/database.py