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.1.tar.gz
(16.1 kB
view hashes)
Built Distribution
Close
Hashes for python_tables-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 271bbf385cadde222ae6bf1f750cb804ed6816417a4c6312e4b9bd607348ee4f |
|
MD5 | 8f839793001fbf5df0f3ea5d23992473 |
|
BLAKE2b-256 | 5a04a9b59911a63a87c92a23d790d7216e6891e2bc6730e8f612e069f121255f |