Easier file tree.
Project description
Easier file tree for human.
===========================
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
0.3.3
=====
support python `in` operator.
===========================
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
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.3.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for filetree-0.3.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 848945b2ac117eac08ca6f3451e34a882314a6b725fa336d74a5aa5d023a066a |
|
MD5 | da0ce9f3a6527f34e78af300a08be709 |
|
BLAKE2b-256 | 15063315bd4e2d722c523dad3e084d019a7c0f24273e5fd6f226b3902ff342b8 |