marianoinput


Namemarianoinput JSON
Version 0.0.6 PyPI version JSON
download
home_page
SummaryEasily get valid numeric and boolean input from user
upload_time2023-11-05 00:27:27
maintainer
docs_urlNone
authorMariano Rico
requires_python
license
keywords python input
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            You may need to prompt the user for a numeric or a boolean value <br>However what if the user types something invalid ?<br>This library solves this difficult problem with simplicity </br>marianoinput has PenguinPrompt, with which you can use to easily get valid user input.<br>If user inputs invalid input, then it will re-prompt the user<br><br>Sample Code.. <br><br>from marianoinput import PenguinPrompt<br>pen= PenguinPrompt()<br><br>age=pen.prompt_int_range("whats you age ?", 18,100)<br>height=pen.prompt_float_range("whats you height in meters ?",1,3)<br>yesno= pen.prompt_yesno("Do you wish to continue ?")<br>print(age, height, yesno)<br><br>If you like this library check out my other libary "marianodoc" for producing word docs<br>https://pypi.org/project/marianodoc/

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "marianoinput",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,input",
    "author": "Mariano Rico",
    "author_email": "<marstab4@gmail.com>",
    "download_url": "",
    "platform": null,
    "description": "You may need to prompt the user for a numeric or a boolean value <br>However what if the user types something invalid ?<br>This library solves this difficult problem with simplicity </br>marianoinput has PenguinPrompt, with which you can use to easily get valid user input.<br>If user inputs invalid input, then it will re-prompt the user<br><br>Sample Code.. <br><br>from marianoinput import PenguinPrompt<br>pen= PenguinPrompt()<br><br>age=pen.prompt_int_range(\"whats you age ?\", 18,100)<br>height=pen.prompt_float_range(\"whats you height in meters ?\",1,3)<br>yesno= pen.prompt_yesno(\"Do you wish to continue ?\")<br>print(age, height, yesno)<br><br>If you like this library check out my other libary \"marianodoc\" for producing word docs<br>https://pypi.org/project/marianodoc/\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Easily get valid numeric and boolean input from user",
    "version": "0.0.6",
    "project_urls": null,
    "split_keywords": [
        "python",
        "input"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4cacb960efa2a794bf6b7e056da9c8dd98b28aeab709064f1b10e2fcfe510f98",
                "md5": "ca37ec370f42d2182df44eef74a29ca9",
                "sha256": "d0e37fa937ada4e95dcdb377ea5ec1760c945b6457ae4670450dd692bb162a77"
            },
            "downloads": -1,
            "filename": "marianoinput-0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ca37ec370f42d2182df44eef74a29ca9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6145,
            "upload_time": "2023-11-05T00:27:27",
            "upload_time_iso_8601": "2023-11-05T00:27:27.601419Z",
            "url": "https://files.pythonhosted.org/packages/4c/ac/b960efa2a794bf6b7e056da9c8dd98b28aeab709064f1b10e2fcfe510f98/marianoinput-0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-05 00:27:27",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "marianoinput"
}
        
Elapsed time: 0.21351s