Excel Storage
Project description
Installation
pip install excel-storage
Usage
from excel_storage import ExcelStorage def excelfunc(): data = [ { 'Column 1': 1, 'Column 2': 2, }, { 'Column 1': 3, 'Column 2': 4, } ] fpath = ExcelStorage(data, 'my_data', font='name SimSum').save()
or:
from excel_storage import ExcelStorage def excelfunc(): data = [ ['Column 1', 'Column 2'], [1, 2], [3, 4] ] fpath = ExcelStorage(data, 'my_data', font='name SimSum').save()
or:
from excel_storage import ExcelStorage def excelfunc(): data = [ ['Column 1', 'Column 2'], [1, [2, 3]], [3, 4] ] fpath = ExcelStorage(data, 'my_data', font='name SimSum', row_merge=True).save()
Params
- font=’name SimSum’
Set Font as SimSum(宋体)
- force_csv=True
CSV Format? True for Yes, False for No, Default is False
CSV
Win Excel 2013 |
Mac Excel 2011 |
Mac Excel 2016 |
Mac Numbers |
|
---|---|---|---|---|
UTF8 |
Messy |
Messy |
Messy |
Normal |
GB18030 |
Normal |
Normal |
Normal |
Messy |
UTF8 + BOM_UTF8 |
Normal |
Messy |
Normal |
Normal |
UTF16LE + BOM |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
excel-storage-1.0.0.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file excel-storage-1.0.0.tar.gz
.
File metadata
- Download URL: excel-storage-1.0.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ed90421a8b0ec54c1123d69f6efc81e065722c9eda4e9b8302cb4e4ed190b8a |
|
MD5 | 384dba670d2912566dd5cff9133a2a68 |
|
BLAKE2b-256 | 9e4ecd031d1bcf55af406eb87b026cb969f509e167f5bd0ba9cf1a09272d7bf9 |
File details
Details for the file excel_storage-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: excel_storage-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf9b0c43f2ebe64dbdd5a0e78c95e0ae0a8da6aa67c9b6323d66335de25ef823 |
|
MD5 | ef95f13896db3982fd200dea299c3730 |
|
BLAKE2b-256 | 60e702543b2a74861844aa56c35767a6c785064ad8a0bd3c1277b118230ae000 |