{"id":22235528,"url":"https://github.com/dimplektech/student_manager_application","last_synced_at":"2025-07-30T11:37:40.954Z","repository":{"id":245004064,"uuid":"816961896","full_name":"Dimplektech/Student_Manager_Application","owner":"Dimplektech","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-18T19:46:01.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T09:31:14.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dimplektech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-18T18:25:38.000Z","updated_at":"2024-06-18T19:46:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"146ed53e-ba21-451d-a0e3-3fbdcd78163e","html_url":"https://github.com/Dimplektech/Student_Manager_Application","commit_stats":null,"previous_names":["dimplektech/student_manager_application"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dimplektech/Student_Manager_Application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dimplektech%2FStudent_Manager_Application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dimplektech%2FStudent_Manager_Application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dimplektech%2FStudent_Manager_Application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dimplektech%2FStudent_Manager_Application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dimplektech","download_url":"https://codeload.github.com/Dimplektech/Student_Manager_Application/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dimplektech%2FStudent_Manager_Application/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267858744,"owners_count":24155955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T02:13:38.355Z","updated_at":"2025-07-30T11:37:40.918Z","avatar_url":"https://github.com/Dimplektech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Student_Manager_Application\n\n## Description\n\nThe Student Manager Application is a command-line tool for managing student records, including their personal details and grades. It allows users to view, add, update, and delete student information.\n\n## Features\n\n- View all students\n- Add a new student\n- Update student information (email, phone number, and grades)\n- Delete a student\n- Parse and validate dates\n\n## Technologies Used\n\n- Python 3.7+\n- SQLAlchemy (ORM for database interaction)\n- SQLite (default database, configurable)\n- Unittest\n\n## Installation\n\n1. **Clone the repository**:\n\n    ```bash\n    git clone [https://github.com/your-username/student-manager.git](https://github.com/Dimplektech/Student_Manager_Application.git)\n    cd student-manager\n    ```\n\n2. **Create a virtual environment**:\n\n    ```bash\n    python -m venv venv\n    source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n    ```\n\n3. **Install the required packages**:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n4. **Configure the database settings**:\n\n    - Create a `settings.py` file in the project root with the following content:\n\n        ```python\n        DB_ADDRESS = 'sqlite:///my_db.db'  # Update with your database URL if using a different database\n        ```\n\n5. **Initialize the database**:\n\n    - Run the following command to create the database tables:\n\n        ```bash\n        python init_db.py\n        ```\n\n## Usage\n\n1. **Run the application**:\n\n    ```bash\n    python main.py\n    ```\n\n2. **Follow the on-screen menu to manage students**.\n\n## Project Structure\n\n- `main.py`: Entry point of the application\n- `student_manager.py`: Contains the `StudentManager` class for handling database operations\n- `models.py`: Defines the database models (`Student` and `Grade`)\n- `settings.py`: Configuration file for database settings\n- `utils.py`: Utility functions (e.g., for drawing lines in the menu, for checking Date format)\n- `requirements.txt`: List of required Python packages\n\n## Models\n\n### Student\n\n- `id` (int): Primary key\n- `name` (str): First name\n- `surname` (str): Last name\n- `date_of_birth` (date): Date of birth\n- `email` (str): Email address\n- `phone_number` (str): Phone number\n- `grades` (relationship): List of grades associated with the student\n\n### Grade\n\n- `id` (int): Primary key\n- `student_id` (int): Foreign key referring to the `Student` model\n- `subject` (str): Subject name\n- `grades` (int): Grade score\n\n\n## Contributing\n\n1. Fork the repository\n2. Create a new branch (`git checkout -b feature-branch`)\n3. Make your changes\n4. Commit your changes (`git commit -am 'Add new feature'`)\n5. Push to the branch (`git push origin feature-branch`)\n6. Create a new Pull Request\n\n## Acknowledgements\n\n- [SQLAlchemy](https://www.sqlalchemy.org/) for the ORM\n- [SQLite](https://www.sqlite.org/) for the database\n\n## Contact\n\n### Dimpal Kaware (https://github.com/Dimplektech)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimplektech%2Fstudent_manager_application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimplektech%2Fstudent_manager_application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimplektech%2Fstudent_manager_application/lists"}