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.1.0.tar.gz
(17.2 kB
view hashes)
Built Distribution
Close
Hashes for python_tables-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d2cbf356a15c0d0712ec5d58b568119110ba7c4c69c2a5221c5ec09c0559eee |
|
MD5 | abee07cf09d3a421cab719a8ea97f3c7 |
|
BLAKE2b-256 | 84d59e52fa9d4d4ab16f5033aa06db34966a0153809a6e3813b0a3ba13d7c1fe |