Skip to main content

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.10

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

Metadata

Release files for taipan-assistant 1.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for taipan-assistant 1.0.11
File Size Uploaded
taipan_assistant-1.0.11.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for taipan-assistant 1.0.11
File Interpreter ABI Platform
taipan_assistant-1.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 24.3 kB

Release files / taipan_assistant-1.0.11.tar.gz

Download URL taipan_assistant-1.0.11.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
639c98023b9f32c4627bbe7fb16fd756dc44275e31ad3d845b93d1e4a888063c
BLAKE2b-256 checksum
How to use checksums
34c1f0cf38a884e5fa06703067cd0a6e4dfa6bb2621530601359f0be07cf8e2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Release files / taipan_assistant-1.0.11-py3-none-any.whl

Download URL taipan_assistant-1.0.11-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8e486a5778f471b71e087472871daaf91c3f09f0fe2a83dfa1e73e7d178eee7
BLAKE2b-256 checksum
How to use checksums
78a4a39463e3d43b5db21eb84280cb1dd84dd1c1060c1bacfcf80dd11f57b661
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Release history Release notifications | RSS feed

This release

1.0.11 This release

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

2 release files

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page