Contacts Assistant is a bot designed to help you manage your address book efficiently. Below is a list of available commands, their functions, and required arguments. Additionally, you can add your notes to our notebook.
Project description
Contacts Assistant
Contacts Assistant is a bot designed to help you manage your address book efficiently. Below is a list of available commands, their functions, and required arguments. Additionally you can add your notes to our notebook
Initialization
locally
- Initialize virtual environment
- .venv\Scripts\activate.bat - Windows у командному рядку (CMD)
- .venv\Scripts\Activate.ps1 - Windows у PowerShell
- source .venv/bin/activate - macOS та Linux
- pip install -r requirements.txt
- python main.py
- use one of commands presented below (bot will suggest you commands and named arguments that you need)
installed package
- Initialize virtual environment
- .venv\Scripts\activate.bat - Windows у командному рядку (CMD)
- .venv\Scripts\Activate.ps1 - Windows у PowerShell
- source .venv/bin/activate - macOS та Linux
- pip install contacts-assistant
- contacts-assistant
List of Commands
Contacts Book
-
"hello":
- Greeting
- Arguments: None
-
"close" | "exit":
- Save the current state and stop the bot assistant
- Arguments: None
-
"add_contact":
- Add a contact to the address book or update an existing contact
- Arguments:
name
,phone
,email
,birthday
-
"update_phone":
- Change the phone number of an existing contact
- Arguments:
name
,oldphone
,newphone
-
"delete_contact":
- Delete contact by name
- Arguments:
name
-
"set_birthday":
- Add a birthday to a contact
- Arguments:
name
,date %d.%m.%Y
-
"show_birthday":
- Show the birthday of a contact
- Arguments:
name
-
"find_contact_by_name":
- Find contact by name
- Arguments:
name
-
"find_contact_by_phone":
- Find contact by phone
- Arguments:
phone
-
"find_contact_by_email":
- Find contact by email
- Arguments:
email
-
"show_all_contacts":
- Returns a string representation of the address book
- Arguments: None
-
"upcoming_birthdays":
- Returns a list of upcoming birthdays within the specified number of days
- Arguments:
days
-
"update_email":
- Update contact email
- Arguments:
name
,email
-
"add_address":
- Add or update the address of a contact
- Arguments:
name
,addresstype
,street
,city
,postalcode
,country
-
"remove_address":
- Remove the address of a contact
- Arguments:
name
,addresstype
NoteBook
-
"add_note":
- Add a new note
- Arguments: None
-
"find_note":
- Find a note by title
- Arguments:
title
-
"delete_note":
- Delete a note by title
- Arguments:
title
-
"delete_all_notes":
- Delete all notes
- Arguments: None
-
"update_note":
- Update a note by title
- Arguments:
title
-
"search_notes":
- Search for notes containing the query in their title or content
- Arguments:
query
-
"filter_notes_by_tag":
- Filter notes by tag
- Arguments:
tag
-
"notes_due_in_days":
- Show notes that are due within the next specified number of days
- Arguments:
days
-
"show_all_notes":
- Show all notes
- Arguments: None
These commands help you manage and retrieve contact information and notes efficiently. Use them to keep your contacts book organized and up-to-date.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file contacts_assistant-0.0.8.tar.gz
.
File metadata
- Download URL: contacts_assistant-0.0.8.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03935de692eefe98c8e07f7d6c8aae719bd56508f76ec18ba74ac45bf60d92a7 |
|
MD5 | a4d6d4d9b157de0e69ff33de39d5d9d3 |
|
BLAKE2b-256 | 339f108164fb8e65a632c839913b99da06157f0acb9d53884bc0a3e99ba6a572 |
File details
Details for the file contacts_assistant-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: contacts_assistant-0.0.8-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45d208aaaa07f4c4f6cee89459d8c06da164f300c9f3a3e01526df7bc6503b24 |
|
MD5 | 25422ec610a0767861ab25a4b4b06b5f |
|
BLAKE2b-256 | 19750a4e7e1f139b9846e8e13e958ab3a8393bb78e162d7356939fb62025e7bb |