Best implementation of Antd components in Plotly Dash.


Keywords
antd, plotly-dash, python
License
MIT
Install
pip install feffery-antd-components==0.3.0rc9

Documentation

feffery-antd-components

GitHub PyPI Downloads Downloads Average time to resolve an issue Percentage of issues still open

简体中文 | English

feffery-components计划子项目,Plotly Dash第三方组件库,基于Antd,将超多具有丰富功能的通用网页常用交互组件引入Dash的生态中 🥳,最新稳定版本:0.2.11

1 最新版本安装方式

pip install feffery-antd-components -U

2 最新预发布版本安装方式

Note

最新预发布版本(2024-04-07):0.3.0rc9

pip install feffery-antd-components --pre -U

3 静态资源 CDN 加速方法

# 非debug模式下对Dash()传入参数serve_locally=False会强制浏览器端从unpkg cdn加载各个依赖的
# xxx.min.js等静态资源,从而避免占用服务器带宽,适合中小型站点加速访问
app = dash.Dash(serve_locally=False)

4 在线文档

文档地址

5 国际化

fac中的部分组件具有自带的文案信息,通过参数locale可以进行国际化设置,默认为'zh-cn'即简体中文,你可以设置为'en-us'来使用英文文案,譬如:

fac.AntdDatePicker(locale='en-us')

6 贡献者