%global _empty_manifest_terminate_build 0 Name: python-streamlit-ace Version: 0.1.1 Release: 1 Summary: Ace editor component for Streamlit. License: MIT URL: https://share.streamlit.io/okld/streamlit-gallery/main?p=ace-editor Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2e/34/a508123af170e41852d247b17d38d9cddc2b4be3884f2f29a84aeb322992/streamlit_ace-0.1.1.tar.gz BuildArch: noarch Requires: python3-streamlit %description # 📝 Streamlit Ace [![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link] ## Installation ```sh pip install streamlit-ace ``` ## Getting started ```python import streamlit as st from streamlit_ace import st_ace # Spawn a new Ace editor content = st_ace() # Display editor's content as you type content ``` ## Demo [![Open in Streamlit][share_badge]][share_link] [![Preview][share_img]][share_link] [share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg [share_link]: https://share.streamlit.io/okld/streamlit-gallery/main?p=ace-editor [share_img]: https://raw.githubusercontent.com/okld/streamlit-ace/main/preview.png [github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label [github_link]: https://github.com/okld/streamlit-ace [pypi_badge]: https://badgen.net/pypi/v/streamlit-ace?icon=pypi&color=black&label [pypi_link]: https://pypi.org/project/streamlit-ace %package -n python3-streamlit-ace Summary: Ace editor component for Streamlit. Provides: python-streamlit-ace BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-streamlit-ace # 📝 Streamlit Ace [![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link] ## Installation ```sh pip install streamlit-ace ``` ## Getting started ```python import streamlit as st from streamlit_ace import st_ace # Spawn a new Ace editor content = st_ace() # Display editor's content as you type content ``` ## Demo [![Open in Streamlit][share_badge]][share_link] [![Preview][share_img]][share_link] [share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg [share_link]: https://share.streamlit.io/okld/streamlit-gallery/main?p=ace-editor [share_img]: https://raw.githubusercontent.com/okld/streamlit-ace/main/preview.png [github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label [github_link]: https://github.com/okld/streamlit-ace [pypi_badge]: https://badgen.net/pypi/v/streamlit-ace?icon=pypi&color=black&label [pypi_link]: https://pypi.org/project/streamlit-ace %package help Summary: Development documents and examples for streamlit-ace Provides: python3-streamlit-ace-doc %description help # 📝 Streamlit Ace [![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link] ## Installation ```sh pip install streamlit-ace ``` ## Getting started ```python import streamlit as st from streamlit_ace import st_ace # Spawn a new Ace editor content = st_ace() # Display editor's content as you type content ``` ## Demo [![Open in Streamlit][share_badge]][share_link] [![Preview][share_img]][share_link] [share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg [share_link]: https://share.streamlit.io/okld/streamlit-gallery/main?p=ace-editor [share_img]: https://raw.githubusercontent.com/okld/streamlit-ace/main/preview.png [github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label [github_link]: https://github.com/okld/streamlit-ace [pypi_badge]: https://badgen.net/pypi/v/streamlit-ace?icon=pypi&color=black&label [pypi_link]: https://pypi.org/project/streamlit-ace %prep %autosetup -n streamlit-ace-0.1.1 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-streamlit-ace -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon May 29 2023 Python_Bot - 0.1.1-1 - Package Spec generated