bw2data.filesystem#

Attributes#

Functions#

check_dir(directory)

Returns True if given path is a directory and writeable, False otherwise.

create_dir(dirpath)

Create directory tree to dirpath; ignore if already exists

md5(filepath[, blocksize])

Generate MD5 hash for file at filepath

Module Contents#

bw2data.filesystem.check_dir(directory)[source]#

Returns True if given path is a directory and writeable, False otherwise.

bw2data.filesystem.create_dir(dirpath)[source]#

Create directory tree to dirpath; ignore if already exists

bw2data.filesystem.md5(filepath, blocksize=65536)[source]#

Generate MD5 hash for file at filepath

bw2data.filesystem.re_slugify[source]#