Skip to main content

PyMsgPrompt is a python module to embed prompt functionality in your code. Current Version of the module is 0.0.5

Project description

PyMsgPrompt

PyMsgPrompt is a python module to embed prompt functionality in your code.

Version

The current version of this module is 0.0.5 and this is the second Alpha release after version 0.0.4, however, you can run the below command to check the version of the module.

python -m pymsgprompt.version

Platform Supports

This is a cross platform module and supported both in python 2 and 3.

Installation

To install this module you can use clone with git or just simply run pip install command.

Using git

git clone https://github.com/antaripchatterjee/PyMsgPrompt.git
cd PyMsgPrompt
python setup.py install

Using pip

pip install pymsgprompt

Uninstallation

Uninstallation can be done by running pip uninstall command.

pip uninstall pymsgpropmt

Usage

To test this module, you can run the below simple code.

from pymsgprompt.prompt import ask

if __name__ == '__main__':
    answer = ask('Do you want to close?', choices=['yes', 'no', 'yesss'], default='no', logtype=False, regexp=True, ignore_case=False)
    print(answer)

API Reference

A good documentation, specially for the developers, will be provided later.

Development Areas

I am already working on some other functionality, which will be provided in the future releases.

License

This module is licensed under MIT License.

Contribution

Pull requests are always awesome, but please make sure of raising request, before making any changes.

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

PyMsgPrompt-0.0.5.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

PyMsgPrompt-0.0.5-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file PyMsgPrompt-0.0.5.tar.gz.

File metadata

  • Download URL: PyMsgPrompt-0.0.5.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.2

File hashes

Hashes for PyMsgPrompt-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c1c1d83f14d56fa6ddc0dc41ee69025bb883bb9477f72bceb9005e4bdc05dbad
MD5 99f42d8a13865d10b1a946833f14ffff
BLAKE2b-256 3ce8a4f0ac949040bfc1f071de44a2d35012a2b689eacd816a02c4b778046bf2

See more details on using hashes here.

File details

Details for the file PyMsgPrompt-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: PyMsgPrompt-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.2

File hashes

Hashes for PyMsgPrompt-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fd88713d04ba828afe41d659541d5ebd0eaa15e0547e45aadc8885f7bc42c612
MD5 080caa43251ac82ca38eb29b0e1a129d
BLAKE2b-256 ec540da3b369821176c26fd5a517e480c6f6329f4dce9c88edf8a2f8676bb07e

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