dkfileutils - file and directory utilities
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)
| File | Size | Uploaded | |
|---|---|---|---|
| dkfileutils-1.4.7.tar.gz | 14.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|