{ "info": { "author": "Hsin-Yi Chen \u9673\u4fe1\u5c79 (hychen)", "author_email": "ossug.hychen@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "VSGUI - Very Simple Graphic Interface Library for Python\n========================================================\n\nDescription\n-----------\n\nIt proides a simple functions to comuunicate with `zenity` which\nis a program that will display GTK+ dialogs, and return\n(either in the return code, or on standard output) the users input.\nThis allows you to present information, and ask for information from\nthe user, from all manner of shell scripts.\n\nRequirement\n-----------\n\n* Python >=2.5\n* Python UCLTIP module >= 0.6-1 (http://pypi.python.org/pypi/ucltip)\n* Zenity\n\nHow To install\n--------------\n\nfor Ubuntu Users\n\n::\n\n\t$ apt-get install python-ucltip\n\nfor Debian Users\n\n::\n\t$ apt-get install zenity\n\t$ apt-get install python-ucltip\n\nVSGUI is not in Debian/Ubuntu archive.\nright now please use `setup.py` to install\n\nHow To Use\n----------\n\nThe source code includes some examples which are in example directory, so you can take a qucik look before you\nstart coding, and thre are two part of this library as below\n\n1. High Level API functions\n---------------------------\n\nBefore start, you need to import api funcitons:\n\n::\n\tfrom vsgui.api import *\n\nDialogs\n\n::\n\tfrom vsgui.api import *\n\n\t# information dialog\n\tinfo(msg)\n\n\t# warring dialog\n\twarning(msg):\n\n\t# error dialog\n\terror(msg):\n\n\t# error dialog and terminate script\n\tdie(msg):\n\n\t# notice dialog (does not work in Unity)\n\tnotice(msg):\n\nInput Text\n\n::\n\t# input text\n\task_text(text, initial=None)\n\n\t# input password,\n\task_passwd(text)\n\n\t# check password\n\t#\n\t# - 1234 is the password we except user to type\n\t# - 5 means user can try to input 5 times if the password is wrong\n\t# - password is wrong is just a error message shows in an error dialog\n\tcheck_passwd('1234', 5, 'password is wrong')\n\nQuestions\n\n::\n\n\t# ask user the anwser is yes or no\n\task_yesno(text, y=None, n=None):\n\n\t# ask user select a or b\n\task_ab(text, a, b):\n\n\t# ask user passowrd, and check it\n\tcheck_passwd(wanted, count=3, text='', errmsg='wrong password, try again!')\n\nProgress\n-------\n\n::\n\t# launch a progress bar and create a update function\n\tupdate = progress('downloading files')\n\n\t# update progress bar message ot 'md5sum checking' and progessive number to 90\n\tupdate(90, 'md5sum checking')\n\n\t# launch a progress bar\n\tpulsate_progress('starting')\n\nFile\n----\n\n::\n\n\t# ask user to select a file path\n\task_filepath()\n\n\t# ask user to select multiple file paths\n\task_filepaths()\n\n\t# ask user to select a directory path\n\task_dirpath()\n\n\t# ask user to select multiple directory paths\n\task_dirpaths()\n\nOther\n-----\n\n\task_scalevalue('label')\n\n2. Zenity Class\n---------------\n\nif api functions is not enough, you can use Zenity class direcly to get\nmore powerful feature.\n\n::\n\tfrom vsgui.zenity import Zenity\n\tz = Zenity()\n\n\t# same as executing 'zenity --file-selection --filename=a.txt'\n\tz.file_selection(filename='a.txt')\n\nGet invlolved\n=============\n\nif you are interesting to help, please contact author,\n Hychen, his email is .\n\nThe VCS of code is avaliabl on http://github.com/hychen/vsgui", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "BSD-2-clause License", "maintainer": null, "maintainer_email": null, "name": "vsgui", "package_url": "https://pypi.org/project/vsgui/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/vsgui/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/vsgui/0.3.3/", "requires_dist": null, "requires_python": null, "summary": "Very Simple Graphical library for Python shell script", "version": "0.3.3" }, "last_serial": 801470, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f6d2e34348e842535c59084e572c4b97", "sha256": "52b536b6385b64112562d501503d58b8440ebfc60d53c21d3bdfe7208f86e32b" }, "downloads": -1, "filename": "vsgui-0.1.tar.gz", "has_sig": false, "md5_digest": "f6d2e34348e842535c59084e572c4b97", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3828, "upload_time": "2010-08-01T09:47:28", "url": "https://files.pythonhosted.org/packages/96/b4/609ddf8a407932e3fcbe2168acb8a2b64a7708494b528d8b4011e12e111f/vsgui-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "de5ca44499bae6040819dff5f978415d", "sha256": "33f403963a770f68dce8912d6dcd4be557748093848ae502bc63c0ff4917a166" }, "downloads": -1, "filename": "vsgui-0.1.1.tar.gz", "has_sig": false, "md5_digest": "de5ca44499bae6040819dff5f978415d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4048, "upload_time": "2010-08-01T10:09:42", "url": "https://files.pythonhosted.org/packages/b6/cc/004ee37ccb3c2d0e312a4535824e9f1c7863f59410e57b7453b0b9291582/vsgui-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "3dbebb65ccee97746d9cd348e6eec0d6", "sha256": "1c4bb2f4d5e4115be4a140312db0af6685b0704b538df42c6edd37c97e7dfea7" }, "downloads": -1, "filename": "vsgui-0.1.2.tar.gz", "has_sig": false, "md5_digest": "3dbebb65ccee97746d9cd348e6eec0d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4082, "upload_time": "2010-08-05T08:26:24", "url": "https://files.pythonhosted.org/packages/61/f7/2f516c2bb4469c894cb17be169518f577cf618acbfe409f64878b71cf794/vsgui-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "673382984799545dfc3e127948b60b8e", "sha256": "7b5b26936f4ca8103236465415988f1e985b651c8339aea3e2534f4ef0434f39" }, "downloads": -1, "filename": "vsgui-0.1.3.linux-i686.exe", "has_sig": false, "md5_digest": "673382984799545dfc3e127948b60b8e", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 67986, "upload_time": "2010-12-21T14:09:21", "url": "https://files.pythonhosted.org/packages/10/95/6cd20c13df9255f26132e860f6fd31e1cef69c4586d03d4889545a605f43/vsgui-0.1.3.linux-i686.exe" }, { "comment_text": "", "digests": { "md5": "70132c4440cd7e433dc144f539968d63", "sha256": "07d924cd527defc5a140c262101170e652dc0547c4ddf0f331a52e3460940f76" }, "downloads": -1, "filename": "vsgui-0.1.3.tar.gz", "has_sig": false, "md5_digest": "70132c4440cd7e433dc144f539968d63", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4253, "upload_time": "2010-12-21T14:09:18", "url": "https://files.pythonhosted.org/packages/09/b0/f430d222fbfba0029f19dc824d58f59a2a07393ee093261ce659095197aa/vsgui-0.1.3.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "2dd713ed31c0e2c8adf4269cae6ab722", "sha256": "03620c0d659d99172aa350020d65d86a5313c158f9bd917470c428cea9f9229e" }, "downloads": -1, "filename": "vsgui-0.2.tar.gz", "has_sig": false, "md5_digest": "2dd713ed31c0e2c8adf4269cae6ab722", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4427, "upload_time": "2011-12-18T04:30:56", "url": "https://files.pythonhosted.org/packages/a9/d1/e3d149fbb5c9438dedce05cba6548d0cddd47fbb318eb90d4522bde1c99f/vsgui-0.2.tar.gz" } ], "0.2rc1": [ { "comment_text": "", "digests": { "md5": "306f0c46f97e8564212e6a2e1ce1ceb8", "sha256": "1da41730c9d717ca2b7f0e004c95f38c5f3de190e6ed9c738549d6bdc91d53bd" }, "downloads": -1, "filename": "vsgui-0.2rc1.tar.gz", "has_sig": false, "md5_digest": "306f0c46f97e8564212e6a2e1ce1ceb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3952, "upload_time": "2011-10-10T13:32:06", "url": "https://files.pythonhosted.org/packages/6b/2a/aba0bcb10a4552a5c87f38aec259ab226b2a317a5a6f7b39815614e934d6/vsgui-0.2rc1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "4e03e935f4bd7ebc916ae31ec45e6d85", "sha256": "d7354a668cd14cf524cfece2b7379afa6b9bad8e87f7839cb37c3c3c0eb5cbfa" }, "downloads": -1, "filename": "vsgui-0.3.tar.gz", "has_sig": false, "md5_digest": "4e03e935f4bd7ebc916ae31ec45e6d85", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5185, "upload_time": "2011-12-18T09:50:19", "url": "https://files.pythonhosted.org/packages/4d/69/ea4a9becafce24642fde7495b9715b085ae2f6b234cdd3f0388d38e95454/vsgui-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "42aa90cede820e3ff4c25b4afdd91177", "sha256": "eb84d319c3ab1855fa1b9d03933437e6b999df010e7f0bea024936102a04781d" }, "downloads": -1, "filename": "vsgui-0.3.1.tar.gz", "has_sig": false, "md5_digest": "42aa90cede820e3ff4c25b4afdd91177", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5785, "upload_time": "2011-12-18T10:38:23", "url": "https://files.pythonhosted.org/packages/68/d7/7dbfc99fe8499d88c3a76f59abcf03a33902213944b6a46b3f412d42ef18/vsgui-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "0d77266b17b01794c11fbd3ed5b4b452", "sha256": "b5ff00e21b398f5122f8b1d8e8b106b28839fdad99f3a3a4e7685025cbf3814a" }, "downloads": -1, "filename": "vsgui-0.3.2.tar.gz", "has_sig": false, "md5_digest": "0d77266b17b01794c11fbd3ed5b4b452", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6578, "upload_time": "2011-12-20T16:01:29", "url": "https://files.pythonhosted.org/packages/e5/d6/c4d16f69b7ba4614128471b85983e9907de31cd0fa19e6cf58318b0fb06f/vsgui-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "86370e75c3ffe287c9d4a1ad16cdc16d", "sha256": "0bb21288ac51904493ebb205a74406a118ba34bc331963ba4bdd34269a7762d9" }, "downloads": -1, "filename": "vsgui-0.3.3.tar.gz", "has_sig": false, "md5_digest": "86370e75c3ffe287c9d4a1ad16cdc16d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6575, "upload_time": "2011-12-27T15:01:24", "url": "https://files.pythonhosted.org/packages/35/00/918c0030162e8cd72609c4f449e870956bdee5d972ec16a02c3da7565ddf/vsgui-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "86370e75c3ffe287c9d4a1ad16cdc16d", "sha256": "0bb21288ac51904493ebb205a74406a118ba34bc331963ba4bdd34269a7762d9" }, "downloads": -1, "filename": "vsgui-0.3.3.tar.gz", "has_sig": false, "md5_digest": "86370e75c3ffe287c9d4a1ad16cdc16d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6575, "upload_time": "2011-12-27T15:01:24", "url": "https://files.pythonhosted.org/packages/35/00/918c0030162e8cd72609c4f449e870956bdee5d972ec16a02c3da7565ddf/vsgui-0.3.3.tar.gz" } ] }