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
"""
Metadata
Release files for pr-dir 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pr_dir-1.0.0.tar.gz | 2.7 kB | Without provenance | Details for pr_dir-1.0.0.tar.gz |
Release files / pr_dir-1.0.0.tar.gz
| Download URL | pr_dir-1.0.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41c99866c7ffd50b05e9f6b8078a4a4e833d5bd978627a25fa501a1c19961024
|
|
BLAKE2b-256 checksum How to use checksums |
f4a0d65c7b0a6f6743dcbafe13d1819cc5d6b9e24babee8fcae5c9f24a091f94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for pr-dir 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.