How vergara-ben/ayla-library-system works
AYLA is a Django library-management system for staff, administrators, and patrons. Users enter through portal routes for catalogue lookup, circulation, patron visits, and floor-plan wayfinding; staff can also manage inventory and library operations. Domain services support authentication, reporting, analytics, and activity auditing, with Django models holding the system’s records. The map preserves documented route and import relationships; several capabilities are identified by the source index, but their implementations were not sampled, so their internal flows are left unspecified.
Main entry points: views.py Portal views · models.py Library records · desk.py Service desk · auth_utils.py Authentication and access
Components 21
Portals and workflow
- Application routes
library/urls.py - Portal views
library/views.py - Service desk
library/desk.py - Library chat
library/chat.py
Library operations
- Library records
library/models.py - Card numbers
library/cardnumbers.py - Borrowing eligibility
library/eligibility.py - Email notifications
library/emails.py
Floor plans
- Floor-plan management
library/floorplan_bulk.py - Floor-plan undo
library/floorplan_undo.py - Floor-plan PDF
library/floorplan_pdf.py - Shelf routing
library/routegen.py
Reporting and audit
- Reports and exports
library/reports.py - Library analytics
library/analytics.py - Activity audit
library/audit.py
Access and messaging
- Authentication and access
library/auth_utils.py - Request middleware
library/middleware.py - Open-status controls
library/openstatus.py - Permission modules
library/modules.py
Other components
- Patron
- Staff / Admin
Connections 38
- Patron → Application routes: uses
- Staff / Admin → Application routes: uses
- Application routes → Portal views: routes to
library/urls.py - Application routes → Service desk: routes to
library/urls.py - Application routes → Library chat: routes to
library/urls.py - Portal views → Library records: reads/writes
library/views.py - Portal views → Service desk: delegates to
library/views.py - Portal views → Authentication and access: uses
library/views.py - Portal views → Borrowing eligibility: uses
library/views.py - Portal views → Email notifications: uses
library/views.py - Portal views → Reports and exports: uses
library/views.py - Portal views → Library analytics: uses
library/views.py - Portal views → Activity audit: uses
library/views.py - Portal views → Floor-plan PDF: uses
library/views.py - Portal views → Shelf routing: uses
library/views.py - Portal views → Library records: uses
library/views.py - Service desk → Library records: reads/writes
library/desk.py - Service desk → Portal views: uses catalogue helpers
library/desk.py - Service desk → Authentication and access: uses
library/desk.py - Service desk → Activity audit: uses
library/desk.py - Service desk → Email notifications: uses
library/desk.py - Library records → Card numbers: generates cards
library/models.py - Library records → Permission modules: uses
library/models.py - Library records → Library analytics: queried by
library/analytics.py - Library analytics → Reports and exports: uses
library/analytics.py - Reports and exports → Library records: queries
library/reports.py - Floor-plan undo → Library records: reads/writes
library/floorplan_undo.py - Floor-plan undo → Authentication and access: uses
library/floorplan_undo.py - Floor-plan undo → Activity audit: uses
library/floorplan_undo.py - Floor-plan PDF → Reports and exports: uses
library/floorplan_pdf.py - Authentication and access → Library records: checks users
library/auth_utils.py - Authentication and access → Activity audit: uses
library/auth_utils.py - Authentication and access → Permission modules: checks permissions
library/auth_utils.py - Request middleware → Library records: queries
library/middleware.py - Request middleware → Service desk: uses
library/middleware.py - Open-status controls → Library records: reads/writes
library/openstatus.py - Open-status controls → Authentication and access: uses
library/openstatus.py - Open-status controls → Activity audit: uses
library/openstatus.py