dkfileutils - short description
Project description
.. image:: https://travis-ci.org/datakortet/dkfileutils.svg?branch=master
:target: https://travis-ci.org/datakortet/dkfileutils
.. image:: https://coveralls.io/repos/datakortet/dkfileutils/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/datakortet/dkfileutils?branch=master
dkfileutils -- file and directory utilities
==================================================
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 :func:`os.path` and
friends. Similar to the Python 3 :mod:`pathlib`, however paths are
:type:`str` subclasses and thus much easier to use in an environment
where :func:`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.
:target: https://travis-ci.org/datakortet/dkfileutils
.. image:: https://coveralls.io/repos/datakortet/dkfileutils/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/datakortet/dkfileutils?branch=master
dkfileutils -- file and directory utilities
==================================================
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 :func:`os.path` and
friends. Similar to the Python 3 :mod:`pathlib`, however paths are
:type:`str` subclasses and thus much easier to use in an environment
where :func:`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
Release history Release notifications | RSS feed
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.1.2.zip
(11.8 kB
view hashes)
Built Distribution
Close
Hashes for dkfileutils-1.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f58cfb7129bac1d6c4d9a725fe6c70c21c08ddec707dd0d4098e2e64d7664c9 |
|
MD5 | 3065ab0dac28fe3d5060a4edc55d5fd6 |
|
BLAKE2b-256 | 12b79607159cc9e218ecf56cd52ab5bb9c713b38b602eac772f172a4ea8d5bce |