msl09-yesno


Namemsl09-yesno JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/marceloslacerda/yesno
SummaryA module that provides common functions for yes/no CLI queries
upload_time2023-05-31 00:27:34
maintainer
docs_urlNone
authorMarcelo Lacerda
requires_python
licenseBSD
keywords query cli function
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # yesno

Quite frequently I need to create simple CLI interfaces for the programs I
write, every time I end up creating a different set of functions that never
have a good set of satisfactory behaviours. For this reason I'm putting this
project publicly, so I can use the same library for those purposes and
improve it continusly.

Example:

    >>> import yesno
    >>> yesno.input_to_bool('Do you like pancakes', default='yes')
    Do you like pancakes[yes]? no
    False


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/marceloslacerda/yesno",
    "name": "msl09-yesno",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "query cli function",
    "author": "Marcelo Lacerda",
    "author_email": "marceloslacerda@gmail.com",
    "download_url": "",
    "platform": null,
    "description": "# yesno\n\nQuite frequently I need to create simple CLI interfaces for the programs I\nwrite, every time I end up creating a different set of functions that never\nhave a good set of satisfactory behaviours. For this reason I'm putting this\nproject publicly, so I can use the same library for those purposes and\nimprove it continusly.\n\nExample:\n\n    >>> import yesno\n    >>> yesno.input_to_bool('Do you like pancakes', default='yes')\n    Do you like pancakes[yes]? no\n    False\n\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "A module that provides common functions for yes/no CLI queries",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/marceloslacerda/yesno"
    },
    "split_keywords": [
        "query",
        "cli",
        "function"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "734be01bef40640e920407d875c088702536b61d903e05bd14dfd9c490a1dd2c",
                "md5": "636440ab0a819ab62748b05f197501d5",
                "sha256": "245ea98d27ab0391565e57fa27665bd9d94315bb656dcc07c54739b2ce9f0ee1"
            },
            "downloads": -1,
            "filename": "msl09_yesno-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "636440ab0a819ab62748b05f197501d5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2527,
            "upload_time": "2023-05-31T00:27:34",
            "upload_time_iso_8601": "2023-05-31T00:27:34.594537Z",
            "url": "https://files.pythonhosted.org/packages/73/4b/e01bef40640e920407d875c088702536b61d903e05bd14dfd9c490a1dd2c/msl09_yesno-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-31 00:27:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "marceloslacerda",
    "github_project": "yesno",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "msl09-yesno"
}
        
Elapsed time: 0.08303s