streamlit-ace
Ace editor component for Streamlit.
What it is and what it does
Streamlit-ace wraps the Ace code editor as a Streamlit component, letting you drop an interactive code editor into a Streamlit web app. It depends only on streamlit itself and provides a single function, st_ace(), that spawns an editor and returns its contents as you type. The editor includes syntax highlighting and is useful when your app needs users to write or edit code directly in the browser.
The package is minimal and permissively licensed under MIT, making it easy to integrate into Streamlit dashboards and data apps. However, it has been abandoned since late 2021 with no recent updates, so compatibility with the latest Streamlit releases and modern Python versions is uncertain.
Use it for:
- Add a live code editor to a Streamlit data app where users can write Python or SQL queries.
- Build an interactive tutorial or documentation site that lets readers edit and run code snippets.
- Create a code review or snippet-sharing tool with syntax-highlighted input fields.
- Embed a configuration editor in a Streamlit admin dashboard for users to write YAML or JSON.
- Prototype a lightweight IDE or notebook-like interface for exploratory coding within Streamlit.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Embeds an Ace code editor component into Streamlit applications, allowing users to edit and display code with syntax highlighting within a web app.
Yes, if you need an Ace editor in a Streamlit app and can tolerate the maintenance risk. The package is simple, has no complex dependencies, and carries no known vulnerabilities. However, verify compatibility with your Streamlit version first—the last release was 2021-12-07, and no updates are planned. Consider it a stable but unsupported tool; if you hit a breaking change, you may need to fork or switch to an alternative.
Install
streamlit-ace on PyPI
pip
pip install streamlit-aceuv
uv add streamlit-acepoetry
poetry add streamlit-aceInstalling streamlit-ace
Before you install
Installation is straightforward with no compiled dependencies. However, the package is abandoned—last release was 2021-12-07, over 1711 days ago. No recent maintenance or bug fixes should be expected.
License in practice
MIT license permits use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
Quickstart
pip install streamlit-ace
import streamlit as st
from streamlit_ace import st_ace
content = st_ace()
st.write(content)
Verify before relying
- Whether the package remains compatible with current Streamlit versions and modern Python environments.
- Whether the Ace editor component renders correctly in recent browser versions.
- Known issues or limitations not documented in the available description.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — streamlit |
| Maintenance | abandoned — 1,711 days since the last release |
| First released | |
| Downloads | 133,667/month — #11,498 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: streamlit_ace-0.1.1-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
st-annotated-textDisplays annotated text with labels and…
permissive · top 15,000 on PyPI
streamlit-code-editorEmbeds an interactive code editor component…
unclear · top 15,000 on PyPI
streamlit-quillEmbeds a React Quill rich-text editor component…
unclear · top 15,000 on PyPI
streamlit-javascriptExecutes arbitrary JavaScript code from within…
permissive · top 15,000 on PyPI
qtmonacoEmbeds the Monaco Editor (VS Code's editor)…
unclear · top 15,000 on PyPI
streamlit-embedcodeEmbeds code snippets from external services…
unclear · top 15,000 on PyPI
django-aceIntegrates the ACE code editor into Django…
permissive · top 15,000 on PyPI
streamlit-antd-componentsProvides Ant Design and Mantine UI components…
unclear · top 15,000 on PyPI
pyvimA Vi/Vim-like text editor implemented entirely…
permissive · top 15,000 on PyPI
streamlit-toggle-switchAdds a customizable toggle switch component to…
unclear · top 15,000 on PyPI