anyconfig.ioinfo.utils

Utility funtions for anyconfig.ionfo.

anyconfig.ioinfo.utils.get_encoding()

Get the (prefered) encoding or ‘utf-8’.

Return type:

str

anyconfig.ioinfo.utils.get_path_and_ext(path)

Normaliez path objects and retunr it with file extension.

Return type:

tuple[Path, str]

anyconfig.ioinfo.utils.expand_from_path(path, marker='*')

Expand path contains ‘*’ in its path str.

Return type:

Iterator[Path]