Skip to main content

Export data from excel

Project description

Export data from excel to json format text.
It requires xlrd.

# sample
if __name__ == '__main__':
from datapacker import excel2class, excel2data

# create c charp classes
e2c = excel2class.Excel2Class(output_path='your_output_path/')
e2c.make(namespace='c# namespace', gameinfoclass='GameInfo class name')

# create JSON
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')

Project details

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page