Tables from lua, in python
Project description
Python-Tables
Implementing tables from Lua into Python 3.12
Usage
pip install python-tables
from python-tables import Table
tbl = Table()
print(tbl) # <>
tbl.append(1)
tbl["foo"] = "bar"
print(tbl) # <1, foo: 'bar'>
print(repr(tbl)) # Table([1]; {"foo": "bar"})
tbl += [2,3,4]
print(tbl) # <1, 2, 3, 4, foo: 'bar'>
print(tbl == Table(1,2,3,4,foo="bar"))
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
python-tables-1.0.2.tar.gz
(16.1 kB
view hashes)
Built Distribution
Close
Hashes for python_tables-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1d03dcd9ed9327de05a9d42a221f712e7ea53b6b17816d7a7884c79851d5748 |
|
MD5 | ef13a988a8bd9db34115d1f8a6982446 |
|
BLAKE2b-256 | 1275c102a8f622886a8e0dc015afc07d4dd69225d61cf354967726fe31cc297b |