How marcosalmeida17/urna-gremio-estudantil-2024 works
This is a desktop electronic ballot for the school student council. A student enters an RA; the app checks eligibility and prior voting, presents available groups, records a confirmed choice, and shows completion and credits. The README also documents a restricted administrative keyword, while the source accepts that keyword through the RA entry path. The sampled Python file implements the workflow and SQLite access together; the database file is present in the tree. The source loads a button sound, though its runtime path differs from the asset’s tree location.
Main entry points: Urna.py Vote recording · VotosDoGremio.db Election database · SOM DE BOTÃO VIRTUAL.mp3 Button sound
Components 9
Voting interface
- RA login
ProjetoUrna/source_conde/Urna.py - Ballot selection
ProjetoUrna/source_conde/Urna.py - Vote confirmation
ProjetoUrna/source_conde/Urna.py - Completion screen
ProjetoUrna/source_conde/Urna.py - Button sound
ProjetoUrna/song/SOM DE BOTÃO VIRTUAL.mp3
Election workflow
- RA validation
ProjetoUrna/source_conde/Urna.py - Vote recording
ProjetoUrna/source_conde/Urna.py
Local persistence
- Election database
ProjetoUrna/db/VotosDoGremio.db
Other components
- Student voter
Connections 10
- Student voter → RA login: enters RA
README.md - RA login → RA validation: submits
ProjetoUrna/source_conde/Urna.py - RA validation → Election database: reads voter and vote data
ProjetoUrna/source_conde/Urna.py - RA validation → Ballot selection: shows ballot
ProjetoUrna/source_conde/Urna.py - Ballot selection → Election database: reads candidate groups
ProjetoUrna/source_conde/Urna.py - Ballot selection → Vote confirmation: requests confirmation
ProjetoUrna/source_conde/Urna.py - Vote confirmation → Vote recording: confirms choice
ProjetoUrna/source_conde/Urna.py - Vote recording → Election database: writes vote
ProjetoUrna/source_conde/Urna.py - Vote recording → Button sound: plays sound
ProjetoUrna/source_conde/Urna.py - Vote recording → Completion screen: shows success
ProjetoUrna/source_conde/Urna.py