selectpy


Nameselectpy JSON
Version 0.0.4 PyPI version JSON
download
home_page
SummaryA fully customizable selection menu for python
upload_time2023-08-06 11:56:07
maintainer
docs_urlNone
authorSoham P
requires_python
license
keywords python select select menu terminal menu python menu python select menu
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# SelectPy ( selectpy )

Selectpy is a simple python module to integrate a fully customizable select menu in your python projects.



## How To Use



Installing The Module



```python

pip install selectpy

```



Importing The Module in The Project



```python

from selectpy import select

```



Adding The Select Menu And Getting The Result



```python

ans = select(opts=["Option 1", "Option 2"],

             msg="Choose an Option:",

             c=">",

             cursor_color="#ff0000",

             selected_color="#ff0000",

             unselected_color="#ffffff")



print(ans)

```



Output



```

Choose an Option:

> Option 1

  Option 2



Option 1

```





Navigation For The Selection Menu:



- Up Arrow

- Down Arrow

- Enter

- Escape

- Ctrl + C



Thats it!

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "selectpy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,select,select menu,terminal menu,python menu,python select menu",
    "author": "Soham P",
    "author_email": "<sohxmp1204@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/d5/45/a6e5a6489b7d17e297ea95c6e48985c787b40cb4668644fbfef1d6ebffce/selectpy-0.0.4.tar.gz",
    "platform": null,
    "description": "\r\n# SelectPy ( selectpy )\r\n\r\nSelectpy is a simple python module to integrate a fully customizable select menu in your python projects.\r\n\r\n\r\n\r\n## How To Use\r\n\r\n\r\n\r\nInstalling The Module\r\n\r\n\r\n\r\n```python\r\n\r\npip install selectpy\r\n\r\n```\r\n\r\n\r\n\r\nImporting The Module in The Project\r\n\r\n\r\n\r\n```python\r\n\r\nfrom selectpy import select\r\n\r\n```\r\n\r\n\r\n\r\nAdding The Select Menu And Getting The Result\r\n\r\n\r\n\r\n```python\r\n\r\nans = select(opts=[\"Option 1\", \"Option 2\"],\r\n\r\n             msg=\"Choose an Option:\",\r\n\r\n             c=\">\",\r\n\r\n             cursor_color=\"#ff0000\",\r\n\r\n             selected_color=\"#ff0000\",\r\n\r\n             unselected_color=\"#ffffff\")\r\n\r\n\r\n\r\nprint(ans)\r\n\r\n```\r\n\r\n\r\n\r\nOutput\r\n\r\n\r\n\r\n```\r\n\r\nChoose an Option:\r\n\r\n> Option 1\r\n\r\n  Option 2\r\n\r\n\r\n\r\nOption 1\r\n\r\n```\r\n\r\n\r\n\r\n\r\n\r\nNavigation For The Selection Menu:\r\n\r\n\r\n\r\n- Up Arrow\r\n\r\n- Down Arrow\r\n\r\n- Enter\r\n\r\n- Escape\r\n\r\n- Ctrl + C\r\n\r\n\r\n\r\nThats it!\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A fully customizable selection menu for python",
    "version": "0.0.4",
    "project_urls": null,
    "split_keywords": [
        "python",
        "select",
        "select menu",
        "terminal menu",
        "python menu",
        "python select menu"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "98b28bd9ef149c255b1d42181be07d8ed3e478819570a4d8a04642466506fce5",
                "md5": "65d85c5284aad24d10525b17a636db4a",
                "sha256": "5f126f579aa3ac6b7c4d94f71c5929f7c28e5179a40c88f0abf2a84d20b71b4a"
            },
            "downloads": -1,
            "filename": "selectpy-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "65d85c5284aad24d10525b17a636db4a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3739,
            "upload_time": "2023-08-06T11:56:05",
            "upload_time_iso_8601": "2023-08-06T11:56:05.673908Z",
            "url": "https://files.pythonhosted.org/packages/98/b2/8bd9ef149c255b1d42181be07d8ed3e478819570a4d8a04642466506fce5/selectpy-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d545a6e5a6489b7d17e297ea95c6e48985c787b40cb4668644fbfef1d6ebffce",
                "md5": "5875c065eb06b9d8a6938748efe32e3b",
                "sha256": "fe873c968278519bfb039000b3bf5347421a3b4014b88f44a4183139b1d764bc"
            },
            "downloads": -1,
            "filename": "selectpy-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "5875c065eb06b9d8a6938748efe32e3b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3595,
            "upload_time": "2023-08-06T11:56:07",
            "upload_time_iso_8601": "2023-08-06T11:56:07.411267Z",
            "url": "https://files.pythonhosted.org/packages/d5/45/a6e5a6489b7d17e297ea95c6e48985c787b40cb4668644fbfef1d6ebffce/selectpy-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-06 11:56:07",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "selectpy"
}
        
Elapsed time: 0.09654s