Skip to main content

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

Hisotry

0.3.4

add parent path function;

0.3.3

support python in operator.

Metadata

Release files for filetree 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for filetree 0.3.5
File Size Uploaded Provenance
filetree-0.3.5.tar.gz 5.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for filetree 0.3.5
File Interpreter ABI Platform
filetree-0.3.5-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 10.7 kB

Release files / filetree-0.3.5.tar.gz

Download URL filetree-0.3.5.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
610f0c8f659f00c86f857f5bc84b76a2aaa7e62e0cd2fa31329f95a95d2a5daf
BLAKE2b-256 checksum
How to use checksums
80d1399ef8c7bdce09b17110a9b5462e79f29d58268960d4f5623cd672e12b6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / filetree-0.3.5-py2.py3-none-any.whl

Download URL filetree-0.3.5-py2.py3-none-any.whl
Size 5.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d858294ec9754c4359682c8857faeb5a19d1fb0199b2e62682d09febf3b25e79
BLAKE2b-256 checksum
How to use checksums
564a579a448dd82205acb605c74763a6b31e0bbebff08c78cd0ef7b0889e54d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for filetree 0.3.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page