pip install dotpytree>>> dotpytree testFile
π testFile
π test00.py
βββ π¦ def set_interface
βββ π¦ def htonl
βββ π¦ def htons
βββ π¦ def getaddrinfo
βββ π¦ def gethostbyname
βββ π¦ def is_ipv4
βββ βΎοΈ class socket
β βββ π¦ def __init__
β βββ π¦ def __enter__
β βββ π¦ def __exit__
β βββ π¦ def socknum
β βββ π¦ def status
β βββ π¦ def connected
β βββ π¦ def getpeername
β βββ π¦ def inet_aton
β βββ π¦ def bind
β βββ π¦ def listen
β βββ π¦ def accept
β βββ π¦ async def async_recv
β βββ π¦ async def async_accept
β βββ π¦ def connect
β βββ π¦ def send
β βββ π¦ def sendto
β βββ π¦ def recv
β βββ π¦ def recvfrom
β βββ π¦ def recv_into
β βββ π¦ def recvfrom_into
β βββ π¦ def readline
β βββ π¦ def disconnect
β βββ π¦ def close
β βββ π¦ def available
β βββ π¦ def settimeout
β βββ π¦ def gettimeout
π test01.py
βββ π¦ async def async_hello_world
βββ βΎοΈ class AsyncHelloWorld
β βββ π¦ def __init__
β βββ π¦ async def greet
βββ π¦ def sync_hello_world
βββ βΎοΈ class SyncHelloWorld
β βββ π¦ def __init__
β βββ π¦ def greetdotpytree -h
usage: dotpytree [-h] [--no-emoji] [--show-args] target
Print Python file/class/function tree.
positional arguments:
target Python file or folder to analyze
options:
-h, --help show this help message and exit
--no-emoji Disable emoji output
--show-args Show function arguments