V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · Nov 24, 2023 · 3895 views
    This topic created in 885 days ago, the information mentioned may be changed or developed.

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

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

    streamlit-shadcn-ui

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

    我是遇到了什么问题么?
    fractalbanana
        14
    fractalbanana  
    OP
       Nov 29, 2023
    @scguanzhong 用 `pip install streamlit-shadcn-ui --upgrade`更新一下版本, 中间有个小版本有问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4874 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 64ms · UTC 04:03 · PVG 12:03 · LAX 21:03 · JFK 00:03
    ♥ Do have faith in what you're doing.