Skip to content

pyTree is a python class and library to display Tree (Tree View) from array, object, or JSON.

License

Notifications You must be signed in to change notification settings

BaseMax/PyTreeView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTree-View

PyTreeView is a python class and library to display Tree View from array, object, or JSON.

Can someone help me to publish this package in pypi? #1

Data structure

The following data types are currently supported:

  • Array, List
  • Dict
  • Value, String, ...

Output

├─ imports
│  ├─ 0
│  │  └─ 0
│  │     ├─ 0: net
│  │     └─ 1: socket
│  └─ 1
│     ├─ 0
│     │  └─ 0: sys
│     ├─ 1
│     │  └─ 0: json
│     └─ 2
│        └─ 0: xml
├─ statements: []
└─ module: main

Using PyTreeView

from PyTreeView import PyTreeView

result={'imports': [[['net', 'socket']], [['sys'], ['json'], ['xml']]], 'statements': [], 'module': 'main'}
PyTreeView().display(result)

Or

from PyTreeView import PyTreeView

result={'imports': [[['net', 'socket']], [['sys'], ['json'], ['xml']]], 'statements': [], 'module': 'main'}
data=PyTreeView().get(result)
print(data)

Max Base

My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. (Max Base)

Asrez Team

A team includes some programmer, developer, designer, researcher(s) especially Max Base.

Asrez Team

About

pyTree is a python class and library to display Tree (Tree View) from array, object, or JSON.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages