monaco-qt


Namemonaco-qt JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryThe Monaco editor as a Qt Widget
upload_time2024-09-22 16:45:42
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT License Copyright (c) 2023 DaelonSuzuka Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords qtstrap qt pyqt monaco text editor
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # monaco-qt

[![license](https://img.shields.io/pypi/l/monaco-qt.svg)](./LICENSE)
[![pypi version](https://img.shields.io/pypi/v/monaco-qt.svg)](https://pypi.org/project/monaco-qt/)
[![PyPI status](https://img.shields.io/pypi/status/monaco-qt.svg)](https://github.com/DaelonSuzuka/monaco-qt/)

The [monaco text editor](https://github.com/microsoft/monaco-editor) deployed as a Qt Widget.

Uses QWebEngineView to load a custom web page containing an instance of monaco.

# Installation

`pip install monaco-qt`

Then, in your qt application:

```py
from monaco import MonacoWidget

monaco_widget = MonacoWidget()
monaco_widget.setText('foo')
```

# Known Issues

- Pyinstaller doesn't automatically include the monaco typescript files.
- Very little of the monaco-editor API has been exposed to python so far

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "monaco-qt",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "qtstrap, qt, pyqt, monaco, text editor",
    "author": null,
    "author_email": "David Kincaid <daelonsuzuka@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/76/5e/97ae95927bd239dfbb8cda04bbf1ef80041cd2393e2399c7680fb400c7f1/monaco_qt-0.2.0.tar.gz",
    "platform": null,
    "description": "# monaco-qt\r\n\r\n[![license](https://img.shields.io/pypi/l/monaco-qt.svg)](./LICENSE)\r\n[![pypi version](https://img.shields.io/pypi/v/monaco-qt.svg)](https://pypi.org/project/monaco-qt/)\r\n[![PyPI status](https://img.shields.io/pypi/status/monaco-qt.svg)](https://github.com/DaelonSuzuka/monaco-qt/)\r\n\r\nThe [monaco text editor](https://github.com/microsoft/monaco-editor) deployed as a Qt Widget.\r\n\r\nUses QWebEngineView to load a custom web page containing an instance of monaco.\r\n\r\n# Installation\r\n\r\n`pip install monaco-qt`\r\n\r\nThen, in your qt application:\r\n\r\n```py\r\nfrom monaco import MonacoWidget\r\n\r\nmonaco_widget = MonacoWidget()\r\nmonaco_widget.setText('foo')\r\n```\r\n\r\n# Known Issues\r\n\r\n- Pyinstaller doesn't automatically include the monaco typescript files.\r\n- Very little of the monaco-editor API has been exposed to python so far\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 DaelonSuzuka  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "The Monaco editor as a Qt Widget",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://github.com/DaelonSuzuka/monaco-qt",
        "Issues": "https://github.com/qtstrap/qtstrap/issues",
        "Repository": "https://github.com/DaelonSuzuka/monaco-qt"
    },
    "split_keywords": [
        "qtstrap",
        " qt",
        " pyqt",
        " monaco",
        " text editor"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ad61a0b57c63a883155277dbe1d963471ef765cbe9555441cbffff9be5b3dda",
                "md5": "f34265663ec36f0f01083f0cf7e3732b",
                "sha256": "a0c7af5cef2fa971baa51526358c35a7434f1717f4de85c0150ea4376b35a7bf"
            },
            "downloads": -1,
            "filename": "monaco_qt-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f34265663ec36f0f01083f0cf7e3732b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 2830572,
            "upload_time": "2024-09-22T16:45:40",
            "upload_time_iso_8601": "2024-09-22T16:45:40.356723Z",
            "url": "https://files.pythonhosted.org/packages/0a/d6/1a0b57c63a883155277dbe1d963471ef765cbe9555441cbffff9be5b3dda/monaco_qt-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "765e97ae95927bd239dfbb8cda04bbf1ef80041cd2393e2399c7680fb400c7f1",
                "md5": "1db856e27dc704f88db04edc125f1351",
                "sha256": "eb4d4f11a323b3db62b2f7176429d5528265829bc8538f2567ec1e4edabde3ae"
            },
            "downloads": -1,
            "filename": "monaco_qt-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1db856e27dc704f88db04edc125f1351",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 2730807,
            "upload_time": "2024-09-22T16:45:42",
            "upload_time_iso_8601": "2024-09-22T16:45:42.749325Z",
            "url": "https://files.pythonhosted.org/packages/76/5e/97ae95927bd239dfbb8cda04bbf1ef80041cd2393e2399c7680fb400c7f1/monaco_qt-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-22 16:45:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DaelonSuzuka",
    "github_project": "monaco-qt",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "monaco-qt"
}
        
Elapsed time: 0.30380s