from time import sleep
from tptools import Instance
import os
from helper import get_

x = Instance("192.168.0.1", "admin", "admin")

resolve = x.ipresolver()

x.resetStat()

# run inifnitely
while True:
	os.system('cls')
	# splits the data until only the required ones remain
	r = x.stat()
	for item in r:
		print(item["mac"] + " " + resolve[item["ip"]] + " " + get_(int(item["bytes_curr"]))+"ps")
	# delay
	sleep(1)
15b50a67812301e355ca3c21e00c4678e508fb5a
<mask token>

<mask token>
x.resetStat()
while True:
    os.system('cls')
    r = x.stat()
    for item in r:
        print(item['mac'] + ' ' + resolve[item['ip']] + ' ' + get_(int(item
            ['bytes_curr'])) + 'ps')
    sleep(1)

<mask token>
x = Instance('192.168.0.1', 'admin', 'admin')
resolve = x.ipresolver()
x.resetStat()
while True:
    os.system('cls')
    r = x.stat()
    for item in r:
        print(item['mac'] + ' ' + resolve[item['ip']] + ' ' + get_(int(item
            ['bytes_curr'])) + 'ps')
    sleep(1)

from time import sleep
from tptools import Instance
import os
from helper import get_
x = Instance('192.168.0.1', 'admin', 'admin')
resolve = x.ipresolver()
x.resetStat()
while True:
    os.system('cls')
    r = x.stat()
    for item in r:
        print(item['mac'] + ' ' + resolve[item['ip']] + ' ' + get_(int(item
            ['bytes_curr'])) + 'ps')
    sleep(1)

from time import sleep
from tptools import Instance
import os
from helper import get_

x = Instance("192.168.0.1", "admin", "admin")

resolve = x.ipresolver()

x.resetStat()

# run inifnitely
while True:
	os.system('cls')
	# splits the data until only the required ones remain
	r = x.stat()
	for item in r:
		print(item["mac"] + " " + resolve[item["ip"]] + " " + get_(int(item["bytes_curr"]))+"ps")
	# delay
	sleep(1)