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 https://readthedocs.org/projects/dkfileutils/badge/?version=latest https://codecov.io/gh/datakortet/dkfileutils/branch/master/graph/badge.svg https://scrutinizer-ci.com/g/datakortet/dkfileutils/badges/quality-score.png?b=master

Documentation: http://dkfileutils.readthedocs.io/

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.

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.1.tar.gz (8.6 kB view hashes)

Uploaded Source

Built Distribution

dkfileutils-1.4.1-py2.py3-none-any.whl (12.4 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