Easier file tree.
Project description
Examples:
>>> from filetree import File >>> f = File('.') >>> f.files [<file: .gitignore>, <file: LICENSE>, <file: Makefile>, <file: README.rst>, <file: setup.py>] >>> f.dirs [<dir: .git>, <dir: build>, <dir: dist>, <dir: docs>, <dir: filetree>] >>> f.images [<file: python-logo.png>, <file: favicon.jpg>]
API:
__call__ __iter__ __eq__ files dirs images listdir exists type is_blank is_dir is_file is_hidden info atime ctime mtime move_to remove remove_blank_dirs remove_blank_subdir size walk
Hisotry
0.3.4
add parent path function;
0.3.3
support python in operator.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
filetree-0.3.4.tar.gz
(5.0 kB
view details)
Built Distribution
File details
Details for the file filetree-0.3.4.tar.gz
.
File metadata
- Download URL: filetree-0.3.4.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68d8d30e97720b2b32dc8de6378504bc1c9f6a92f15dee77c60036d5e0c538d5 |
|
MD5 | 1780dfbda22610fba7523317336757f8 |
|
BLAKE2b-256 | 9110d19c40f1ba1f4920401dd859e82440cc1f8a9a086f724040a23cab8cea59 |
File details
Details for the file filetree-0.3.4-py2.py3-none-any.whl
.
File metadata
- Download URL: filetree-0.3.4-py2.py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fbfb016ac641bed023a8f07798172fa41ee234d3df8e0a0c49442e08dd41202 |
|
MD5 | 817f8a42bf621ea6876d4ea125e53ede |
|
BLAKE2b-256 | 57319797dfb6409dfcb99279bafaf61cca2b032a6c1c3ea99ca98843bf3d2906 |