gui-generator


Namegui-generator JSON
Version 2.0.0 PyPI version JSON
download
home_pageNone
SummaryTheĀ GUIgeneratorĀ module facilitates the creation of simple GUI applications.
upload_time2025-01-21 19:50:08
maintainerNone
docs_urlNone
authorCPUcademy
requires_pythonNone
licenseMIT
keywords cpucademy cpucademy guigenerator guigenerator tkinter gui gui
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==========================
GUIgenerator
==========================
The gui-generator module facilitates the creation of simple GUI applications and can be installed using the pip package manager (pip install gui-generator). I created it. To generate a GUI window, we only need to provide a function for the program to execute and, if it takes any parameters, specify their descriptions that will display next to the input fields. They have to be entered in the same order as the function's parameters. We can also provide an additional description that will display at the top of the window by adding the desc parameter. After the user enters the values and clicks "Confirm," the given function will execute. The value it returns is displayed in a new window.

The addInput() method creates a separate window at runtime for collecting additional input. It can take an argument with a description that will display next to the input field.

Usage
==========================

   .. code-block:: bash
   
	from gui_generator import *

	def Average(n):
		s = 0
		for x in range(n):
			s += int(g.addInput("Enter a value:"))
		return s / n

	g = GUIgenerator()
	g.create(Average, args=["How many numbers:"], desc="Calculate the average value.")

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "gui-generator",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "cpucademy CPUcademy GUIgenerator guigenerator tkinter GUI gui",
    "author": "CPUcademy",
    "author_email": "cpucademy@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a7/b8/bb4294d79bb06628d30d2d9c19b31b6d7dd578661f27a78890717d0f6fdd/gui_generator-2.0.0.tar.gz",
    "platform": null,
    "description": "==========================\r\nGUIgenerator\r\n==========================\r\nThe gui-generator module facilitates the creation of simple GUI applications and can be installed using the pip package manager (pip install gui-generator). I created it. To generate a GUI window, we only need to provide a function for the program to execute and, if it takes any parameters, specify their descriptions that will display next to the input fields. They have to be entered in the same order as the function's parameters. We can also provide an additional description that will display at the top of the window by adding the desc parameter. After the user enters the values and clicks \"Confirm,\" the given function will execute. The value it returns is displayed in a new window.\r\n\r\nThe addInput() method creates a separate window at runtime for collecting additional input. It can take an argument with a description that will display next to the input field.\r\n\r\nUsage\r\n==========================\r\n\r\n   .. code-block:: bash\r\n   \r\n\tfrom gui_generator import *\r\n\r\n\tdef Average(n):\r\n\t\ts = 0\r\n\t\tfor x in range(n):\r\n\t\t\ts += int(g.addInput(\"Enter a value:\"))\r\n\t\treturn s / n\r\n\r\n\tg = GUIgenerator()\r\n\tg.create(Average, args=[\"How many numbers:\"], desc=\"Calculate the average value.\")\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "The\u00a0GUIgenerator\u00a0module facilitates the creation of simple GUI applications.",
    "version": "2.0.0",
    "project_urls": null,
    "split_keywords": [
        "cpucademy",
        "cpucademy",
        "guigenerator",
        "guigenerator",
        "tkinter",
        "gui",
        "gui"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a7b8bb4294d79bb06628d30d2d9c19b31b6d7dd578661f27a78890717d0f6fdd",
                "md5": "bb511db757560eba4b2f40f3b339c833",
                "sha256": "03d1cf9e53321ffca5885a82378f3045ee22df84ba9fb01b682bb540deeab54a"
            },
            "downloads": -1,
            "filename": "gui_generator-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "bb511db757560eba4b2f40f3b339c833",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4149,
            "upload_time": "2025-01-21T19:50:08",
            "upload_time_iso_8601": "2025-01-21T19:50:08.578887Z",
            "url": "https://files.pythonhosted.org/packages/a7/b8/bb4294d79bb06628d30d2d9c19b31b6d7dd578661f27a78890717d0f6fdd/gui_generator-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-21 19:50:08",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "gui-generator"
}
        
Elapsed time: 0.87250s