{"id":20975368,"url":"https://github.com/ternion-1121/contact-book","last_synced_at":"2026-01-06T02:02:44.785Z","repository":{"id":50568775,"uuid":"518913345","full_name":"TERNION-1121/Contact-Book","owner":"TERNION-1121","description":"A virtual contact book in python where users can add, edit, delete and view the details of contacts.","archived":false,"fork":false,"pushed_at":"2022-08-26T06:24:45.000Z","size":5219,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T12:21:44.843Z","etag":null,"topics":["contact","contact-book","contacts","game","phonebook","project","project-management","python","python-project","python3"],"latest_commit_sha":null,"homepage":"","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/TERNION-1121.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}},"created_at":"2022-07-28T16:10:33.000Z","updated_at":"2024-01-18T16:31:08.000Z","dependencies_parsed_at":"2022-08-19T20:10:42.588Z","dependency_job_id":null,"html_url":"https://github.com/TERNION-1121/Contact-Book","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TERNION-1121/Contact-Book","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TERNION-1121%2FContact-Book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TERNION-1121%2FContact-Book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TERNION-1121%2FContact-Book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TERNION-1121%2FContact-Book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TERNION-1121","download_url":"https://codeload.github.com/TERNION-1121/Contact-Book/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TERNION-1121%2FContact-Book/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28220445,"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":"2026-01-06T02:00:07.049Z","response_time":56,"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":["contact","contact-book","contacts","game","phonebook","project","project-management","python","python-project","python3"],"created_at":"2024-11-19T04:43:22.849Z","updated_at":"2026-01-06T02:02:44.755Z","avatar_url":"https://github.com/TERNION-1121.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align = \"center\"\u003e 📞 Contact-Book 📕 \u003c/h1\u003e\n\n A virtual contact book in **Python** where users can add new contacts, and also view, edit, and delete them.\n\nFollowing are the main components of the program responsible for the whole functioning:\n\n1. [`new_contact()`](https://github.com/TERNION-1121/Contact-Book/blob/main/Functions%20in%20Detail/1-new_contact.md) \u003csup\u003e « Click here to view the details \u003c/sup\u003e\n   * Function for **adding** a new contact to the contacts-list.\n   \n2. [`del_contact()`](https://github.com/TERNION-1121/Contact-Book/blob/main/Functions%20in%20Detail/2-del_contact.md) \u003csup\u003e « Click here to view the details \u003c/sup\u003e\n   * Function for **deleting** a specific contact / deleting all the contacts at once.\n   \n3. [`edit_contact()`](https://github.com/TERNION-1121/Contact-Book/blob/main/Functions%20in%20Detail/3-edit_contact().md) \u003csup\u003e « Click here to view the details \u003c/sup\u003e\n   * Function for **updating** the details of a specific contact in the contact list.\n   \n4. [`view_contact()`](https://github.com/TERNION-1121/Contact-Book/blob/main/Functions%20in%20Detail/4-view_details.md) \u003csup\u003e « Click here to view the details \u003c/sup\u003e\n   * Function for **viewing** the details of a specific contact in the contact list.\n \n- ***Global Variable `contacts`***\n   * `contacts` is the **global _dictionary_ variable**, used by every functionality given below.\n   \n The above mentioned components constitute the main function `contactBook()`\n \n\u003cbr\u003e\n\u003chr\u003e\n\n ### **`contactBook()` function**\n \n ```\n ------------ Contact Book ------------\nEnter:-\n[0] to add a New Contact\n[1] to view your Contacts\n[2] to edit a Previously Existing Contact\n[3] to delete a Previously Existing Contact\n\nEnter your choice:\n```\n\n The function begins with an _indefinite while loop_, where, it asks the user for their choice of action using simple selection statements.\n After the completetion of each iteration, it asks the user whether to open the contact book again.\n \n ```\n Do you want to open your Contact Book again (y/n) ?:\n ```\n \n \u003e The contacts are saved only during the program execution. After termination, the contacts are not saved externally.\n \n \u003cbr\u003e\n \n ## How to use the program?\n \n To use the program you would have to get an executable file for the code.\n  \n Follow these steps to get along:-\n \n1. **Add Python to PATH**\n    - An easy way to add Python to the path is by downloading a recent version of Python, and then checking the box to ***\"Add Python to PATH\"***[^1] at the beginning of the installation\n2. **Install `pyinstaller`**\n    - Open your terminal and write the command:- `pip install pyinstaller`. This will get `pyinstaller` installed in your machine in less than a minute's time.\n \n3. **Save your Python Script**\n    - Save your Python Script file by any name you wish (`\u003cfile_name\u003e`), now open the Windows Powershell[^2] in the same directory as of the file's and write the command:- `pyinstaller --onfile \u003cfile_name\u003e.py`. It'd take some time to get your executable file ready.\n\n4. **Open your Executable**\n   - When it is done, open the newly made `dist` folder, and you would find your executable file for the program. An example of the file location can be:- `E:\\Projects\\Contact-Book\\Contact-Book\\dist`\n \n Run your executable and let us know how was the program experience!\n \n \u003e For a better understanding on *How to create Executable of Python Script using Pyinstaller* click [here](https://datatofish.com/executable-pyinstaller/).\n \n \u003cbr\u003e\n \u003chr\u003e\n \n## Future Aspirations for the project\n\n- [x] Contact-Book made functional for terminal-use.\n- [ ] Contact-Book made more functional by saving contacts externally.\n- [ ] Conact-Book equipped with **GUI**[^3]\n\n\u003cbr\u003e\n\nI had made this project for improving my programming skills (especially in Python). Completing this much of the project was just the 1st step towards the final completion. What I aspire to be the 2nd, and certainly the last step for this project is the implementation of SQL[^4] database using the `sqlite3` module.\n\nThis would not only allow the user to use the program for real life use, but also strengthen our command in the field of **Database Management** in Python.\nI hope it'd get done soon ^_^\n\n\u003cbr\u003e\n\u003chr\u003e\n\n### How to Contribute?\n\nThere are various ways you can contribute to the project!\n\n- **Pull Requests:**\n \n  Pull Requests regarding features that were previously non-existent; or that could be made better\n- **Raising Issues:**\n \n  Found an Issue troubling you? Feel free to raise an issue regarding that and I, and the other contributers would definitely look into it.\n- **Contributions for the README.md file!**\n \n  Can you help us making the README.md file look better, more beautiful, and functional? Go on! We'd be there for you with full coordination.\n \n \u003cbr\u003e\n\n[^1]: Check out this [article](https://datatofish.com/add-python-to-windows-path/) for more information.\n[^2]: Navigate to the Windows Powershell by hitting `Shift` + `Right click` in the directory. Check this [article](https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/starting-windows-powershell?view=powershell-7.2) for more information.\n[^3]: Graphical User Interface; The final stage of development for this project would be integrating GUI using modules like [tkinkter](https://docs.python.org/3/library/tkinter.html).\n[^4]: Structured Query Language is a standard language for storing, manipulating and retrieving data in databases. [*`sqlite3`*](https://docs.python.org/3/library/sqlite3.html) provides an SQL interface compliant with the DB-API 2.0 specification described by PEP 249.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fternion-1121%2Fcontact-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fternion-1121%2Fcontact-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fternion-1121%2Fcontact-book/lists"}