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
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.2.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file filetree-0.3.2.tar.gz
.
File metadata
- Download URL: filetree-0.3.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33b7cd99c2aed3732556294aaab9a3bfc1bb25668935660db609a72b872f183f |
|
MD5 | e446ceb7537afafb276dcf9e4bce2e55 |
|
BLAKE2b-256 | 970ed5c1314de44e04b2f90471d82106c0c247f995a902901a14bebaf73381e8 |
File details
Details for the file filetree-0.3.2-py2.py3-none-any.whl
.
File metadata
- Download URL: filetree-0.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3341a31bed3dabea51dc1262b2fe74cb92c4e247e97cf7af4f05efb0acefb7d |
|
MD5 | 1c2e9821a59d13e07ac6b692ecfa3676 |
|
BLAKE2b-256 | 3138ee054cf595b602c800301aacc4cebfc79c4dd9c4abd9c3ac37b41c918f32 |