Skip to main content

dkfileutils - file and directory utilities

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.

Brett Cannon strongly dislikes paths being str subclasses, see https://snarky.ca/why-pathlib-path-doesn-t-inherit-from-str/ 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.

pfind

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

which

Functions for finding executable files on the path.

Metadata

Release files for dkfileutils 1.4.7

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

Source distribution (sdist)

Source distribution for dkfileutils 1.4.7
File Size Uploaded
dkfileutils-1.4.7.tar.gz 14.1 kB Details

Built distribution (wheel)

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

Total release size: 25.0 kB

Release files / dkfileutils-1.4.7.tar.gz

Download URL dkfileutils-1.4.7.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9ebe1868469828dd4ee5d178eb195c6c29a72a24fe0dba8e9f0fc434ee44e33f
BLAKE2b-256 checksum
How to use checksums
beed47a8a2c155b9bf3753c27f986e51fde856fa124d39cf821c93d49f402214
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Release files / dkfileutils-1.4.7-py2.py3-none-any.whl

Download URL dkfileutils-1.4.7-py2.py3-none-any.whl
Size 10.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c86749c6a818c125fd913a4768644812e10105dd313dd6c4c3fd3de0196acfb2
BLAKE2b-256 checksum
How to use checksums
32bfd10d798996f664ba47fcf662a63204b599fc0097ca0784cfa5654c306264
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Release history Release notifications | RSS feed

This release

1.4.7 This release

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

1 release file

1.0.5

1 release file

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

1 release file

0.1.0

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