Directory`s files console-visualizer
Project description
Print_dir - it`s a directory-visualizer python-package
How to install
pip install print_dir
Guide
from print_dir.visualizer import Visualizer
# You can start work with files from where you would
my_dir = my_dir = Visualizer(directory) # directory – path to start visualizer
# You can see content of directory
my_dir.dir()
# You can change directory
my_dir.cd(to) # to – path to new folder
# Via cd-method you can move back
my_dir.cd('..') # if to == '..' directory changes to parent
Example of usage
from print_dir.visualizer import Visualizer
my_dir = Visualizer('/files/directory/')
my_dir.dir() # OUTPUT:
"""
рџ“Ѓ directory
|_ рџ“Ѓ print_dir
|_ рџ“Ѓ tests
|_ рџ“Ѓ venv
|_ рџ“ѓ .gitignore
|_ рџ“ѓ README.md
|_ рџ“ѓ setup.py
"""
my_dir.cd('tests')
my_dir.dir() # OUTPUT:
"""
рџ“Ѓ tests
|_ рџ“ѓ test_Visualizer.py
|_ рџ“ѓ __init__.py
"""
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
pr_dir-1.0.0.tar.gz
(2.7 kB
view details)
File details
Details for the file pr_dir-1.0.0.tar.gz.
File metadata
- Download URL: pr_dir-1.0.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41c99866c7ffd50b05e9f6b8078a4a4e833d5bd978627a25fa501a1c19961024
|
|
| MD5 |
1c3355147becdbef101ce90604a2f550
|
|
| BLAKE2b-256 |
f4a0d65c7b0a6f6743dcbafe13d1819cc5d6b9e24babee8fcae5c9f24a091f94
|