Skip to main content

Export data from excel

Project description

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

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

datapacker-1.0.7.zip (10.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page