File: argusPython.json.py

package info (click to toggle)
argus-clients 1%3A5.0.2%2Bgit20250321.41f65e2-2
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 45,848 kB
  • sloc: ansic: 175,393; perl: 4,405; sh: 4,064; makefile: 2,520; lex: 517; yacc: 433; python: 62
file content (18 lines) | stat: -rw-r--r-- 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import json
import logging
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'  # or any {'0', '1', '2'}

import argusPython as aw

if __name__ == '__main__':
   aw.argusInit()
   # load Argus baseline for matching

   print(f"Reading Json Argus Data")                             

   with open("argus.out.json", "r") as read_file:
       data = json.load(read_file)
   json_str = json.dumps(data, indent=2)
   
   print(json_str)