feffery-antd-componentsDash + Antd = 项目地址:https://gitcode.com/gh_mirrors/fe/feffery-antd-components
feffery-antd-components/
├── README.md
├── LICENSE
├── setup.py
├── feffery_antd_components/
│ ├── __init__.py
│ ├── components/
│ │ ├── __init__.py
│ │ ├── ant_component.py
│ │ └── ...
│ ├── static/
│ │ ├── css/
│ │ └── js/
│ └── ...
└── tests/
├── __init__.py
└── test_components.py
项目的启动文件通常是一个Python脚本,用于启动Dash应用。以下是一个示例启动文件:
from dash import Dash
import feffery_antd_components as fac
app = Dash(__name__)
app.layout = fac.AntdDatePicker(locale='en-us')
if __name__ == '__main__':
app.run_server(debug=True)
AntdDatePicker
组件。debug=True
表示开启调试模式。项目的配置文件通常是setup.py
,用于配置项目的安装和依赖。以下是一个示例配置文件:
from setuptools import setup, find_packages
setup(
name='feffery-antd-components',
version='0.3.0',
packages=find_packages(),
install_requires=[
'dash>=2.0.0',
'antd>=4.0.0'
],
description='基于Antd的Plotly Dash第三方组件库',
author='feffery',
author_email='[email protected]',
url='https://github.com/CNFeffery/feffery-antd-components',
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
)
find_packages()
自动查找。feffery-antd-componentsDash + Antd = 项目地址:https://gitcode.com/gh_mirrors/fe/feffery-antd-components