How hardless-lgtm/av5-programacao works
This is a Portuguese-language command-line app for managing voice actors, characters, and their contracts in either SQLite or MySQL. The user selects a database, then uses menus to create, list, or delete those records; the functions module handles database setup and CRUD operations, while classes.py defines the relational models and cascade behavior. The source excerpts show these main paths. The package entry point in src/meu_projeto is a separate greeting stub, not the workflow described by README.
Main entry points: classes.py ORM models · main.py Menus · functions.py Connection setup
Components 9
Command-line interface
- Menus
main.py
Record operations
- Connection setup
functions.py - Voice actor operations
functions.py - Character operations
functions.py - Contract operations
functions.py
Data model
- ORM models
classes.py
Database backends
- SQLite database
- MySQL database
Other components
- User
Connections 12
- User → Menus: chooses options
main.py - Menus → Connection setup: selects database
main.py - Menus → Voice actor operations: routes actor actions
main.py - Menus → Character operations: routes character actions
main.py - Menus → Contract operations: routes contract actions
main.py - Connection setup → ORM models: creates tables
functions.py - Connection setup → SQLite database: configures
functions.py - Connection setup → MySQL database: configures
functions.py - Voice actor operations → ORM models: queries and writes
functions.py - Character operations → ORM models: queries and writes
functions.py - Contract operations → ORM models: queries and writes
functions.py - ORM models → ORM models: relates contract entities
classes.py