A Python-based command-line database management system for keeping track of series and movies using MySQL.
- Add, view, update, delete, and search records for:
- Anime Series (ASeries)
- Normal Series (NSeries)
- Anime Movies (AMovies)
- Normal Movies (NMovies)
- MySQL database integration
- Interactive CLI using
rich
for a better user experience - Secure password handling with
dotenv
- Python
- MySQL
rich
for CLI aestheticspython-dotenv
for secure environment variable handling
- Python 3.x installed
- MySQL Server installed and running
- Required Python packages:
pip install rich mysql-connector-python python-dotenv
- Clone the repository:
git clone <repo-link>
- Navigate to the project directory:
cd A_N_DB
- Create a
.env
file in the project root and add your MySQL password:MYSQL_PASSWORD=yourpassword
- Run the Python script:
python main.py
NMovies
(id, title, status)ASeries
(id, title, status, episodes)NSeries
(id, title, status, episodes)AMovies
(id, title, status)
- Main Menu
- Add Record
- View All Records
- Delete Record
- Update Record
- Search Record
- Follow on-screen prompts for data entry and management.
- The password can be provided through the
.env
file for better security.
- Ensure MySQL server is running.
- Verify your password in the
.env
file.