Skip to main content

Serialize and unserialize Python list & dictionary between Lua table.

Project description

luadata

This is a Python package that can serialize Python list & dictionary to Lua table, or unserialize Lua table to Python list & dictionary.

Install

Binary installers for the latest released version are available at the Pypi.

python -m pip install --upgrade luadata

Use

You can use serialize to output your Python data into a Lua file on path.

luadata.serialize(data, path, encoding='utf-8')

Or use unserialize to input your Python data from a Lua file on path.

data = luadata.unserialize(path, encoding='utf-8')

License

BSD

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

luadata-0.0.6.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

luadata-0.0.6-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page