{ "info": { "author": "Christopher R. Wood", "author_email": "chris@leastauthority.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: X11 Applications :: Qt", "Framework :: Twisted", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "QReactor\n\nForked from qt5reactor which was forked from qt4reactor and now uses \n[qtpy](https://github.com/spyder-ide/qtpy) to provide to support both.\n\nUsing the QtReactor\n-------------------\n\nInstall using pip\n\n::\n\n pip install qt-reactor\n\nBefore running / importing any other Twisted code, invoke:\n\n::\n\n app = QApplication(sys.argv) # your code to init QtCore\n from twisted.application import reactors\n reactors.installReactor('qt')\n\nor\n\n::\n\n app = QApplication(sys.argv) # your code to init QtCore\n import qreactor\n qreactor.install()\n\nTesting\n~~~~~~~\n\n::\n\n trial --reactor=qt5 [twisted] [twisted.test] [twisted.test.test_internet]\n\nMake sure the plugin directory is in path or in the current directory for\nreactor discovery to work.\n\nTesting on Python 3\n~~~~~~~~~~~~~~~~~~~\n\n``trial`` does not work on Python3 yet. Use Twisted's `Python 3 test runner`_ instead.\n\n.. _Python 3 test runner: https://twistedmatrix.com/trac/browser/trunk/admin/run-python3-tests\n\nInstall the reactor before calling ``unittest.main()``.\n\n::\n\n import qreactor\n qreactor.install()\n unittest.main(...)\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/frmdstryr/qt-reactor", "keywords": "Qt,twisted,qtpy", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "qt-reactor", "package_url": "https://pypi.org/project/qt-reactor/", "platform": "", "project_url": "https://pypi.org/project/qt-reactor/", "project_urls": { "Homepage": "https://github.com/frmdstryr/qt-reactor" }, "release_url": "https://pypi.org/project/qt-reactor/0.6/", "requires_dist": [ "twisted", "qtpy" ], "requires_python": "", "summary": "Twisted Qt Integration for Qt4 and Qt5 using qtpy", "version": "0.6" }, "last_serial": 4429222, "releases": { "0.6": [ { "comment_text": "", "digests": { "md5": "809803cf73b283a69a481781043d591d", "sha256": "ea48fb9b0a25ec95f77a843bc3bc9379e6cba89ac3dc0f2feef464f09e1d53dd" }, "downloads": -1, "filename": "qt_reactor-0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "809803cf73b283a69a481781043d591d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6136, "upload_time": "2018-10-29T21:41:02", "url": "https://files.pythonhosted.org/packages/83/77/506a082b80c43fc50509f13c1aed9b63716295f3f0f983035b8bb49f6e23/qt_reactor-0.6-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "809803cf73b283a69a481781043d591d", "sha256": "ea48fb9b0a25ec95f77a843bc3bc9379e6cba89ac3dc0f2feef464f09e1d53dd" }, "downloads": -1, "filename": "qt_reactor-0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "809803cf73b283a69a481781043d591d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6136, "upload_time": "2018-10-29T21:41:02", "url": "https://files.pythonhosted.org/packages/83/77/506a082b80c43fc50509f13c1aed9b63716295f3f0f983035b8bb49f6e23/qt_reactor-0.6-py2.py3-none-any.whl" } ] }