Skip to main content

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

  1. Initialize virtual environment
    • .venv\Scripts\activate.bat - Windows у командному рядку (CMD)
    • .venv\Scripts\Activate.ps1 - Windows у PowerShell
    • source .venv/bin/activate - macOS та Linux
  2. pip install -r requirements.txt
  3. python src\ContactsAssistant_main_.py
  4. use one of commands presented below (bot will suggest you commands and named arguments that you need)

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_contact":

    • Change the phone number of an existing contact
    • Arguments: name, oldphone, newphone
  • "delete_contact":

    • Delete contact by name
    • Arguments: name
  • "set_contact_birthday":

    • Add a birthday to a contact
    • Arguments: name, date %d.%m.%Y
  • "get_contact_birthday":

    • Show the birthday of a contact
    • Arguments: name
  • "get_contact_by_name":

    • Find contact by name
    • Arguments: name
  • "get_contact_by_phone":

    • Find contact by phone
    • Arguments: phone
  • "get_contact_by_email":

    • Find contact by email
    • Arguments: email
  • "get_all_contacts":

    • Returns a string representation of the address book
    • Arguments: None
  • "get_upcoming_birthdays":

    • Returns a list of upcoming birthdays within the next 7 days
    • Arguments: None
  • "update_contact_email":

    • Update contact email
    • Arguments: name, email
  • "add_address":

    • Update contact address
    • Arguments: name, addresstype, street, city, postalcode, country
  • "delete_address":

    • Delete contact address
    • Arguments: name, addresstype

NoteBook

  • "add_note":

    • Add note
    • Arguments: None
  • "find_note":

    • Find note by title
    • Arguments: title
  • "delete_note":

    • Delete note by title
    • Arguments: title
  • "delete_all_notes":

    • Delete note by title
    • Arguments: None
  • "update_note":

    • Update 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
  • "get_notes_in_days":

    • Get notes that are due in the next specified number of days.
    • Arguments: days
  • "get_all_notes":

    • to view a full notes list
    • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

contacts_assistant-0.0.1.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

contacts_assistant-0.0.1-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file contacts_assistant-0.0.1.tar.gz.

File metadata

  • Download URL: contacts_assistant-0.0.1.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for contacts_assistant-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e8f0c1e9af53d46915139cdfac4d29b3f2af44e148b8022ab332eac4b69a266e
MD5 509310851cb44afd759bf3823db8bc5b
BLAKE2b-256 a0329cec544dd6fafee1679ded62777139bf218ca0243f8f793a484c70fe0dd0

See more details on using hashes here.

File details

Details for the file contacts_assistant-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for contacts_assistant-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1b5eef2a7bdd6e984080e84b77a1c7a77549ce83bc7a7a0f00626541b035715
MD5 d9ea7a889e62daff237f4ea071eab9be
BLAKE2b-256 b9c433e150d9c0bf762a927e9586b739c910762630d83ce9400e1ea9908e7ff1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page