pathtree
Installation
pip install pathtree
Example
- Use in Shell
Run command find pathtree | python pathtree will print this:
pathtree
├── pathtree.py
├── __main__.py
├── __pycache__
│ ├── pathtree.cpython-36.pyc
│ └── __main__.cpython-36.pyc
└── __init__.py
- Use Programmatically
from pathtree import Tree
# Init
tree = Tree()
# Add path
tree.add_path(<path>)
# Print tree
print(tree.dump())
License
The MIT License.
Metadata
Release files for pathtree 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pathtree-0.1.3.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pathtree-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.2 kB
Release files / pathtree-0.1.3.tar.gz
| Download URL | pathtree-0.1.3.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
890ea8b48f36d689acf17fc4fe7931657e3e24429ac122d9e3172a12b4d43840
|
|
BLAKE2b-256 checksum How to use checksums |
3f39ae40dab9175a689e266bed2d9fd74c518746d366cdf94e66b690632f44ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pathtree-0.1.3-py3-none-any.whl
| Download URL | pathtree-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aec5d97bad8c44fa81083aa99cdefe6bf556f8086efabc250fc133ed57ab4c54
|
|
BLAKE2b-256 checksum How to use checksums |
de533a9a0f27cb2e1008597767fb0a6ff69e3fa24d558a9c48b77b479c8794a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |