skillfed

streamlit-code-editor

React-ace editor customized for Streamlit

streamlit-code-editor v0.1.22 296.8K downloads/30d#7,893 on PyPI167
License unclear AGING released

What it is and what it does

streamlit-code-editor provides a code editor widget for Streamlit applications. It allows developers to embed an interactive, syntax-highlighted code input field in their Streamlit apps, with support for multiple programming languages and custom styling. The editor returns a response dictionary containing the edited code and related metadata.

The package is designed for Streamlit-based tools that need users to input, edit, or review code interactively. It has a single runtime dependency on streamlit and requires Python 3.6 or later. The aging maintenance status and unclear license mean you should verify its suitability for your use case before committing to it in production.

Use it for:

  • Build interactive code playgrounds or tutorials where users can edit code snippets within a Streamlit app.
  • Create configuration interfaces that accept code input for custom logic or queries.
  • Develop educational tools or coding challenge platforms that collect code submissions from learners.
  • Add code editing to data science dashboards for users to modify analysis scripts on the fly.
  • Prototype internal tools that need syntax-aware code input without building a full IDE.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Embeds an interactive code editor component into Streamlit apps, with support for multiple languages and customizable themes.

Yes, if you need a code editor widget for a Streamlit app and can accept aging maintenance. The package has low install friction, no known vulnerabilities, and reasonable download volume. However, verify the unclear license status before production use, and be aware that updates are infrequent—check the repository first if you need active support or specific features.

Install

streamlit-code-editor on PyPI

pip

pip install streamlit-code-editor

uv

uv add streamlit-code-editor

poetry

poetry add streamlit-code-editor

Installing streamlit-code-editor

Before you install

Low friction install with a single runtime dependency on streamlit. Maintenance status is aging—last commit was 2025-07-23 and the package has not received a release in several months, though the repository remains active and not archived.

License in practice

License status is unclear; no SPDX identifier or raw license text is available. Before relying on this package in production or commercial work, verify the actual license terms directly from the repository.

Quickstart

pip install streamlit-code-editor

import streamlit as st
from streamlit_code_editor import code_editor

response_dict = code_editor("print('hello')")

Requires streamlit to be installed and a Streamlit app context to run.

Verify before relying

  • Exact scope of customizable interface elements and theme options beyond the description excerpt.
  • Whether the package is actively maintained or in maintenance-only mode given aging status.
  • Performance characteristics with large code blocks or concurrent editors.
  • How language specification beyond Python is implemented and what languages are supported.

Package facts

License not declared (unclear)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 1 — streamlit
Maintenance aging — 593 days since the last release
Last repo commit
First released
Downloads 296,815/month — #7,893 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: streamlit_code_editor-0.1.22-py3-none-any.whl

Tags

streamlit code editor componentcode input widget streamlitinteractive code editingsyntax highlighting editorcustomizable code editorstreamlit ui componentcode editor for web apps
streamlit-componentcode-editorui-widget

More Application Frameworks packages