A simple console-based address book assistant. Manage your contacts with functionalities like creating, editing, searching, and deleting entries, as well as storing notes, birthdays, addresses, and emails.
- Contact Management: Add, delete, and modify contact information.
- Birthday Alerts: Check for upcoming birthdays within a specified period.
- Notes: Attach notes to contacts for additional information.
- Persistence: Save and load contact information using pickle for data persistence.
- Add new contacts
- Modify contact name and phone number
- Delete contacts
- Add birthdate information to contacts
- View upcoming birthdays within a specified period
- Attach notes to contacts
- Edit existing notes
- Delete notes
- Store a contact's address
- Store a contact's email address
- Find contacts by name or phone number
Ensure you have Python 3.x installed on your system. Open in the terminal, directory containing setup.py Run command:
pip install -e .
To use the Address Book Assistant, run the script in your terminal or command prompt:
assistant_x
- add
<name> <phone>
- Add a new contact - change-numer
<name> <new_phone>
- Change a contact's phone number - find
<query>
- Search for a contact by name or phone number - all - Display all contacts
- add-birthday
<name> <DD.MM.YYYY>
- Add a contact's birthdate - show-birthday
<name>
- Show a contact's birthdate - birthdays-in-period
<days>
- Show birthdays within the specified period - add-address
<name> <address>
- Add an address for a contact - add-email
<name> <email>
- Add an email address for a contact - change-email
<name> <new_email>
- Modify an email address - change-address
<name> <new_address>
- Modify an address - show-email
<name>
- Show an email address - show-address
<name>
- Show an address - delete-contact
<name>
- Delete a contact - add-note
<note>
- Add a note to a contact - edit-note
<name> <note_index> <new_note>
- Edit a contact's note - note
<name>
- Show all notes for a contact - delete-note
<name> <index>
- Delete a note - help - Show the list of commands
- close or exit - Exit the program
add John 1234567890
change John 0987654321
add-birthday John 01.01.1990
The application automatically saves your address book data to a file named ab_data.bin in the user's home directory. The data is loaded from this file when the application starts.
Feel free to fork the repository and submit pull requests to contribute to the development of the Address Book Assistant.