Metadata-Version: 2.1
Name: monaco-qt
Version: 0.2.0
Summary: The Monaco editor as a Qt Widget
Author-email: David Kincaid <daelonsuzuka@gmail.com>
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.
        
Project-URL: Homepage, https://github.com/DaelonSuzuka/monaco-qt
Project-URL: Repository, https://github.com/DaelonSuzuka/monaco-qt
Project-URL: Issues, https://github.com/qtstrap/qtstrap/issues
Keywords: qtstrap,qt,pyqt,monaco,text editor
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Widget Sets
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: qtpy

# 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
