V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
fractalbanana
V2EX  ›  Python

帮助 Python 开发者开发更现代 UI 的组件库: streamlit-shadcn-ui

  •  
  •   fractalbanana · 155 天前 · 2193 次点击
    这是一个创建于 155 天前的主题,其中的信息可能已经有所发展或是发生改变。

    数据科学家/数据工程师们可以使用 streamlit 来快速搭建数据应用的界面。

    但 streamlit 的组件选择相对比较局限,并且样式也比较古老。于是我将前端流行的 shadcn 组件库引入到 streamlit 当中,来给大家更多更好看的选择。在 python 中,也可以使用现代设计的组件库,来开发 UI 界面。

    streamlit-shadcn-ui

    14 条回复    2023-11-29 00:33:02 +08:00
    daxin945
        1
    daxin945  
       155 天前
    已 star ,再接再厉啊
    fractalbanana
        2
    fractalbanana  
    OP
       155 天前
    @daxin945 感谢支持!!
    cleanery
        3
    cleanery  
       155 天前
    已 star, 要是有每个组件的可视化文档就更好了
    hao7Chen
        4
    hao7Chen  
       155 天前
    还得是你啊,厉害
    wxyrrcj
        5
    wxyrrcj  
       155 天前
    支持 linux 吗
    fractalbanana
        6
    fractalbanana  
    OP
       155 天前
    @cleanery 感谢!文档正在补,下周一会发第一个正式稳定版。到时候文档和实例都会发在这里: https://shadcn.streamlit.app/
    fractalbanana
        7
    fractalbanana  
    OP
       155 天前
    @wxyrrcj 应用框架是 streamlit ,可以自己在 linux 环境下私有部署的。
    bugcoder
        8
    bugcoder  
       154 天前 via iPhone
    可以啊,我之前也有这个想法,希望有机会参与贡献
    Raikiriww
        9
    Raikiriww  
       154 天前
    牛牛牛
    Cloud200
        10
    Cloud200  
       154 天前
    很厉害
    fractalbanana
        11
    fractalbanana  
    OP
       154 天前
    @bugcoder 欢迎欢迎呀
    chinesehuazhou
        12
    chinesehuazhou  
       153 天前
    收录到 Python 潮流周刊
    scguanzhong
        13
    scguanzhong  
       151 天前
    ModuleNotFoundError: No module named 'streamlit_shadcn_ui.py_components.base'

    我是遇到了什么问题么?
    fractalbanana
        14
    fractalbanana  
    OP
       150 天前
    @scguanzhong 用 `pip install streamlit-shadcn-ui --upgrade`更新一下版本, 中间有个小版本有问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3023 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:43 · PVG 16:43 · LAX 01:43 · JFK 04:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.