{"id":26367494,"url":"https://github.com/rahulrmcoder/python-oops-mini-project1","last_synced_at":"2025-03-16T21:17:24.664Z","repository":{"id":245074393,"uuid":"817182861","full_name":"RahulRmCoder/Python-OOPS-Mini-Project1","owner":"RahulRmCoder","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-19T16:29:09.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T16:06:30.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/RahulRmCoder.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-19T07:31:22.000Z","updated_at":"2024-06-19T16:29:12.000Z","dependencies_parsed_at":"2024-06-19T15:57:23.068Z","dependency_job_id":"0a052ec9-18c5-4408-872c-5f036e5a1bdb","html_url":"https://github.com/RahulRmCoder/Python-OOPS-Mini-Project1","commit_stats":null,"previous_names":["rahulrmcoder/python-oops-mini-project1"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RahulRmCoder%2FPython-OOPS-Mini-Project1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RahulRmCoder%2FPython-OOPS-Mini-Project1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RahulRmCoder%2FPython-OOPS-Mini-Project1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RahulRmCoder%2FPython-OOPS-Mini-Project1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RahulRmCoder","download_url":"https://codeload.github.com/RahulRmCoder/Python-OOPS-Mini-Project1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243933454,"owners_count":20370988,"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","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":"2025-03-16T21:17:24.215Z","updated_at":"2025-03-16T21:17:24.659Z","avatar_url":"https://github.com/RahulRmCoder.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python-OOPS-Mini-Project1\n# Concept: Multiple Inheritance in Python\n\n## Question: Write a Python program to demonstrate multiple inheritance.\n\n### 1.Employee class has 3 data members EmployeeID, Gender (String), Salary and PerformanceRating(Out of 5) of type int. It has a get() function to get these details from the user.\n### 2.JoiningDetail class has a data member DateOfJoining of type Date and a function getDoJ to get the Date of joining of employees.\n### 3.Information Class uses the marks from Employee class and the DateOfJoining date from the JoiningDetail class to calculate the top 3 Employees based on their Ratings and then Display, using readData, all the details on these employees in Ascending order of their Date Of Joining.\n\n## Overview\n\nThis project demonstrates multiple inheritance in Python. It includes three classes: `Employee`, `JoiningDetail`, and `Information`. The project calculates the top 3 employees based on their performance ratings and displays their details in ascending order of their joining date.\n\n## Classes\n\n### Employee\n- **Attributes:**\n  - `EmployeeID` (String)\n  - `Gender` (String)\n  - `Salary` (int)\n  - `PerformanceRating` (int, out of 5)\n- **Method:**\n  - `get()`: Retrieves employee details from the user.\n\n### JoiningDetail\n- **Attribute:**\n  - `DateOfJoining` (Date)\n- **Method:**\n  - `getDoJ()`: Retrieves the date of joining for the employee.\n\n### Information\n- **Inheritance:** Inherits from `Employee` and `JoiningDetail`.\n- **Methods:**\n  - `readData()`: Calculates the top 3 employees based on their performance ratings and displays their details in ascending order of their date of joining.\n\n## Usage\n\n1. **Initialize the Classes:** Create instances of `Employee`, `JoiningDetail`, and `Information`.\n2. **Get Employee Details:** Use the `get()` method of `Employee` and `getDoJ()` method of `JoiningDetail` to input data.\n3. **Display Top Employees:** Use the `readData()` method of `Information` to calculate and display the top 3 employees.\n\n## Requirements\n**Python** \u003cbr\u003e\n**Jupyter Notebook**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulrmcoder%2Fpython-oops-mini-project1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frahulrmcoder%2Fpython-oops-mini-project1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulrmcoder%2Fpython-oops-mini-project1/lists"}