How un64dd/event-registration-system-python-csf21803 works
This is a single-file, in-memory event-registration CLI. The user enters through main(), which starts the menu loop; menu choices dispatch to event creation and viewing, attendee registration and cancellation, or reports. Those operations use shared input-validation and lookup helpers and update the module-level event and registration lists. The README documents all menu capabilities and confirms there is no persistence or payment integration. The relationships shown are supported by the source excerpt; all runtime components reside in the same file.
Main entry points: event_registration.py Menu loop
Components 13
CLI entry
- Application entry
event_registration.py - Menu loop
event_registration.py
Event management
- Create event
event_registration.py - View events
event_registration.py - Summary report
event_registration.py
Registration lifecycle
- Register attendee
event_registration.py - View registrations
event_registration.py - Cancel registration
event_registration.py
Shared state and helpers
- Event lookup
event_registration.py - Registration lookup
event_registration.py - Input validation
event_registration.py - In-memory lists
event_registration.py
Other components
- CLI user
Connections 24
- CLI user → Application entry: starts
README.md - Application entry → Menu loop: calls
event_registration.py - CLI user → Menu loop: chooses option
README.md - Menu loop → Create event: dispatches
event_registration.py - Menu loop → View events: dispatches
event_registration.py - Menu loop → Register attendee: dispatches
event_registration.py - Menu loop → View registrations: dispatches
event_registration.py - Menu loop → Cancel registration: dispatches
event_registration.py - Menu loop → Summary report: dispatches
event_registration.py - Create event → Input validation: validates input
event_registration.py - Create event → Event lookup: checks ID
event_registration.py - Create event → In-memory lists: adds event
event_registration.py - View events → In-memory lists: reads events
event_registration.py - Register attendee → View events: displays events
event_registration.py - Register attendee → Input validation: validates input
event_registration.py - Register attendee → Event lookup: finds event
event_registration.py - Register attendee → In-memory lists: adds registration
event_registration.py - View registrations → In-memory lists: reads registrations
event_registration.py - View registrations → Event lookup: finds event
event_registration.py - Cancel registration → Input validation: validates number
event_registration.py - Cancel registration → Registration lookup: finds registration
event_registration.py - Cancel registration → Event lookup: finds event
event_registration.py - Cancel registration → In-memory lists: removes registration
event_registration.py - Summary report → In-memory lists: reads events
event_registration.py