{"id":25065685,"url":"https://github.com/programming-sai/contact-list-manager","last_synced_at":"2025-03-31T13:27:54.758Z","repository":{"id":245747154,"uuid":"819114516","full_name":"Programming-Sai/Contact-List-Manager","owner":"Programming-Sai","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-23T20:44:46.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T19:49:00.948Z","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/Programming-Sai.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-23T20:21:42.000Z","updated_at":"2024-06-23T20:44:49.000Z","dependencies_parsed_at":"2024-06-23T21:52:48.268Z","dependency_job_id":null,"html_url":"https://github.com/Programming-Sai/Contact-List-Manager","commit_stats":null,"previous_names":["programming-sai/contact-list-manager"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programming-Sai%2FContact-List-Manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programming-Sai%2FContact-List-Manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programming-Sai%2FContact-List-Manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programming-Sai%2FContact-List-Manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Programming-Sai","download_url":"https://codeload.github.com/Programming-Sai/Contact-List-Manager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246473306,"owners_count":20783244,"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-02-06T19:44:46.027Z","updated_at":"2025-03-31T13:27:54.729Z","avatar_url":"https://github.com/Programming-Sai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Contact List Manager\n\nThe Contact List Manager is a Python program that allows you to manage your contacts efficiently. You can create, edit, delete, search, and organize your contacts into groups such as friends and family.\n\n## Table of Contents\n1. [Features](#features)\n2. [Setup](#setup)\n3. [Usage](#usage)\n4. [Class Documentation](#class-documentation)\n5. [Example](#example)\n6. [Notes](#notes)\n\n## Features\n\n- **Create Contact:** Add new contacts with name and phone number.\n- **Display Contacts:** View all stored contacts.\n- **Search Contacts:** Search for contacts by name.\n- **Edit Contacts:** Edit contact details (name or phone number).\n- **Delete Contacts:** Remove a contact from the list.\n- **Organize Contacts:** Add contacts to groups such as friends or family.\n\n## Setup\n\n1. **Clone the Repository:**\n   ```sh\n   git clone https://github.com/Programming-Sai/Contact-List-Manager.git\n   cd Contact-List-Manager\n   ```\n\n2. **Install Requirements:**\n   No external libraries are required for this program. It runs on standard Python libraries.\n\n## Usage\n\nRun the program using Python:\n```sh\npython contact_list_manager.py\n```\n\n## Class Documentation\n\n### Contact Class\n\n#### Attributes:\n- `name`: (str) The name of the contact.\n- `num`: (str) The phone number of the contact.\n- `contact`: (list) A list of all contacts.\n- `friends_contact`: (list) A list of contacts in the friends group.\n- `family_contact`: (list) A list of contacts in the family group.\n\n#### Methods:\n- `create_contact()`: Prompts the user to enter a name and phone number to create a new contact.\n- `display_contact()`: Displays all contacts.\n- `search_contact()`: Searches for a contact by name.\n- `edit_contact()`: Edits an existing contact's name or phone number.\n- `delete_contact()`: Deletes a contact.\n- `add_contact()`: Adds a contact to the friends or family group.\n- `replace(list_, item, replacement)`: Replaces an item in a list with a new value.\n\n## Example\n\nHere is an example of how to use the Contact List Manager:\n\n1. **Start the Program:**\n   ```sh\n   python C_Implementation.py\n   ```\n\n2. **Menu Options:**\n   - Select an option by entering the corresponding number.\n   - Options:\n     1. Search for a contact\n     2. Display all contacts\n     3. Create a new contact\n     4. Edit a contact\n     5. Delete a contact\n     6. Add contact to another group\n     7. Exit\n\n3. **Create a New Contact:**\n   - Select option `3`.\n   - Enter the name and phone number when prompted.\n\n4. **Display Contacts:**\n   - Select option `2` to display all stored contacts.\n\n5. **Search for a Contact:**\n   - Select option `1` and enter the name of the contact.\n\n6. **Edit a Contact:**\n   - Select option `4` and follow the prompts to edit a contact.\n\n7. **Delete a Contact:**\n   - Select option `5` to delete a contact.\n\n8. **Add Contact to Group:**\n   - Select option `6` to add a contact to the friends or family group.\n\n## Notes\n\n- The phone number must be exactly 10 digits.\n- The program prompts the user for confirmation before each major action.\n- Use the `menu()` function frequently to keep track of your current location and available actions.\n\nEnjoy managing your contacts with the Contact List Manager!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramming-sai%2Fcontact-list-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogramming-sai%2Fcontact-list-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramming-sai%2Fcontact-list-manager/lists"}