Skip to main content

You personal assistant

Project description

## How to Use

  1. Clone the repository to your local machine.

  2. Navigate to the directory containing the CLI bot.

  3. Installl venv python3 -m venv venv.

  4. Activate venv source venv/bin/activate (source ./venv/scripts/activate for Windows).

  5. Install requirements pip install -r requirements.txt

  6. Run the CLI bot script py main.py.

  7. Enter commands as per the provided documentation.

## Commands and Functionalities

  • Close: Exits the CLI bot, saving any changes made.

    ` close | exit | bye | quit `

  • Greeting: Responds with a greeting message.

    ` hello | hi | hey | yo | sup `

  • Help: Displays the help text with available commands.

    ` help `

  • Add Contact: Adds a new contact.

    ` add | create | new <contact_name> <contact_phone> `

  • Change Contact: Updates an existing contact.

    ` change | edit | update <contact_name> <new_contact_phone> `

  • Delete Contact: Removes a contact.

    ` delete | remove | drop <contact_name> `

  • Show Phone: Displays the phone number of a contact.

    ` phone <contact_name> `

  • Show All Contacts: Displays all contacts.

    ` all `

  • Birthdays: Displays upcoming birthdays.

    ` birthdays <days amount> `

  • Add Birthday: Adds a birthday for a contact.

    ` add-birthday <contact_name> <birthday_date> `

  • Show Birthday: Displays the birthday of a contact.

    ` show-birthday <contact_name> `

  • Add Email: Adds an email address to a contact.

    ` add-email <contact_name> <email_address> `

  • Add Address: Adds an address to a contact.

    ` add-address <contact_name> <street> <building> <city> <additional> `

  • Show Address: Displays the address of a contact.

    ` show-address <contact_name> `

  • Add Note: Adds a note with optional tags.

    ` add-note <title> <note_content> `

  • Add Tag: Adds a tag to an existing note.

    ` add-tag <note_id> [<tag>] `

  • Edit Note: Edits an existing note.

    ` edit-note <note_id> <new_content> `

  • Delete Note: Deletes a note.

    ` delete-note <note_id> `

  • Show Note: Displays a note.

    ` show-note <note_id> `

  • Show All Notes: Displays all notes.

    ` show-all-notes `

  • Search Contact: Searches for a contact by name.

    ` search-contact <contact piece of data> `

  • Search Note: Searches for a note by content.

    ` search-note <key phrase> `

  • Sort Notes: Sorts notes by tag. ` sort-notes [<tag>] `

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

chandlerbot-1.2.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chandlerbot-1.2-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

Details for the file chandlerbot-1.2.tar.gz.

File metadata

  • Download URL: chandlerbot-1.2.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for chandlerbot-1.2.tar.gz
Algorithm Hash digest
SHA256 54a5967c25deb647a0b3232786c56ff772cf5586fa682028d9351487ee5cbf15
MD5 34c293a2c8d340f644f0750208641cdf
BLAKE2b-256 e786be97ddef5007ad1b506a3d7d164b17ea4871e38c0a1d82f8483bdec8c01e

See more details on using hashes here.

File details

Details for the file chandlerbot-1.2-py3-none-any.whl.

File metadata

  • Download URL: chandlerbot-1.2-py3-none-any.whl
  • Upload date:
  • Size: 46.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for chandlerbot-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b11e6f897e98855cd94966b3c330582ff3dfe53f99086eca2738579d9339583
MD5 e8d21b26506912f242361762cc2d6b3a
BLAKE2b-256 6247948991b108160f2ebe0c44bee73c2c968fd60e8e4e6ffb15fd502fe9dcba

See more details on using hashes here.

Supported by

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