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 details)
Built Distribution
File details
Details for the file filetree-0.3.5.tar.gz
.
File metadata
- Download URL: filetree-0.3.5.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 610f0c8f659f00c86f857f5bc84b76a2aaa7e62e0cd2fa31329f95a95d2a5daf |
|
MD5 | ffb65b13505e1e4f88926240fced271c |
|
BLAKE2b-256 | 80d1399ef8c7bdce09b17110a9b5462e79f29d58268960d4f5623cd672e12b6a |
File details
Details for the file filetree-0.3.5-py2.py3-none-any.whl
.
File metadata
- Download URL: filetree-0.3.5-py2.py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d858294ec9754c4359682c8857faeb5a19d1fb0199b2e62682d09febf3b25e79 |
|
MD5 | 04c51f3d7d4965a0aca9fe6c74dff4a1 |
|
BLAKE2b-256 | 564a579a448dd82205acb605c74763a6b31e0bbebff08c78cd0ef7b0889e54d7 |