How yuanxiangtong1-commits/hotel-rms-pricing-suggestion works
Hotel RMS is a single-property pricing decision-support demo. Its main workflow builds a 90-day rate recommendation from booking pace, occupancy, lead time, competitor benchmarks and staff-maintained event factors, exports two CSV reports, and lets staff review and explain the results in a Tkinter UI. A separate scheduler launches the pricing engine daily. The engine and integrations are concentrated in one script; the graph keeps that implementation together rather than inventing internal module boundaries. Some UI and engine wiring is documented but not shown in the excerpts, so those links cite the README.
Main entry points: hotel rms.py Pricing engine · rms_gui.py Staff pricing UI · Public holidays.csv Event calendar CSV · timezone_config.py Timezone settings
Components 9
Staff Operations
- Staff pricing UI
rms_gui.py
Pricing
- Pricing engine
hotel rms.py - PMS API
- Pricing reports
Calendar & Time
- Event calendar loader
event_calendar.py - Event calendar CSV
Public holidays.csv - Timezone settings
timezone_config.py
Automation
- Daily scheduler
scheduler.py
Other components
- Hotel staff
Connections 13
- Hotel staff → Staff pricing UI: reviews results
README.md - Hotel staff → Event calendar CSV: maintains events
README.md - Staff pricing UI → Pricing engine: runs pricing
README.md - Staff pricing UI → Pricing reports: browses reports
README.md - Staff pricing UI → Event calendar CSV: opens calendar
rms_gui.py - Staff pricing UI → Timezone settings: sets timezone
README.md - Pricing engine → PMS API: fetches reservations
hotel rms.py - Pricing engine → Event calendar loader: loads events
hotel rms.py - Event calendar loader → Event calendar CSV: reads and validates
README.md - Pricing engine → Timezone settings: reads timezone
hotel rms.py - Pricing engine → Pricing reports: writes CSV reports
README.md - Daily scheduler → Pricing engine: launches daily
scheduler.py - Daily scheduler → Timezone settings: reads timezone
scheduler.py