1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[v11]= Tom's Obvious, Minimal Language (3.11)
8 SDESC[v12]= Tom's Obvious, Minimal Language (3.12)
9 HOMEPAGE= https://github.com/uiri/toml
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e
14 DISTFILE[1]= toml-0.10.2-py2.py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY311 PY312
20 OPTIONS_STANDARD= none
21 VOPTS[v11]= PY311=ON PY312=OFF
22 VOPTS[v12]= PY311=OFF PY312=ON
24 DISTNAME= toml-0.10.2.dist-info
28 [PY311].USES_ON= python:v11,wheel
30 [PY312].USES_ON= python:v12,wheel
32 [FILE:1993:descriptions/desc.single]
37 A Python library for parsing and creating [TOML].
39 The module passes [the TOML test suite].
44 * [The currently supported TOML specification]
49 To install the latest release on [PyPI],
56 Or to install the latest development version, run:
60 git clone https://github.com/uiri/toml.git
62 python setup.py install
67 *toml.loads* takes in a string containing standard TOML-formatted data and
68 returns a dictionary containing the parsed data.
74 ... # This is a TOML document.
76 ... title = "TOML Example"
79 ... name = "Tom Preston-Werner"
80 ... dob = 1979-05-27T07:32:00-08:00 # First class dates
83 ... server = "192.168.1.1"
84 ... ports = [ 8001, 8001, 8002]
85 ... connection_max = 5000
90 ... # Indentation (tabs and/or spaces) is allowed but not required
100 ... data = [ ["gamma", "delta"], [1, 2]]
102 ... # Line breaks are OK when inside arrays
108 >>> parsed_toml = toml.loads(toml_string)
110 *toml.dumps* takes a dictionary and returns a string containing the
111 corresponding TOML-formatted data.
115 >>> new_toml_string = toml.dumps(parsed_toml)
116 >>> print(new_toml_string)
117 title = "TOML Example"
119 name = "Tom Preston-Werner"
120 dob = 1979-05-27T07:32:00Z
122 server = "192.168.1.1"
123 ports = [ 8001, 8001, 8002,]
124 connection_max = 5000
127 data = [ [ "gamma", "delta",], [ 1, 2,],]
128 hosts = [ "alpha", "omega",]
136 806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b 16588 toml-0.10.2-py2.py3-none-any.whl