File: aioscanner.py

package info (click to toggle)
python-discovery30303 0.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 336 kB
  • sloc: python: 218; makefile: 15; javascript: 8
file content (15 lines) | stat: -rw-r--r-- 250 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import asyncio
import logging
import pprint

from discovery30303 import AIODiscovery30303

logging.basicConfig(level=logging.DEBUG)


async def go():
    scanner = AIODiscovery30303()
    pprint.pprint(await scanner.async_scan())


asyncio.run(go())