Tables from lua, in python
Project description
Python-Tables
Implementing tables from Lua into Python 3.12
Usage
pip install python-tables
from 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.1.1.tar.gz
(17.2 kB
view hashes)
Built Distribution
Close
Hashes for python_tables-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ee04f40b3639c715e644e22cfa0c368e3cc2f213f1ae099c4fd889236963b88 |
|
MD5 | dc19c7308ad41deeaea0d4dae848f728 |
|
BLAKE2b-256 | 0d253be72bf8738969a381817de1cca68d699437609b0ca7feb431409498bcfa |