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.5.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for filetree-0.3.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d858294ec9754c4359682c8857faeb5a19d1fb0199b2e62682d09febf3b25e79 |
|
MD5 | 04c51f3d7d4965a0aca9fe6c74dff4a1 |
|
BLAKE2b-256 | 564a579a448dd82205acb605c74763a6b31e0bbebff08c78cd0ef7b0889e54d7 |