{ "info": { "author": "Marcus Oskarsson", "author_email": "marcus.oscarsson@esrf.fr", "bugtrack_url": null, "classifiers": [ "Environment :: X11 Applications :: Qt", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Interpreters", "Topic :: Software Development :: User Interfaces" ], "description": "pyqtconsole\n===========\n\npyqtconsole is a light weight python console for Qt applications. Its made to\nbe easy to embed in other Qt applications and comes with some examples that\nshows how this can be done. The interpreter can run in a separate thread, in\nthe UI main thread or in a gevent task. There is also support for asyncio\nusing trollius, however this is still in the experimental stage.\n\nInstalling\n~~~~~~~~~~\n\nSimply type::\n\n pip install pyqtconsole\n\nOr to install a development version from local checkout, type::\n\n pip install -e .\n\nSimple usage\n~~~~~~~~~~~~\n\nSee the ``examples`` directory for more examples:\n\n.. code-block:: python\n\n import sys\n from threading import Thread\n from PyQt5.QtWidgets import QApplication\n\n from pyqtconsole.console import PythonConsole\n\n app = QApplication([])\n console = PythonConsole()\n console.show()\n console.eval_in_thread()\n\n sys.exit(app.exec_())\n\nEmbedding\n~~~~~~~~~\n\n* *Separate thread* - Runs the interpreter in a separate thread, see the\n example threaded.py_. Running the interpreter in a separate thread obviously\n limits the interaction with the Qt application. The parts of Qt that needs\n to be called from the main thread will not work properly, but is excellent\n way for having a 'plain' python console in your Qt app.\n\n* *main thread* - Runs the interpreter in the main thread, see the example\n inuithread.py_. Makes full interaction with Qt possible, lenghty operations\n will of course freeze the UI (as any lenghty operation that is called from\n the main thread). This is a great alternative for people who does not want\n to use the gevent based approach but still wants full interactivity with Qt.\n\n* *gevent* - Runs the interpreter in a gevent task, see the example\n `_gevent.py`_. Allows for full interactivity with Qt without special\n consideration (at least to some extent) for longer running processes. The\n best method if you want to use pyQtgraph, Matplotlib, PyMca or similar.\n\n* *trollius (asyncio)* - Runs the interpreter in a asyncio coroutine\n `_trollius.py`_. Still experimental\n\nCredits\n~~~~~~~\n\nThe .qt sub module was taken from the pyQode_. And provides Qt4 and Qt5\ncompatibility, the console is tested under both Qt4 and Qt5. The .qt sub\nmodule is included for easy distribution and to provide working examples for\nboth versions 4 and 5 of Qt.\n\n\n.. _threaded.py: https://github.com/marcus-oscarsson/pyqtconsole/blob/master/examples/threaded.py\n.. _inuithread.py: https://github.com/marcus-oscarsson/pyqtconsole/blob/master/examples/inuithread.py\n.. _`_gevent.py`: https://github.com/marcus-oscarsson/pyqtconsole/blob/master/examples/_gevent.py\n.. _`_trollius.py`: https://github.com/marcus-oscarsson/pyqtconsole/blob/master/examples/_trollius.py\n.. _pyQode: https://github.com/pyQode/pyqode.qt", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/marcus-oscarsson/pyqtconsole", "keywords": "interactive interpreter console shell autocompletion jedi qt", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyqtconsole", "package_url": "https://pypi.org/project/pyqtconsole/", "platform": "", "project_url": "https://pypi.org/project/pyqtconsole/", "project_urls": { "Homepage": "https://github.com/marcus-oscarsson/pyqtconsole" }, "release_url": "https://pypi.org/project/pyqtconsole/1.1.3/", "requires_dist": null, "requires_python": ">=2.7", "summary": "Light weight python interpreter, easy to embed into Qt applications", "version": "1.1.3" }, "last_serial": 5570629, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "291baf1d77d7415719ede506220f8e4f", "sha256": "bed875b6071ce87fb34f03be20baa118d3a016321ffa4b69e948334840bcfba8" }, "downloads": -1, "filename": "pyqtconsole-1.0.tar.gz", "has_sig": false, "md5_digest": "291baf1d77d7415719ede506220f8e4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8553, "upload_time": "2015-05-11T11:25:31", "url": "https://files.pythonhosted.org/packages/ca/2f/28c22e720d44bc27c8369c6a7a31a2e5b16a2d3c787fbad702ff2366f71c/pyqtconsole-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "758758512126749ca2623bdde9f09728", "sha256": "45f149d1cdb27a2a7c02d8075ab8f545430a4616cafb38d24bf1fae2eb15727c" }, "downloads": -1, "filename": "pyqtconsole-1.1-alpha.tar.gz", "has_sig": false, "md5_digest": "758758512126749ca2623bdde9f09728", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9446, "upload_time": "2015-07-22T13:52:45", "url": "https://files.pythonhosted.org/packages/1e/48/cbb5e89d7a4ddcd5c4266b7d0f201bc2bcc94223f9cba76e2ac99d033d78/pyqtconsole-1.1-alpha.tar.gz" }, { "comment_text": "", "digests": { "md5": "27a58c4b9e8d019773e6641b95ed7d6b", "sha256": "ca4f0f0abe87052f3771beb8410e6a6f9c808c7333a731bc6ad15cbcf36407c3" }, "downloads": -1, "filename": "pyqtconsole-1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "27a58c4b9e8d019773e6641b95ed7d6b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 22532, "upload_time": "2019-04-11T06:20:27", "url": "https://files.pythonhosted.org/packages/6b/92/bde62bbf83754c000ab968f378ba121d10067bd73a3f5bb5e9d4acdf6700/pyqtconsole-1.1-py2-none-any.whl" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "9affc1aa61bf37870a9a5f28896f4392", "sha256": "58b8900bb7a5d0c9ec9efc45cc8a445fc335dbe8ee32197367da935c2fa1dabd" }, "downloads": -1, "filename": "pyqtconsole-1.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "9affc1aa61bf37870a9a5f28896f4392", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 22561, "upload_time": "2019-04-11T06:21:18", "url": "https://files.pythonhosted.org/packages/d5/3a/ead180f9098890290a7baa7a17c465552504d0dbf176fe32406c550c5cdc/pyqtconsole-1.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "73cd3f7255a82380a008f4de85ce71c3", "sha256": "b658819a2fbac1d8a2f0ddcb917a226a3661f6c297284e4ed46a01df986fab7f" }, "downloads": -1, "filename": "pyqtconsole-1.1.1.tar.gz", "has_sig": false, "md5_digest": "73cd3f7255a82380a008f4de85ce71c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17488, "upload_time": "2019-04-11T06:21:19", "url": "https://files.pythonhosted.org/packages/ee/7d/e8e61e0f796404c00ec3da5dd49383343dbc8920af73ce800d4a5db8eb82/pyqtconsole-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "42b0cda128c53411d0cc22edd24e4e7a", "sha256": "4916f29d4a00df78cf897a5835d3bd44e8497bd068fe6105a62c1ba61e6ffc23" }, "downloads": -1, "filename": "pyqtconsole-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "42b0cda128c53411d0cc22edd24e4e7a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 23305, "upload_time": "2019-04-12T06:12:10", "url": "https://files.pythonhosted.org/packages/e3/31/315ef8532dc35e120aa3597a9433f76ee2d0c2d832df8c8a24b66a379f4c/pyqtconsole-1.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f187ae9f798498cdbdcf048be91a3fe1", "sha256": "856c0964fe361b4c78f66e90641f953ceb2a77df33712eb48a68b54a91368b5d" }, "downloads": -1, "filename": "pyqtconsole-1.1.2.tar.gz", "has_sig": false, "md5_digest": "f187ae9f798498cdbdcf048be91a3fe1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 18079, "upload_time": "2019-04-12T06:12:11", "url": "https://files.pythonhosted.org/packages/4f/f0/2c94f30d39155ba3ee2037da8902ac3a295cccea07729f888a8471794063/pyqtconsole-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "b4c035a775679edddaaac44dbd295019", "sha256": "2d912b6c63efcc32876216c6d377a62f17ec489e88c2e70bca11bb7efd44eece" }, "downloads": -1, "filename": "pyqtconsole-1.1.3.tar.gz", "has_sig": false, "md5_digest": "b4c035a775679edddaaac44dbd295019", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 20192, "upload_time": "2019-07-23T06:07:01", "url": "https://files.pythonhosted.org/packages/2b/9c/a45bc7fd1efb883a73035d8fd5d4bfb020eefcd2ad4bc91d708e4a6bfd05/pyqtconsole-1.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b4c035a775679edddaaac44dbd295019", "sha256": "2d912b6c63efcc32876216c6d377a62f17ec489e88c2e70bca11bb7efd44eece" }, "downloads": -1, "filename": "pyqtconsole-1.1.3.tar.gz", "has_sig": false, "md5_digest": "b4c035a775679edddaaac44dbd295019", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 20192, "upload_time": "2019-07-23T06:07:01", "url": "https://files.pythonhosted.org/packages/2b/9c/a45bc7fd1efb883a73035d8fd5d4bfb020eefcd2ad4bc91d708e4a6bfd05/pyqtconsole-1.1.3.tar.gz" } ] }