How cloudyvixie/biblioteca-python-sql works
Biblioteca is a small terminal-based book catalog. The user chooses an action from the InquirerPy menu; the program then collects any required selection or input, performs a SQLite query or update, and displays results. The documented workflow covers adding, listing, title lookup, author lookup, updating, and deleting books. The implementation is concentrated in one Python file, so the feature nodes share that source path. The edges reflect calls and SQL operations visible in the excerpt; no separate layers or unsampled subsystems are inferred.
Main entry points: biblioteca.py Menu workflow · biblioteca.db Book database
Components 10
Terminal interaction
- Menu workflow
biblioteca.py - InquirerPy prompts
Book operations
- Add book
biblioteca.py - List books
biblioteca.py - Title lookup
biblioteca.py - Author lookup
biblioteca.py - Update book
biblioteca.py - Delete book
biblioteca.py
Local storage
- Book database
biblioteca.db
Other components
- Terminal user
Connections 14
- Terminal user → Menu workflow: chooses action
README.md - Menu workflow → InquirerPy prompts: prompts user
biblioteca.py - Menu workflow → Add book: dispatches to
biblioteca.py - Menu workflow → List books: dispatches to
biblioteca.py - Menu workflow → Title lookup: dispatches to
biblioteca.py - Menu workflow → Author lookup: dispatches to
biblioteca.py - Menu workflow → Update book: dispatches to
biblioteca.py - Menu workflow → Delete book: dispatches to
biblioteca.py - Add book → Book database: inserts record
biblioteca.py - List books → Book database: reads records
biblioteca.py - Title lookup → Book database: queries title
biblioteca.py - Author lookup → Book database: queries author
biblioteca.py - Update book → Book database: updates record
biblioteca.py - Delete book → Book database: deletes record
biblioteca.py