A wrapper of the Monaco Editor for Streamlit
Project description
Streamlit Manoco Code Editor
Installation
pip install streamlit-monaco-code-editor
A wrapper of the Monaco Code Editor for Streamlit
- Support dynamic height and min height.
- Switch
vs-darkandvs-lightthemes based on Streamlit theme. - If Dragging a file to the editor, it will read the file content and display it.
Quick start
cd streamlit_monaco_code_editor/frontend
npm install
npm run start
pip install -e .
Test the example:
streamlit run streamlit_monaco_code_editor/example.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlit_monaco_code_editor-0.0.4.tar.gz.
File metadata
- Download URL: streamlit_monaco_code_editor-0.0.4.tar.gz
- Upload date:
- Size: 593.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97a0b82bc3086f393855eb6a20bf99ec0fd6b16f53ab35f8206e38ace22e0d89
|
|
| MD5 |
99312677e60afd6ba923e8f86f8012d6
|
|
| BLAKE2b-256 |
131a30d505a2a7a3b5d279e9d41d4717dafaffa7c779e453d2c8702634dd6c35
|
File details
Details for the file streamlit_monaco_code_editor-0.0.4-py3-none-any.whl.
File metadata
- Download URL: streamlit_monaco_code_editor-0.0.4-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
569d97a02c4ba2e66553c64584c432ec751e0c0efb30e3b407d1ccefa3bf8b9d
|
|
| MD5 |
54267ed2632fa59002d08e6847166304
|
|
| BLAKE2b-256 |
d65e5b4b391f7db01d60c5c2b6229574be8ff62f84e6463483867f849b6e9a8b
|