Skip to main content

Penelopa Dialog for managing and coordinating tasks

Project description

PyPI version License: MIT Downloads

Penelopa Dialog

Penelopa Dialog is a Python module for creating interactive console applications. It simplifies the process of dialogues in the console, waiting for user inputs, and handling responses, making it easier to create interactive command-line tools.

Installation

To install Penelopa Dialog, you can use pip:

pip install penelopa-dialog

Usage

As a Python Module

You can use Penelopa Dialog as a module in your Python scripts.

Example:

from penelopa_dialog import PenelopaDialog

# Initialize the dialog with a prompt message
dialog = PenelopaDialog("Hello, please tell me your task.")

# Run the dialog and capture the user's input
user_response = dialog.run()

print("You responded with:", user_response)

This example demonstrates initializing the Penelopa Dialog with a specific message, running the dialogue to wait for the user's input, and then printing out the response.

Customizing Your Dialogue

You can customize your dialogue by adjusting the prompt message or by extending the PenelopaDialog class to include more complex logic or additional interactive features.

Output Example

When you run the Penelopa Dialog, it displays the prompt message and waits for the user's input. Here is an example interaction:

Hello, please tell me your task:
> Refactor the database schema.
You responded with: Refactor the database schema.

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check issues page.

License

MIT

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

penelopa-dialog-0.0.2.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

penelopa_dialog-0.0.2-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

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