dkfileutils - file and directory utilities
==========================================
.. image:: https://readthedocs.org/projects/dkfileutils/badge/?version=latest
.. image:: https://codecov.io/gh/datakortet/dkfileutils/branch/master/graph/badge.svg
:target: https://codecov.io/gh/datakortet/dkfileutils
.. image:: https://scrutinizer-ci.com/g/datakortet/dkfileutils/badges/quality-score.png?b=master
:target: https://scrutinizer-ci.com/g/datakortet/dkfileutils/
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/datakortet/dkfileutils/",
"name": "dkfileutils",
"maintainer": "",
"docs_url": "https://pythonhosted.org/dkfileutils/",
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Bjorn Pettersen",
"author_email": "bp@datakortet.no",
"download_url": "https://files.pythonhosted.org/packages/be/ed/47a8a2c155b9bf3753c27f986e51fde856fa124d39cf821c93d49f402214/dkfileutils-1.4.7.tar.gz",
"platform": null,
"description": "\n\ndkfileutils - file and directory utilities\n==========================================\n\n.. image:: https://readthedocs.org/projects/dkfileutils/badge/?version=latest\n\n.. image:: https://codecov.io/gh/datakortet/dkfileutils/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/datakortet/dkfileutils\n\n.. image:: https://scrutinizer-ci.com/g/datakortet/dkfileutils/badges/quality-score.png?b=master\n :target: https://scrutinizer-ci.com/g/datakortet/dkfileutils/\n\nDocumentation: http://dkfileutils.readthedocs.io/\n\n\nContains the following modules\n------------------------------\nSee the documentation link (above) and module documentation for detailed docs.\n\nchanged\n~~~~~~~\nCode to check if directory contents have changed since last check.\n\nlistfiles\n~~~~~~~~~\nYield (digest, fname) tuples for all interesting files\nin `dirname`. The file names are relative to `curdir`\nunless otherwise specified.\n\npath\n~~~~\n\"Poor man's pathlib\". Object-oriented wrapper around `os.path` and\nfriends. Similar to the Python 3 `pathlib`, however paths are\n`str` subclasses and thus much easier to use in an environment\nwhere `os.path` calls are interspersed with object-oriented code.\n\nBrett Cannon strongly dislikes paths being `str` subclasses, see\nhttps://snarky.ca/why-pathlib-path-doesn-t-inherit-from-str/\nWhile I can agree with him in principle, this is clearly a case\nof \"practicality beats purity\". The official ``pathlib`` version\nof ``'/b/' in Path('/a/b/c')`` is rather baroque.\n\npfind\n~~~~~\nFind directory where a file is located by walking up parent directories.\n\nwhich\n~~~~~\nFunctions for finding executable files on the path.\n\n",
"bugtrack_url": null,
"license": "",
"summary": "dkfileutils - file and directory utilities",
"version": "1.4.7",
"project_urls": {
"Homepage": "https://github.com/datakortet/dkfileutils/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "32bfd10d798996f664ba47fcf662a63204b599fc0097ca0784cfa5654c306264",
"md5": "9bfaf70abbe3411993b9f64e5aae7e5f",
"sha256": "c86749c6a818c125fd913a4768644812e10105dd313dd6c4c3fd3de0196acfb2"
},
"downloads": -1,
"filename": "dkfileutils-1.4.7-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "9bfaf70abbe3411993b9f64e5aae7e5f",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 10930,
"upload_time": "2023-11-30T14:43:42",
"upload_time_iso_8601": "2023-11-30T14:43:42.575584Z",
"url": "https://files.pythonhosted.org/packages/32/bf/d10d798996f664ba47fcf662a63204b599fc0097ca0784cfa5654c306264/dkfileutils-1.4.7-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "beed47a8a2c155b9bf3753c27f986e51fde856fa124d39cf821c93d49f402214",
"md5": "1653be64f128d36a4d0bf0c7c7ce1c27",
"sha256": "9ebe1868469828dd4ee5d178eb195c6c29a72a24fe0dba8e9f0fc434ee44e33f"
},
"downloads": -1,
"filename": "dkfileutils-1.4.7.tar.gz",
"has_sig": false,
"md5_digest": "1653be64f128d36a4d0bf0c7c7ce1c27",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14101,
"upload_time": "2023-11-30T14:43:44",
"upload_time_iso_8601": "2023-11-30T14:43:44.055132Z",
"url": "https://files.pythonhosted.org/packages/be/ed/47a8a2c155b9bf3753c27f986e51fde856fa124d39cf821c93d49f402214/dkfileutils-1.4.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-30 14:43:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "datakortet",
"github_project": "dkfileutils",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"lcname": "dkfileutils"
}