Skip to main content

Whisper CLI Tool

Whisper CLI is a command-line interface tool that allows users to interact with the Whisper application, performing actions like signing up, logging in, setting availability for chat, viewing profiles, and listing active users.

Table of Contents

Installation

Prerequisites

Make sure you have the following installed:

  • Python 3.6+
  • pip (Python package installer)
  • requests package for handling HTTP requests

To install the necessary dependencies, run the following command:

pip install whisper_chat

Usage

Once you have installed the dependencies, you can use the whisper command in your terminal to interact with the CLI tool.

General Command Format

The basic format for using the Whisper CLI is:

whisper <command> --username <username> --password <password> --option <option>

Each command has specific options and flags as described below.

Signup

To create a new user account:

whisper signup --username <your-username> --password <your-password>

This command registers you as a new user in the application. Ensure that both username and password are provided.

Login

To log into the application:

whisper login --username <your-username> --password <your-password>

This command logs you in using your credentials and returns an authentication token that will be used in subsequent requests.

Ready to Chat

To set your availability for chatting:

whisper ready_to_chat --username <your-username>

After running this command, you will be prompted to enter whether you're ready to chat:

  • Enter Yes, Y, or ON to mark yourself as available.
  • Enter No, N, or OFF to mark yourself as unavailable.

Profile

To view your profile information:

whisper profile --username <your-username>

This command retrieves and displays details about your profile, such as your username, email, and current availability status.

Active Users

To view a list of all active users (users who are available for chatting):

whisper active_users --username <your-username>

This command will return a list of all users who are online and ready to chat.

Commands

The CLI supports the following commands:

Command Description Required Arguments Optional Arguments
login Logs into the application --username, --password
signup Registers a new user --username, --password
ready_to_chat Sets your chat availability (ready/not ready) --username
profile Displays your profile information --username
active_users Lists all users who are available for chatting --username

Examples

  • Login

    whisper login --username Al-Areef --password Wagwan
    
  • Signup

    whisper signup --username Al-Areef --password Wagwan
    
  • Set Ready to Chat

    whisper ready_to_chat --username Al-Areef
    

    Then you will be prompted to type Yes/Y or No/N to set your availability.

  • View Profile

    whisper profile --username sAl-Areef
    
  • List Active Users

    whisper active_users --username Al-Areef
    

Contributing

We welcome contributions! If you have any features or improvements, feel free to open an issue or submit a pull request. Make sure to include tests for your new features or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Release files for whisper-chat 1.0.9

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

Source distribution (sdist)

Source distribution for whisper-chat 1.0.9
File Size Uploaded
whisper_chat-1.0.9.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for whisper-chat 1.0.9
File Interpreter ABI Platform
whisper_chat-1.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 kB

Release files / whisper_chat-1.0.9.tar.gz

Download URL whisper_chat-1.0.9.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4e1f7b045f27a8520e1e66b2320b206fedb21309a8a08fcede0e1eeb8ebd8cea
BLAKE2b-256 checksum
How to use checksums
dc0fedff8e12e0c4fdecdda7b3333e10ac3a036c217712e8fd3e6f9a234d1d7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / whisper_chat-1.0.9-py3-none-any.whl

Download URL whisper_chat-1.0.9-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6467179054706cdb4531b4891c7e6ee3fc1df00412e08642c7cb1b47e2226d30
BLAKE2b-256 checksum
How to use checksums
4cf44ffc4ab3c5088bc69fcf40e2abf292b82e42ce4bd21b18418a48874edf44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.0.9 This release

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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