File: toml_test3.py

package info (click to toggle)
python-toml 0.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 108 kB
  • ctags: 45
  • sloc: python: 693; makefile: 31
file content (11 lines) | stat: -rwxr-xr-x 209 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3

import toml_test
import toml
import sys
import json

if __name__ == '__main__':
    tdata = toml.loads(sys.stdin.read())
    tagged = toml_test.tag(tdata)
    print(json.dumps(tagged))