fix subject f string

This commit is contained in:
root
2025-01-10 21:40:35 +00:00
parent 1431837e47
commit 42c6d7a0db
46610 changed files with 4096513 additions and 148 deletions

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2023 Haoran Ji
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,97 @@
Metadata-Version: 2.1
Name: streamlit-antd-components
Version: 0.3.2
Summary: streamlit customer components of Antd Design and Mantine
Home-page: https://github.com/nicedouble/StreamlitAntdComponents
Author: jihaoran
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: streamlit (>=1.12.0)
# Streamlit-Antd-Components
[![Open in Streamlit][share_badge]][share_link]
[![GitHub][github_badge]][github_link]
[![PyPI][pypi_badge]][pypi_link]
[![download][download_badge]][download_link]
A Streamlit custom component to implement [Antd-Design](https://ant.design/) and [Mantine](https://v6.mantine.dev/) widgets.
Check out the [Demo App][share_link] for more example.
![demo](./img/demo.jpg)
This library now provides component blow:
- `buttons` A group of buttons component.
- `divider` A divider line separates different content
- `menu` A versatile menu for navigation
- `steps` A navigation bar that guides users through the steps of a task
- `cascader` Chooses cascade items in one float layer for better user experience.
- `checkbox` A group of checkbox.
- `rate` Rate component
- `switch` Switching between two states or on-off state
- `transfer` Double column transfer choice box
- `segmented` Segmented Controls.
- `tabs` A tabs component.
- `tree` A hierarchical list structure component.
- `alert` Alert component for feedback
- `result` Used to feed back the results of a series of operational tasks
- `tag` Tag for categorizing or markup
- `pagination` A long list can be divided into several pages
## Install
```shell script
pip install streamlit-antd-components
```
## Quickstart
Create a group of buttons,use more style params.
```python
import streamlit as st
import streamlit_antd_components as sac
btn = sac.buttons(
items=['button1', 'button2', 'button3'],
index=0,
format_func='title',
align='center',
direction='horizontal',
radius='lg',
return_index=False,
)
st.write(f'The selected button label is: {btn}')
```
![buttons](./img/buttons.jpg)
## Todo
- pop-up component
- ~~Interaction between components~~
- ~~Add component callback function~~
- multiple sac components
[share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg
[share_link]: https://nicedouble-streamlitantdcomponentsdemo-app-middmy.streamlit.app/
[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label
[github_link]: https://github.com/nicedouble/StreamlitAntdComponents
[pypi_badge]: https://badgen.net/pypi/v/streamlit-antd-components
[pypi_link]: https://pypi.org/project/streamlit-antd-components/
[download_badge]: https://badgen.net/pypi/dm/streamlit-antd-components
[download_link]: https://pypi.org/project/streamlit-antd-components/#files

View File

@@ -0,0 +1,73 @@
streamlit_antd_components-0.3.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
streamlit_antd_components-0.3.2.dist-info/LICENSE,sha256=2539XNOZZs6X0Ffc0qb-MNzqBRkCjrpLi0wmIdQbN68,1085
streamlit_antd_components-0.3.2.dist-info/METADATA,sha256=U-tPQxdXnwHffwrAwzyPVLbg8n3QYyzohfjR5E2mk7o,2901
streamlit_antd_components-0.3.2.dist-info/RECORD,,
streamlit_antd_components-0.3.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
streamlit_antd_components-0.3.2.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
streamlit_antd_components-0.3.2.dist-info/top_level.txt,sha256=ziBS6PSNsxz_j7YlrDVLcpLU8nP-oPG-7fm9a8oByA4,26
streamlit_antd_components/__init__.py,sha256=1S1dWfOtzIgR9CxKAR01guSrUDM6efS192E0TEwKuKM,295
streamlit_antd_components/__pycache__/__init__.cpython-310.pyc,,
streamlit_antd_components/frontend/build/asset-manifest.json,sha256=liKvfai86WfisBi4uG1iIWQfpsCTaKyYuasO8Fj7rRQ,1167
streamlit_antd_components/frontend/build/bootstrap.min.css,sha256=L7EzZr9yvfRPtzVsdnV0AruBPRzCDpeFLiZQBKBq17Y,197413
streamlit_antd_components/frontend/build/index.html,sha256=ZwZ0k2GqNDJpGcDuPbZT-5ZhM_qadnM3ARJgaw4rcwQ,2232
streamlit_antd_components/frontend/build/static/css/2.abca270b.chunk.css,sha256=I0sDPeiA-tlH9odkLXHcEVwpVOJJmdE-VpVZKOzmRV8,83913
streamlit_antd_components/frontend/build/static/css/2.abca270b.chunk.css.map,sha256=MWXeDn3ehcQpNtxCHffICpSUWkj6YjC3EUdqU51urmg,145787
streamlit_antd_components/frontend/build/static/css/main.d8bbe754.chunk.css,sha256=SHaQ4KySr6fgq8576PPn0b9Wd63DB2w_HC9bt72gHio,1894
streamlit_antd_components/frontend/build/static/css/main.d8bbe754.chunk.css.map,sha256=lpE68e3YshBBxT7THj-jml4FJw1VKCY2kfotGLEUlQs,4170
streamlit_antd_components/frontend/build/static/js/2.3b775a70.chunk.js,sha256=y5qUht80qH_2MxGVgLJ3Yy1XCyOQyU2C-6D-YMWsnOQ,2423568
streamlit_antd_components/frontend/build/static/js/2.3b775a70.chunk.js.LICENSE.txt,sha256=KhCNn4Ksvr6e_7jJ9VaUj86LjzkPq7aIMbNIqQWO2vc,2543
streamlit_antd_components/frontend/build/static/js/2.3b775a70.chunk.js.map,sha256=CyZ6So81SarRBH-PHbuWcuV4kcVrnpaxuNXld_IgyFw,7948978
streamlit_antd_components/frontend/build/static/js/main.e380f842.chunk.js,sha256=O5pWx4o-33OwojAbji8sGLeCIBfC5QQ7UvIPUNpEwpI,44044
streamlit_antd_components/frontend/build/static/js/main.e380f842.chunk.js.map,sha256=GDJaGTtexlRX_84waBXcdYFv3W1RKoACrQDAYLFwLH0,164441
streamlit_antd_components/frontend/build/static/js/runtime-main.6b397ac4.js,sha256=j0UJii71LJqPugBE95kzyCS2fLfNxh-BT1_jD7ZFYYE,1598
streamlit_antd_components/frontend/build/static/js/runtime-main.6b397ac4.js.map,sha256=p6vfLhyi4f1yepyyMfca1CBaZaD5OGgKWt7diBJ-njI,8377
streamlit_antd_components/frontend/build/static/media/bootstrap-icons.449ad8ad.woff,sha256=TUVy7zFOG3NM3WSF-ROwOW2Bvt9NIWpHz94M3zKpMW4,176200
streamlit_antd_components/frontend/build/static/media/bootstrap-icons.dea24bf5.woff2,sha256=us1wr9p9od6sK71JtXF6TdEzvNWcN5Ul1wW4SS9njpU,130608
streamlit_antd_components/utils/__init__.py,sha256=fM_BnCsqK5wR8VjVvrWdPQdkWMYYomqthccvcE8JSzA,485
streamlit_antd_components/utils/__pycache__/__init__.cpython-310.pyc,,
streamlit_antd_components/utils/__pycache__/callback.cpython-310.pyc,,
streamlit_antd_components/utils/__pycache__/component_func.cpython-310.pyc,,
streamlit_antd_components/utils/__pycache__/data_class.cpython-310.pyc,,
streamlit_antd_components/utils/__pycache__/parser.cpython-310.pyc,,
streamlit_antd_components/utils/__pycache__/setting.cpython-310.pyc,,
streamlit_antd_components/utils/callback.py,sha256=DkH54Xb4BOyl12-zYoNLkzAEniTXPBZrXV8kKLvJLmI,1988
streamlit_antd_components/utils/component_func.py,sha256=ugnridlxdHBm9VrzxiG77VMzvy1P8w5Tdq-ETPXsK68,2056
streamlit_antd_components/utils/data_class.py,sha256=q_H1ycebsuup1x5fTaiGlc-To1ASuMml6-D1ngzpfBY,3055
streamlit_antd_components/utils/parser.py,sha256=W1mZQGR50wbo12gGdtsz-TO7ydIbOoYEH0Eu80CCgsE,4620
streamlit_antd_components/utils/setting.py,sha256=BDWhcPCj_nDep0ja6cMSi2aTHHZbAnqzy84gj-TcT2E,1080
streamlit_antd_components/widgets/__init__.py,sha256=byF7kRg4-BRQOABNgcZFZldI8-m_JGkKdtknnOoM9uk,673
streamlit_antd_components/widgets/__pycache__/__init__.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/alert.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/buttons.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/cascader.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/checkbox.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/chip.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/divider.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/menu.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/pagination.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/rate.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/result.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/segmented.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/steps.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/switch.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/tabs.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/tag.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/transfer.cpython-310.pyc,,
streamlit_antd_components/widgets/__pycache__/tree.cpython-310.pyc,,
streamlit_antd_components/widgets/alert.py,sha256=U1YpT6sP-3yG8-5hcovjiSElXHQh2jpL3WKVIrA-xWo,1604
streamlit_antd_components/widgets/buttons.py,sha256=E40sb2zA0r-GHvcRXxC0Y-0f-KXYeyLD5LQh7Pvg0FQ,2716
streamlit_antd_components/widgets/cascader.py,sha256=zDIW2X7ikupYeSX_f_AFPEvzKnL_cgYqAjjSfRpb5zs,2421
streamlit_antd_components/widgets/checkbox.py,sha256=dXf6lkARIFYOuZ8ltImXzhtPrUPfFquGpyICBOXnxxw,2317
streamlit_antd_components/widgets/chip.py,sha256=VKd-qTU4wbtKo1NA_S5NgEb8QsUuWj7NTw35qt7bnZU,2534
streamlit_antd_components/widgets/divider.py,sha256=CVcfQULqDGhrry6bRaX2H1tUGdG22z-oqF34R360N-Q,1087
streamlit_antd_components/widgets/menu.py,sha256=9IA9jYPma2AMcRXEuefHh4k3Qa9Rw5c48h92QtBatFU,2254
streamlit_antd_components/widgets/pagination.py,sha256=gC78qnFKQSOS05q48y0yv1e36-SI-IOjkRtSu14CgtM,2155
streamlit_antd_components/widgets/rate.py,sha256=oEH3-ws1ktsQOM1t7cIC-xGCHvGySWbIF3Goi9_Akds,2027
streamlit_antd_components/widgets/result.py,sha256=xoDJfwsmC1uTqSk1e-HyWsdwVLwhnP6Zml2DQazR6j8,892
streamlit_antd_components/widgets/segmented.py,sha256=nVC1xLLzvdOtSyuxQc58xglnVLMAY0bzvW5AhBdl7JQ,2909
streamlit_antd_components/widgets/steps.py,sha256=QonARv4ErJ3FoNbp7wEHa3PI4If2JTxMWGZDjsbOueA,2022
streamlit_antd_components/widgets/switch.py,sha256=AjZJBVeKhzqKwm68Hp8R9oCkCLT1MANkL1rdJpCM0_w,2416
streamlit_antd_components/widgets/tabs.py,sha256=uezEiSNU7QSqtI8HoHf8QBgyvBE6fspfULiFShzXPjM,2290
streamlit_antd_components/widgets/tag.py,sha256=kEe--dMaqTzXmK0itV6Hkw-TadTb67h78_Q8AqwMY54,1314
streamlit_antd_components/widgets/transfer.py,sha256=75KbhlIDlGxIIykCghmnV4IZ33x6CZaYfI40gFIInQg,2631
streamlit_antd_components/widgets/tree.py,sha256=EC77l6gP67LotxX8E5cW8pzSRLw3KpNpG53liGvN6pk,3157

View File

@@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.40.0)
Root-Is-Purelib: true
Tag: py3-none-any

View File

@@ -0,0 +1 @@
streamlit_antd_components