libtoml

A Python toml parser.


License
Other
Install
pip install libtoml==1.0

Documentation

libtoml

A Python toml parser. Mostly an experiment to learn the rply library.

Parses everything except arrays of tables. Instead, you can just do this:

products = [
    {"name": "Book", "price": "6.50", },
    {"name": "Bell", "price": "0.50"}, # trailing comma, no problem
]

Python dictionary syntax can be used for variables as well:

x = { 1: 2, 3.0: "0.50" }
y = { 
    "hello": "world",
}