Skip to main content

No project description provided

Project description

Address Book Bot

Description

This bot is designed for managing contacts and birthdays in an address book. It supports a set of commands for creating, modifying, and viewing contacts and birthdays.

Installation

1.Ensure you have Python 3.6 or higher installed.

pip install taipan-assistant==1.0.9

Install and run the Bot

To run the bot, use the following command:

taipan-assistant

How to run as local package

python -m pip install -e . - run it in the root of the repository. You should see folder taipan_assistant-* in the .venv/lib/python3.*/site-packages and a taipan-assistant in a .venv/bin directory

taipan-assistant - run as a binary name.

Commands

Here is a list of available commands and their descriptions:

  • help: Prints a list of available commands.
  • hello: Prints a greeting message.
  • add [name] [phone number]: Creates a new contact with the specified phone number.
  • change [name] [phone number]: Changes the phone number of an existing contact.
  • phone [name]: Prints the phone number of the specified contact.
  • all: Prints all contacts.
  • add-birthday [name] [birthday]: Adds a birthday to the specified contact.
  • show-birthday [name]: Prints the birthday of the specified contact.
  • birthdays: Prints all birthdays.
  • close or exit: Terminates the program.

Usage Examples

  • To add a new contact:

add John 123-456-7890

  • To change a contact's phone number:

change John 987-654-3210

  • To view a contact's phone number:

phone John

  • To add a birthday to a contact:

add-birthday John 1990-01-01

  • To view a contact's birthday:

show-birthday John

  • To exit the program:

close exit

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

taipan_assistant-1.0.9.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

taipan_assistant-1.0.9-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file taipan_assistant-1.0.9.tar.gz.

File metadata

  • Download URL: taipan_assistant-1.0.9.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for taipan_assistant-1.0.9.tar.gz
Algorithm Hash digest
SHA256 bf3078a873ec00cef487956f9eabf8eddb1734ec0192caa67a1579eca9e6d4f3
MD5 d33fcf7d24dd8b658b417d8795fc8656
BLAKE2b-256 dfdcdf9de1f0d0e13ff46282d140f6ddce057c8bcbeab490161ddf72674fce5e

See more details on using hashes here.

File details

Details for the file taipan_assistant-1.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for taipan_assistant-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4a5464d2a6159b89ba37f07fc2f53b24bc9928ccce993a44a4b41845c2289ee6
MD5 01abe563580d3f820b1dae527ec8bd12
BLAKE2b-256 5775e9ee7f011bd5bc6932065336ae2a901d9a2f02399bafaa32c2de05259e37

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