A lil' TOML parser
LTOML is a Python library for parsing TOML. LTOML is fully compatible with TOML v1.0.0.
pip install ltoml
import ltoml
toml_str = """
top-level-key = 99
[namespace]
namespace-key = 17
"""
toml_dict = ltoml.loads(toml_str)
assert toml_dict == {"top-level-key": 99, "namespace": {"namespace-key": 17}}
Version | Tag | Published |
---|---|---|
0.1.0 | 1yr ago |