dynalistTk


NamedynalistTk JSON
Version 1.2.1 PyPI version JSON
download
home_page
SummaryCreate dynamic lists for python GUI (tkinter)
upload_time2024-03-18 16:11:50
maintainer
docs_urlNone
author
requires_python>=3.9
licenseMIT License Copyright (c) 2024 Soumyo Deep Gupta Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords d33pster dynamiclist tkinter list list gui python gui list gui tkiner tcl
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # <p align='center'> dynaListTk </p>

![Static Badge](https://img.shields.io/badge/pypi-available-brightgreen?style=flat&logo=Pypi&logoColor=red)
![Static Badge](https://img.shields.io/badge/Linux-supported-blue?style=flat&logo=Linux&logoColor=red)
![Static Badge](https://img.shields.io/badge/Windows-supported-blue?style=flat&logo=Windows&logoColor=red)
![Static Badge](https://img.shields.io/badge/MacOS-supported-blue?style=flat&logo=Macintosh&logoColor=red)
![Static Badge](https://img.shields.io/badge/Tkinter-dependent-yellow?style=flat&logo=tkinter&logoColor=red)
![Static Badge](https://img.shields.io/badge/python-only-green?style=flat&logo=python&logoColor=red)
<br><br><br>

<p align='center'>
    <a href='#Installation'>Installation</a>
    &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
    <a href='#Usage'>Usage</a>
    &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
    <a href='#Screenshots'>Screenshots</a>
</p><br>

## About
dynalistTK extends Tkinter and helps in making Dynamic Lists with multiple columns. It also allows sorting of the columns when you click the column name and has two scrollbars.

## Installation
```console
## requires python3.9 or above with pip installed
## run
$ pip install dynalistTk
```

## Usage

###### dynalistTk class docstring:
```console
"""_summary_
class dynaList: initiate class object

Args:
    master (Tk.Frame | ttk.Frame | Tk | Toplevel): parent frame or Tk window (root window) or Toplevel window (Tk popup)
    headers (list): Column names
    data (list): data to be put
Data Format:
data = [
    (value1_row1, value2_row1, ...),
    (value1_row2, value2_row2, ...),
    ...
]
 """
```

###### usage code example:

```console
###  python code:

# import the packaged
from tkinter import Tk, Toplevel
from dynalistTk import dynalistTk

# define column headers
headers = ['column1', 'column2']

# define column data
data = [
    (1, 2),
    (3, 4),
    (90, 100)
]

# create a main root window using tkinter
root = Tk()

# create a list for the whole screen
list_control = dynalistTk(root, headers, data)


# start mainloop
root.mainloop()

```

->-> The above code will generate:

| column1 | column2 |
| ------- | ------- |
|    1    |    2    |
|    3    |    4    |
|    90   |   100   |

## Screenshots
<img src='images/test.png'>

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "dynalistTk",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "Soumyo Deep Gupta <deep.main.ac@gmail.com>",
    "keywords": "d33pster,dynamiclist,tkinter list,list gui,python gui list,gui,tkiner,tcl",
    "author": "",
    "author_email": "Soumyo Deep Gupta <deep.main.ac@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/d4/e6/6d9fc81c5f52d232aa1e936b1e2471ad93f67e6589c4863183f66fd0a8b9/dynalistTk-1.2.1.tar.gz",
    "platform": null,
    "description": "# <p align='center'> dynaListTk </p>\n\n![Static Badge](https://img.shields.io/badge/pypi-available-brightgreen?style=flat&logo=Pypi&logoColor=red)\n![Static Badge](https://img.shields.io/badge/Linux-supported-blue?style=flat&logo=Linux&logoColor=red)\n![Static Badge](https://img.shields.io/badge/Windows-supported-blue?style=flat&logo=Windows&logoColor=red)\n![Static Badge](https://img.shields.io/badge/MacOS-supported-blue?style=flat&logo=Macintosh&logoColor=red)\n![Static Badge](https://img.shields.io/badge/Tkinter-dependent-yellow?style=flat&logo=tkinter&logoColor=red)\n![Static Badge](https://img.shields.io/badge/python-only-green?style=flat&logo=python&logoColor=red)\n<br><br><br>\n\n<p align='center'>\n    <a href='#Installation'>Installation</a>\n    &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;\n    <a href='#Usage'>Usage</a>\n    &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;\n    <a href='#Screenshots'>Screenshots</a>\n</p><br>\n\n## About\ndynalistTK extends Tkinter and helps in making Dynamic Lists with multiple columns. It also allows sorting of the columns when you click the column name and has two scrollbars.\n\n## Installation\n```console\n## requires python3.9 or above with pip installed\n## run\n$ pip install dynalistTk\n```\n\n## Usage\n\n###### dynalistTk class docstring:\n```console\n\"\"\"_summary_\nclass dynaList: initiate class object\n\nArgs:\n    master (Tk.Frame | ttk.Frame | Tk | Toplevel): parent frame or Tk window (root window) or Toplevel window (Tk popup)\n    headers (list): Column names\n    data (list): data to be put\nData Format:\ndata = [\n    (value1_row1, value2_row1, ...),\n    (value1_row2, value2_row2, ...),\n    ...\n]\n \"\"\"\n```\n\n###### usage code example:\n\n```console\n###  python code:\n\n# import the packaged\nfrom tkinter import Tk, Toplevel\nfrom dynalistTk import dynalistTk\n\n# define column headers\nheaders = ['column1', 'column2']\n\n# define column data\ndata = [\n    (1, 2),\n    (3, 4),\n    (90, 100)\n]\n\n# create a main root window using tkinter\nroot = Tk()\n\n# create a list for the whole screen\nlist_control = dynalistTk(root, headers, data)\n\n\n# start mainloop\nroot.mainloop()\n\n```\n\n->-> The above code will generate:\n\n| column1 | column2 |\n| ------- | ------- |\n|    1    |    2    |\n|    3    |    4    |\n|    90   |   100   |\n\n## Screenshots\n<img src='images/test.png'>\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Soumyo Deep Gupta  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Create dynamic lists for python GUI (tkinter)",
    "version": "1.2.1",
    "project_urls": {
        "Homepage": "https://github.com/d33pster/dynalistTk",
        "Issues": "https://github.com/d33pster/dynalistTk/issues"
    },
    "split_keywords": [
        "d33pster",
        "dynamiclist",
        "tkinter list",
        "list gui",
        "python gui list",
        "gui",
        "tkiner",
        "tcl"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7ee66dcd74c8e3301c582bcdaaf26960e496e6d9a295611ae09d2c4ded5227ec",
                "md5": "afd59d5333d2141551aa9af20a7abf9d",
                "sha256": "814c80060fae2adbe25b5f866f00724a5642a9b64ecfbeb4e08d8e921419008d"
            },
            "downloads": -1,
            "filename": "dynalistTk-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "afd59d5333d2141551aa9af20a7abf9d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4945,
            "upload_time": "2024-03-18T16:11:48",
            "upload_time_iso_8601": "2024-03-18T16:11:48.452561Z",
            "url": "https://files.pythonhosted.org/packages/7e/e6/6dcd74c8e3301c582bcdaaf26960e496e6d9a295611ae09d2c4ded5227ec/dynalistTk-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d4e66d9fc81c5f52d232aa1e936b1e2471ad93f67e6589c4863183f66fd0a8b9",
                "md5": "c99681e5776f653d9db7b005ac683fda",
                "sha256": "0d11cf99e9a87383dcb5a9711f4c51f30936b0f7d731e1dbfb5538f9ca194f36"
            },
            "downloads": -1,
            "filename": "dynalistTk-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "c99681e5776f653d9db7b005ac683fda",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 4150,
            "upload_time": "2024-03-18T16:11:50",
            "upload_time_iso_8601": "2024-03-18T16:11:50.574315Z",
            "url": "https://files.pythonhosted.org/packages/d4/e6/6d9fc81c5f52d232aa1e936b1e2471ad93f67e6589c4863183f66fd0a8b9/dynalistTk-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-18 16:11:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "d33pster",
    "github_project": "dynalistTk",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "dynalisttk"
}
        
Elapsed time: 3.73503s