Skip to main content

A wrapper of the Monaco Editor for Streamlit

Project description

Streamlit Manoco Code Editor

PyPI - Version

Installation

pip install streamlit-monaco-code-editor

A wrapper of the Monaco Code Editor for Streamlit

  • Support dynamic height and min height.
  • Switch vs-dark and vs-light themes based on Streamlit theme.
  • If Dragging a file to the editor, it will read the file content and display it.

screenshot

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

streamlit_monaco_code_editor-0.0.4.tar.gz (593.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_monaco_code_editor-0.0.4-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file streamlit_monaco_code_editor-0.0.4.tar.gz.

File metadata

File hashes

Hashes for streamlit_monaco_code_editor-0.0.4.tar.gz
Algorithm Hash digest
SHA256 97a0b82bc3086f393855eb6a20bf99ec0fd6b16f53ab35f8206e38ace22e0d89
MD5 99312677e60afd6ba923e8f86f8012d6
BLAKE2b-256 131a30d505a2a7a3b5d279e9d41d4717dafaffa7c779e453d2c8702634dd6c35

See more details on using hashes here.

File details

Details for the file streamlit_monaco_code_editor-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_monaco_code_editor-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 569d97a02c4ba2e66553c64584c432ec751e0c0efb30e3b407d1ccefa3bf8b9d
MD5 54267ed2632fa59002d08e6847166304
BLAKE2b-256 d65e5b4b391f7db01d60c5c2b6229574be8ff62f84e6463483867f849b6e9a8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page