简易、好用的excel操作工具,兼具增删改查,表合并,导出等功能
Project description
easy excel tool
在实际工作中,沉淀的一些简易、好用的数据处理工具,减少重复代码与文件冗余,希望一样能为使用者带来益处。如果您也想贡献好的代码片段,请将代码以及描述,通过邮箱( xinkonghan@gmail.com )发送给我。代码格式是遵循自我主观,如存在不足敬请指出!
安装
pip install easy_excel_tool
简单使用
from easy_excel_tool import Excel
excel = Excel('./test.xlsx')
# excel.create_excel(inplace=True)
# excel.add_sheet(sheet_name=[
# 'donation_information',
# ])
data = [
{'a': 1, 'b': 5, 'c': '88'},
{'a': 7, 'b': 9, 'c': 66},
{'fill_column': 'fill'}
]
excel.write_excel(
data,
mode='w+',
sheet_name='Sheet1',
inplace=False,
fill_column=True,
header=True
)
链接
Github:https://github.com/hanxinkong/easy_excel_tool
在线文档:https://easy_excel_tool.xink.top/
注明
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easy_excel_tool-1.0.0.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for easy_excel_tool-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa16080b6d2f5aa7d6f9bcc49f4cb23741b9694e82d79dde2ae7a9de81b8e00b |
|
MD5 | ffc225c318824c1e0b9e08de4f36743d |
|
BLAKE2b-256 | 172ed01a5ea19e5efb151405ee95042c0b7873d4b620a3ce1779d35c03f386ad |