Skip to content

rabin-HE/dotpytree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

install

pip install dotpytree

usage

>>> 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 greet

help

dotpytree -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

About

Like the Linux tree command, print the structure of .py files in the directory.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages