{ "info": { "author": "Ryan Kelly", "author_email": "ryan@rfk.id.au", "bugtrack_url": null, "classifiers": [], "description": "wxAnyThread: allow methods on wxPython objects to be called from any thread\n\nIn wxPython, methods that alter the state of the GUI are only safe to call from\nthe thread running the main event loop. Other threads must typically post\nevents to the GUI thread instead of invoking methods directly.\n\nWhile there are builtin shortcuts for this (e.g. wx.CallAfter) they do not\ncapture the full semantics of a function call. This module provides an easy\nway to invoke methods from any thread *transparently*, propagating return\nvalues and exceptions back to the calling thread.\n\nThe main interface is a decorator named \"anythread\", which can be applied\nto methods to make them safe to call from any thread, like so:\n\n class MyFrame(wx.Frame):\n\n @anythread\n def GetSomeData():\n dlg = MyQueryDialog(self,\"Enter some data\")\n if dlg.ShowModal() == wx.ID_OK:\n resp = dlg.GetResponse()\n return int(resp)\n else:\n raise NoDataEnteredError()\n\nThe GetSomeData method can now be directly invoked from any thread.\nThe calling thread will block while the main GUI thread shows the dialog,\nand will then receive a return value or exception as appropriate.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/wxAnyThread/", "keywords": "wxPython threading", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "wxAnyThread", "package_url": "https://pypi.org/project/wxAnyThread/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wxAnyThread/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/wxAnyThread/" }, "release_url": "https://pypi.org/project/wxAnyThread/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "Allow wxPython object methods to be called from any thread.", "version": "0.2.2" }, "last_serial": 801782, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e0d4050bb8c54d12daee46507d2eb041", "sha256": "db9c600aac0ab1c7ac4db2b200d430509b46530ff9b5ddd73ba9fd080d7bf522" }, "downloads": -1, "filename": "wxAnyThread-0.1.0-py2.5.egg", "has_sig": false, "md5_digest": "e0d4050bb8c54d12daee46507d2eb041", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 4118, "upload_time": "2007-12-10T04:40:23", "url": "https://files.pythonhosted.org/packages/b2/80/4cb1f735cb01e72062686a344297ea0739db63c1467e961a3d682056df02/wxAnyThread-0.1.0-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "3f9f605b44dfafaa7f4f1d1bc10be34e", "sha256": "a910d65c00b92f111e70b1305bf0c66d6a915696225d209982ec682d8d81262e" }, "downloads": -1, "filename": "wxAnyThread-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3f9f605b44dfafaa7f4f1d1bc10be34e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2041, "upload_time": "2007-12-10T04:40:22", "url": "https://files.pythonhosted.org/packages/75/a2/b4d1baf02670ad8228aa354229543f26370aef47e59166358c29d99b25d1/wxAnyThread-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9734daf6aafcf2c53068d11c9c044a6a", "sha256": "3f601e027965fbfcdd7cd15199a0595efc2273b7bd009a690a2dae9e103732ac" }, "downloads": -1, "filename": "wxAnyThread-0.1.1-py2.5.egg", "has_sig": false, "md5_digest": "9734daf6aafcf2c53068d11c9c044a6a", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 4416, "upload_time": "2007-12-14T01:49:25", "url": "https://files.pythonhosted.org/packages/a7/88/6e108b427ac380f381d6907db8c1d019e5ef52c2f49ec54426954a58fce4/wxAnyThread-0.1.1-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "14a5842e18109a93e8e83bc73e61b6cc", "sha256": "caeba3cddc090927aad32b7b7d03c7d76da57aed856483e68529a2681085bcfd" }, "downloads": -1, "filename": "wxAnyThread-0.1.1.tar.gz", "has_sig": false, "md5_digest": "14a5842e18109a93e8e83bc73e61b6cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2206, "upload_time": "2007-12-14T01:49:24", "url": "https://files.pythonhosted.org/packages/ff/2a/af772bc1686b5748444f7e69c969b7c8d2606953cbe5835f82ed098f6605/wxAnyThread-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "dc44ca813dd813395814d5f466728d41", "sha256": "a35dcf7c877ed1e4b51e7bda79ca95e55a80ab26e7618b9a4cb7b59f3dd8e820" }, "downloads": -1, "filename": "wxAnyThread-0.1.2-py2.5.egg", "has_sig": false, "md5_digest": "dc44ca813dd813395814d5f466728d41", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 4992, "upload_time": "2007-12-23T01:19:26", "url": "https://files.pythonhosted.org/packages/1e/e5/b49506d88e189292f28b5e9d3b97827b73b2e573186b03d3484abf8cb80c/wxAnyThread-0.1.2-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "0fb25d798cb3f07e4bbcd3b92ef4ae93", "sha256": "08c3881ad543e7c683b43d1a44e24eab71eaf3baf375a54cb6944247c488e743" }, "downloads": -1, "filename": "wxAnyThread-0.1.2.tar.gz", "has_sig": false, "md5_digest": "0fb25d798cb3f07e4bbcd3b92ef4ae93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2452, "upload_time": "2007-12-23T01:19:24", "url": "https://files.pythonhosted.org/packages/26/25/b348803df171c6c462ea4fcf2b973974c88f4a47fe2c41579499e51eafed/wxAnyThread-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "b2f9024e320d9724dbe75b6ecceac930", "sha256": "defebc5edbf9161758f3ad2e1ea35755ad265226ef11855c1a98e5c6ff9b69a4" }, "downloads": -1, "filename": "wxAnyThread-0.1.3.tar.gz", "has_sig": false, "md5_digest": "b2f9024e320d9724dbe75b6ecceac930", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2204, "upload_time": "2009-11-11T00:53:24", "url": "https://files.pythonhosted.org/packages/6f/27/0f4f121295b7efde05a3af405fb7fa247c8765102b5a6af8c27462dfe6ff/wxAnyThread-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "34eb97a0d7db245e85ce2d0d909b2d74", "sha256": "81ba31c0dab2a500b409074b16c4f50dade183fb2c6735d64623f8342416ba65" }, "downloads": -1, "filename": "wxAnyThread-0.2.0.tar.gz", "has_sig": false, "md5_digest": "34eb97a0d7db245e85ce2d0d909b2d74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2797, "upload_time": "2009-11-14T02:21:27", "url": "https://files.pythonhosted.org/packages/2e/1f/517aba551e21b34b89864d5caf8d99aeaf3a876c422bd2bcf84fd25bcb77/wxAnyThread-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "86ecc8387981ad60e844a1c2451e349f", "sha256": "f1427ac54217b8e5f9444afb5ed6c72ecea9eacf673c7ffda746e3ccc90f06cb" }, "downloads": -1, "filename": "wxAnyThread-0.2.1.tar.gz", "has_sig": false, "md5_digest": "86ecc8387981ad60e844a1c2451e349f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2853, "upload_time": "2009-12-13T05:46:22", "url": "https://files.pythonhosted.org/packages/db/4d/645f967eefd87a2b09a77ff7a39cb02a1e33ea173496fc53324ec60d9c9b/wxAnyThread-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "2979fc528ac69e4d6f0be45894f92b0a", "sha256": "0c2fbf68c55c932748065254be31cacf8761d86ad52b4dc35a252152e403285d" }, "downloads": -1, "filename": "wxAnyThread-0.2.2.tar.gz", "has_sig": false, "md5_digest": "2979fc528ac69e4d6f0be45894f92b0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2896, "upload_time": "2010-03-03T02:15:09", "url": "https://files.pythonhosted.org/packages/93/66/c70094a3bbaae1feaee51b80a2c467eff8b7e924a597149804d43fedae50/wxAnyThread-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2979fc528ac69e4d6f0be45894f92b0a", "sha256": "0c2fbf68c55c932748065254be31cacf8761d86ad52b4dc35a252152e403285d" }, "downloads": -1, "filename": "wxAnyThread-0.2.2.tar.gz", "has_sig": false, "md5_digest": "2979fc528ac69e4d6f0be45894f92b0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2896, "upload_time": "2010-03-03T02:15:09", "url": "https://files.pythonhosted.org/packages/93/66/c70094a3bbaae1feaee51b80a2c467eff8b7e924a597149804d43fedae50/wxAnyThread-0.2.2.tar.gz" } ] }