Skip to main content

dkfileutils - file and directory utilities

Project description


Contains the following modules

See the documentation link (above) and module documentation for detailed docs.


Code to check if directory contents have changed since last check.


Yield (digest, fname) tuples for all interesting files in dirname. The file names are relative to curdir unless otherwise specified.


“Poor man’s pathlib”. Object-oriented wrapper around os.path and friends. Similar to the Python 3 pathlib, however paths are str subclasses and thus much easier to use in an environment where os.path calls are interspersed with object-oriented code.

Brett Cannon strongly dislikes paths being str subclasses, see While I can agree with him in principle, this is clearly a case of “practicality beats purity”. The official pathlib version of '/b/' in Path('/a/b/c') is rather baroque.


Find directory where a file is located by walking up parent directories.


Functions for finding executable files on the path.

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

dkfileutils-1.4.7.tar.gz (14.1 kB view hashes)

Uploaded Source

Built Distribution

dkfileutils-1.4.7-py2.py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page