datapacker-1.0.7
توضیحات
Export data from excel
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | datapacker-1.0.7 |
| نام | datapacker |
| نسخه کتابخانه | 1.0.7 |
| نگهدارنده | ['Xizeng Jin'] |
| ایمیل نگهدارنده | ['ntgames@foxmail.com'] |
| نویسنده | Xizeng Jin |
| ایمیل نویسنده | ntgames@foxmail.com |
| آدرس صفحه اصلی | http://www.ntplays.com |
| آدرس اینترنتی | https://pypi.org/project/datapacker/ |
| مجوز | GNU General Public License v3 (GPLv3) |
Export data from excel to json format text.
It requires xlrd.
# sample
from datapacker import excel2class, excel2data
# export to c# classes
e2c = excel2class.Excel2Class(output_path='your_output_path/')
e2c.make(namespace='c# namespace', gameinfoclass='GameInfo class name')
# export to JSON file
e2d = excel2data.Excel2Data(output_path='your_output_path/')
e2d.password = 'md5 password'
e2d.suffix = '.txt' # json file suffix
e2d.make_json(filename='GameInfo class name')
نحوه نصب
نصب پکیج whl datapacker-1.0.7:
pip install datapacker-1.0.7.whl
نصب پکیج tar.gz datapacker-1.0.7:
pip install datapacker-1.0.7.tar.gz