Skip to main content

dkfileutils - short description

Project description

https://travis-ci.org/datakortet/dkfileutils.svg?branch=master https://coveralls.io/repos/datakortet/dkfileutils/badge.svg?branch=master&service=github

Documentation: http://pythonhosted.org/dkfileutils/

Contains the following modules

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

changed

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

listfiles

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

path

“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.

pfind

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

which

Functions for finding executable files on the path.

Installing from PyPI

This is what you want if you just want to use dkfileutils:

pip install dkfileutils

As a source package

This is what you want if you are developing dkfileutils or want to make local changes to the source code.

pip install -e <path>

See docs/ folder for documentation.

Supported by

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