Skip to main content

luadata

Build Status PyPI

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

Usage

write

Serialize python variable to lua data string, and save to specific path.

import luadata

luadata.write(path, data, encoding="utf-8", indent="\t", prefix="return ")

read

Unserialize lua data string to python variable from file.

import luadata

data = luadata.read(path, encoding="utf-8")

serialize

Serialize python variable to lua data string.

import luadata

luadata.serialize(var, encoding="utf-8", indent="\t", indent_level=0)

unserialize

Unserialize lua data string to python variable.

import luadata

luadata.unserialize(luadata_str, encoding="utf-8", multival=False)

License

BSD

Metadata

Release files for luadata 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for luadata 1.0.5
File Size Uploaded Provenance
luadata-1.0.5.tar.gz 7.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for luadata 1.0.5
File Interpreter ABI Platform
luadata-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 16.3 kB

Release files / luadata-1.0.5.tar.gz

Download URL luadata-1.0.5.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7cffdfe889fd42b9de44c786c3cfd6591d35ff66ccf1812d0cbd2a3bbc6ddaf0
BLAKE2b-256 checksum
How to use checksums
ece528449a81d76660d42058d095dad77c88e046423277c803b2bf35fd457e06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

Release files / luadata-1.0.5-py3-none-any.whl

Download URL luadata-1.0.5-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0ff43e65fb7dada87cdfc0e5b0f089de2e1080f6857f866b377a485c0694edf
BLAKE2b-256 checksum
How to use checksums
3315d8db71cf0af4577e4f86d9d7dc230fb6cb5cd354a26ff524651521b8e8fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

Security for luadata 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page