Skip to content

manixko/PhoneBook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ž Phone Book CLI App (Python)

A simple command-line phone book application built in Python using Object-Oriented Programming (OOP) principles. It supports basic CRUD operations: Create, Read, Update, and Delete contacts.

✨ Features

  • πŸ“‡ Create new contacts with full information (name, phone, email, address, category)
  • πŸ” Search for contacts by first name
  • ✏️ Update contact details (including nested fields like address or email)
  • πŸ—‘οΈ Delete contacts from the list
  • πŸ“‹ Display all saved contacts
  • βœ… Built-in validation for phone numbers and emails
  • πŸ’Ύ Temporary in-memory data storage (no database or file persistence yet)

🧱 Project Structure

Main Classes:

  • Address – Stores contact's city, street, alley, and zipcode
  • Category – Represents a contact category (family, friend, colleague, others)
  • Contact_Info – Manages phone number and email with validation
  • Person – Represents each contact with full details
  • Phone_Book – Core class managing the list of contacts and all operations

πŸš€ How to Run

  1. Make sure Python 3 is installed.
  2. Save the code in a file, for example: phonebook.py
  3. Run the app using your terminal or command prompt:
python phonebook.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages