Переконайтеся, що на вашому комп'ютері встановлено Python версії 3.11 або новіше. Ви можете завантажити Python з офіційного сайту.
Перед тим, як ви почнете використовувати Персональний Помічник, вам потрібно встановити його. Дотримуйтесь цих кроків:
-
Клонуйте репозиторій на свій комп'ютер:
✅ git clone https://github.com/Dmytro-Ostrenko/Py-power -
Перейдіть в каталог проєкту:
✅cd Py-power -
Встановіть "Персональний Помічник" як Python-пакет:
✅ pip install .
- Введіть команду "1" та натисніть Enter.
- Введіть ім'я контакту, його адресу, телефон, пошту, а також дату його народження.
- Якщо контакт із таким ім'ям і з такою самою датою народження вже існує, продублювати контакт не вийде.
- Для пошуку контакту введіть команду "2" і натисніть "Enter".
- Далі введіть ім'я контакту або його прізвище, введення не чутливе до регістру.
- Введіть команду "3" та натисніть Enter.
- Введіть ім’я контакту, який хочете видалити.
- Для видалення нотатки введіть "delete", потім назву нотатки.
- Введіть команду "4" та натисніть Enter.
- Введіть ім’я контакту, що хочете змінити.
- Введіть його нову адресу(або стару).
- Введіть його новий телефон(або старий).
- Введіть його новий email (або старий).
- Введіть його редагований день народження (або старий).
- Введіть команду "5" та натисніть Enter.
- Введіть кількість днів від поточної дати до тієї за якої Ви хочете подивитися список контактів із днями народження.
- Введіть команду "6" та натисніть Enter.
- Слідуйте інструкціям, які з'являться, для створення нової нотатки.
- Введіть назву нотатки та її текст.
- Введіть команду "7" та натисніть Enter.
- Введіть назву нотатки, яку ви шукаєте.
- Введіть команду "8" та натисніть Enter.
- Для редагування нотатки введіть "edit", потім назву нотатки та новий текст.
- Для видалення нотатки введіть "delete", потім назву нотатки.
- Ведіть команду „9" та натисніть „Enter”
- Слідуйте інструкціям, які з‘являться, для створення тегів для нотатки.
- Введіть назву нотатки та натисніть „Enter”.
- Ведіть теги, розділяючи їх комами та натисніть „Enter”.
- Після успішного створення тегів отримаєте відповідь “Tags added successfully”, якщо нотатки з такою назвою не існує отримаєте “Note not found”.
- Ведіть команду „10" та натисніть „Enter”
- Слідуйте інструкціям, які з’являться, для пошуку нотатків за допомогою тегів(ключових слів).
- Ведіть теги, розділяючи їх комами та натисніть „Enter”.
- Ви отримаєте нотатки відповідно до тегів, якщо таких тегів не було створено отримаєте “Not found”.
- Ведіть команду „sort" та натисніть „Enter”.
- Слідуйте інструкціям, які з‘являться, для сортування зазначеної папки.
- Введіть повний (абсолютний) шлях до папки та натисніть „Enter”.
- Після успішного сортування папки отримаєте відповідь “Folder is sorted successfully”.
Make sure you have Python version 3.11 or later installed on your computer. You can download Python from [official site] (https://www.python.org/downloads/).
Before you can start using Personal Assistant, you need to install it. Follow these steps:
-
Clone the repository to your computer:
✅ git clone https://github.com/Dmytro-Ostrenko/Py-power -
Go to the project directory:
✅cd Py-power -
Install "Personal Assistant" as a Python package:
✅ pip install .
- Type the command "1" and press Enter.
- Enter the contact's name, address, phone number, email, and date of birth.
- If a contact with the same name and date of birth already exists, you cannot duplicate the contact.
- To search for a contact, enter command "2" and press Enter.
- Next, enter the contact's first name or last name; the input is not case sensitive.
- Type the command "3" and press Enter.
- Enter the name of the contact you want to delete.
- To delete a note, type "delete", then the name of the note.
- Type the command "4" and press Enter.
- Enter the name of the contact you want to change.
- Enter his new address (or old).
- Enter his new phone (or old).
- Enter his new email (or old).
- Enter his editable birthday (or old).
- Type the command "5" and press Enter.
- Enter the number of days from the current date to the one for which you want to see a list of contacts with birthdays.
- Type the command "6" and press Enter.
- Follow the instructions that appear to create a new note.
- Enter the name of the note and its text.
- Type the command "7" and press Enter.
- Enter the name of the note you are looking for.
- Type the command "8" and press Enter.
- To edit a note, type "edit", then the name of the note and the new text.
- To delete a note, type "delete", then the name of the note.
- Enter the command “9" and press “Enter.”
- Follow the instructions that appear to create tags for the note.
- Enter the note title and press “Enter.”
- Enter the tags, separating them with commas, and press “Enter.”
- After successfully creating the tags, you will receive the response “Tags added successfully.” If a note with that title does not exist, you will receive “Note not found.”
- Enter the command “10" and press “Enter.”
- Follow the instructions that appear to search for notes using tags (keywords).
- Enter the tags, separating them with commas, and press “Enter.”
- You will receive notes corresponding to the tags; if no such tags were created, you will receive “Not found.”
- Enter the command “sort” and press “Enter”.
- Follow the instructions that appear to sort the designated folder.
- Enter the final (absolute) path to the folder and press “Enter”.
- After successfully sorting the folder, you will see the “Folder is sorted successfully” message.