A CLI-based Hospital Management System written in Python with MySQL.
- Role-based access control (Admin, Doctor, etc.)
- Patient and Doctor Management
- Appointment Scheduling
- Pharmacy module with PubChem API and RDKit for molecule visualization
- Lab Test and Billing Management
- PDF Report Generation
- Ensure you have Python 3.x and MySQL Server installed.
- Install required Python packages:
pip install -r requirements.txt
- Create the database schema by executing
db/schema.sqlin your MySQL client. - Update database credentials in
config.py. - Create an initial admin user:
python -c "from auth.login import create_user; create_user('admin', 'admin123', 'Admin')"
- Run the CLI application:
python main.py