[](https://badge.fury.io/py/penelopa-dialog)
[](https://opensource.org/licenses/MIT)
[](https://pepy.tech/project/penelopadialog)
# 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:
```bash
pip install penelopa-dialog
```
## Usage
### As a Python Module
You can use `Penelopa Dialog` as a module in your Python scripts.
Example:
```python
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](https://github.com/chigwell/penelopa-dialog/issues).
## License
[MIT](https://choosealicense.com/licenses/mit/)
Raw data
{
"_id": null,
"home_page": "https://github.com/chigwell/penelopa-dialog",
"name": "penelopa-dialog",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Eugene Evstafev",
"author_email": "chigwel@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/be/c3/1a914ae261577df09164dd416ea0dfa6404342b8073d1978fa2426f871de/penelopa-dialog-0.0.1.tar.gz",
"platform": null,
"description": "[](https://badge.fury.io/py/penelopa-dialog)\n[](https://opensource.org/licenses/MIT)\n[](https://pepy.tech/project/penelopadialog)\n\n# Penelopa Dialog\n\n`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.\n\n## Installation\n\nTo install `Penelopa Dialog`, you can use pip:\n\n```bash\npip install penelopa-dialog\n```\n\n## Usage\n\n### As a Python Module\n\nYou can use `Penelopa Dialog` as a module in your Python scripts.\n\nExample:\n\n```python\nfrom penelopa_dialog import PenelopaDialog\n\n# Initialize the dialog with a prompt message\ndialog = PenelopaDialog(\"Hello, please tell me your task.\")\n\n# Run the dialog and capture the user's input\nuser_response = dialog.run()\n\nprint(\"You responded with:\", user_response)\n```\n\nThis 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.\n\n### Customizing Your Dialogue\n\nYou can customize your dialogue by adjusting the prompt message or by extending the `PenelopaDialog` class to include more complex logic or additional interactive features.\n\n## Output Example\n\nWhen you run the `Penelopa Dialog`, it displays the prompt message and waits for the user's input. Here is an example interaction:\n\n```\nHello, please tell me your task:\n> Refactor the database schema.\nYou responded with: Refactor the database schema.\n```\n\n## Contributing\n\nContributions, issues, and feature requests are welcome! Feel free to check [issues page](https://github.com/chigwell/penelopa-dialog/issues).\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Penelopa Dialog for managing and coordinating tasks",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/chigwell/penelopa-dialog"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8ae243252db2f37aa7c09cc13df4f175213c911764c920dec062cd6fc32bf85f",
"md5": "fda38f88bf07110bcbe416ae2f0aa5ae",
"sha256": "cc3975d2fd3b2eb0d12cf9867b31c683bb7679f5bd60a3056db4c9f72f17a5ec"
},
"downloads": -1,
"filename": "penelopa_dialog-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fda38f88bf07110bcbe416ae2f0aa5ae",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 3608,
"upload_time": "2024-01-06T13:36:38",
"upload_time_iso_8601": "2024-01-06T13:36:38.874614Z",
"url": "https://files.pythonhosted.org/packages/8a/e2/43252db2f37aa7c09cc13df4f175213c911764c920dec062cd6fc32bf85f/penelopa_dialog-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bec31a914ae261577df09164dd416ea0dfa6404342b8073d1978fa2426f871de",
"md5": "900d31f87728586ef447262cfb278aaf",
"sha256": "7292d44936b1d4a03f85eb728de5ee48cf62a4a58b1530b6ab7a5e17ce54ef89"
},
"downloads": -1,
"filename": "penelopa-dialog-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "900d31f87728586ef447262cfb278aaf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 2576,
"upload_time": "2024-01-06T13:36:40",
"upload_time_iso_8601": "2024-01-06T13:36:40.857343Z",
"url": "https://files.pythonhosted.org/packages/be/c3/1a914ae261577df09164dd416ea0dfa6404342b8073d1978fa2426f871de/penelopa-dialog-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-06 13:36:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "chigwell",
"github_project": "penelopa-dialog",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "penelopa-dialog"
}