/Antd-Component

Dash + Antd = 😍

Primary LanguageJavaScriptMIT LicenseMIT

feffery-antd-components

GitHub PyPI Downloads Downloads Downloads

简体中文 | English

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

1 最新版本安装方式

pip install feffery-antd-components -U

2 最新开发版本安装方式

pip install git+https://github.com/CNFeffery/feffery-antd-components.git

国内镜像加速安装方式:

pip install git+https://github.91chi.fun/https://github.com/CNFeffery/feffery-antd-components.git

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')