skip to navigation
skip to content

datapacker 1.0.7

Export data from excel

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

File Type Py Version Uploaded on Size (md5) Source 2016-07-14 9KB