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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file penelopa-dialog-0.0.2.tar.gz.

File metadata

  • Download URL: penelopa-dialog-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for penelopa-dialog-0.0.2.tar.gz
Algorithm Hash digest
SHA256 194ba1f9f98f8d112818b186016dd51e994e95cb84336a48951f366ba1540afa
MD5 1d09f9d3fea470a0170216e901a21dff
BLAKE2b-256 4007f0908eea5defd9eba3a6083680c4354027c847a71e0ff62747f13b75f1b2

See more details on using hashes here.

File details

Details for the file penelopa_dialog-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for penelopa_dialog-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8457be847985031850dea7f72b8377b8fc7a87218bfb1460a29e7c347f085a28
MD5 a1aa92417e5b379d1f8c35bd32b11738
BLAKE2b-256 4add74cfb6b3b01a684904105a6bd7fc9453f21a5dbce0f2186d1c5e27a3366b

See more details on using hashes here.

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