Visual treeview utility
Project description
Improved version of the Linux tree utility.
Includes features useful for big data analysis and documentation.
Written for Python 3.12.3, works on Python 3.10 and above. It is expected to work on Python 3.2 and above.
Features
- Tree structure output
- Size: human-readable
- File count
- File list limit
- Pretty diretory emoji ๐
Installation
$ pip install gimi9_tree_view
Usage
Print help
$ treeview -h
usage: treeview [-h] [-d] [-L LEVEL] [-n MAX_FILES] [-f] directory
List directory contents.
positional arguments:
directory Directory to read
options:
-h, --help show this help message and exit
-d List directories only
-L LEVEL, --level LEVEL
Descend only level directories deep
-n MAX_FILES, --max-files MAX_FILES
Print only N files in each directory
-f, --files-first Print files before directories
github: https://github.com/gisman/tree-view
Default
$ treeview 3d_car_instance_sample
๐ 3d_car_instance_sample [2GB]
โโโ ๐ camera [340B 2๊ฐ์ ํ์ผ]
โ โโโ ๐ 5.cam [169B]
โ โโโ ๐ 6.cam [171B]
โโโ ๐ car_models [25MB 79๊ฐ์ ํ์ผ]
โ โโโ ๐ 019-SUV.pkl [338KB]
โ โโโ ๐ 036-CAR01.pkl [329KB]
โ โโโ ๐ 037-CAR02.pkl [354KB]
โ โโโ ๐ MG-GT-2015.pkl [313KB]
โโโ ๐ car_poses [1MB 1,003๊ฐ์ ํ์ผ]
โ โโโ ๐ 180116_053947113_Camera_5.json [1KB]
โ โโโ ๐ 180116_053947909_Camera_5.json [2KB]
โ โโโ ๐ 180116_053948523_Camera_5.json [2KB]
โ โโโ ๐ 180116_053949115_Camera_5.json [1KB]
โโโ ๐ images [2GB 1,003๊ฐ์ ํ์ผ]
โ โโโ ๐ 180116_053947113_Camera_5.jpg [2MB]
โ โโโ ๐ 180116_053947909_Camera_5.jpg [2MB]
โ โโโ ๐ 180116_053948523_Camera_5.jpg [2MB]
โ โโโ ๐ 180116_053949115_Camera_5.jpg [2MB]
โโโ ๐ split [29KB 2๊ฐ์ ํ์ผ]
โโโ ๐ train.txt [21KB]
โโโ ๐ val.txt [8KB]
List directories only
$ treeview -d 3d_car_instance_sample
๐ 3d_car_instance_sample [2GB]
โโโ ๐ camera [340B 2๊ฐ์ ํ์ผ]
โโโ ๐ car_models [25MB 79๊ฐ์ ํ์ผ]
โโโ ๐ car_poses [1MB 1,003๊ฐ์ ํ์ผ]
โโโ ๐ images [2GB 1,003๊ฐ์ ํ์ผ]
โโโ ๐ split [29KB 2๊ฐ์ ํ์ผ]
Depth limit
$ treeview -d -L 1 train
๐ train [9GB 1๊ฐ์ ํ์ผ]
โโโ ๐ camera [66B 1๊ฐ์ ํ์ผ]
โโโ ๐ car_poses [12MB 4,283๊ฐ์ ํ์ผ]
โโโ ๐ ignore_mask [614MB 4,283๊ฐ์ ํ์ผ]
โโโ ๐ images [8GB 4,283๊ฐ์ ํ์ผ]
โโโ ๐ keypoints [17MB]
โโโ ๐ split [130KB 2๊ฐ์ ํ์ผ]
File List limit
$ treeview -n 1 3d_car_instance_sample
๐ 3d_car_instance_sample [2GB]
โโโ ๐ camera [340B 2๊ฐ์ ํ์ผ]
โ โโโ ๐ 5.cam [169B]
โโโ ๐ car_models [25MB 79๊ฐ์ ํ์ผ]
โ โโโ ๐ 019-SUV.pkl [338KB]
โโโ ๐ car_poses [1MB 1,003๊ฐ์ ํ์ผ]
โ โโโ ๐ 180116_053947113_Camera_5.json [1KB]
โโโ ๐ images [2GB 1,003๊ฐ์ ํ์ผ]
โ โโโ ๐ 180116_053947113_Camera_5.jpg [2MB]
โโโ ๐ split [29KB 2๊ฐ์ ํ์ผ]
โโโ ๐ train.txt [21KB]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gimi9_tree_view-0.5.4.tar.gz.
File metadata
- Download URL: gimi9_tree_view-0.5.4.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14eb88dc634c0ef1aa749c02ac6e2a8ba495ac692b820628ad19d880fce76339
|
|
| MD5 |
1d98c798a2e693ca5dcb1c6a9cf6f6fd
|
|
| BLAKE2b-256 |
d6a2117a74352a118ce13a3add950a05feb5e6e90f1292a7dcc7116815e8df20
|
File details
Details for the file gimi9_tree_view-0.5.4-py3-none-any.whl.
File metadata
- Download URL: gimi9_tree_view-0.5.4-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbdf208f03718fe263ec10b478dac11fea818360998cc6cde7525618eeb09743
|
|
| MD5 |
d625ab88969cc842519c642cd0445e90
|
|
| BLAKE2b-256 |
da709680ed1fc96dcf5af6900b196037eceefff3fe0f93e8c01883cc8f6cad36
|