An open API service indexing awesome lists of open source software.

https://github.com/weaming/filetree

:evergreen_tree: Easy file tree
https://github.com/weaming/filetree

Last synced: 12 months ago
JSON representation

:evergreen_tree: Easy file tree

Awesome Lists containing this project

README

          

Easier file tree for human.
===========================

Examples::

>>> from filetree import File
>>> f = File('.')
>>> f.files
[, , , , ]
>>> f.dirs
[, , , , ]
>>> f.images
[, ]

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