Go to the source code of this file.
|
| | drop_zeros (v, replace="") |
| |
| | ellipsize (text, limit, ellipsis="..") |
| |
| | ensure_namespace (val, defaults=None, dashify=("WRITE_OPTIONS",), **kwargs) |
| |
| | filter_dict (dct, keys=(), values=(), reverse=False) |
| |
| | find_files (names=(), paths=(), suffixes=(), skip_suffixes=(), recurse=False) |
| |
| | format_bytes (size, precision=2, inter=" ", strip=True) |
| |
| | format_stamp (stamp) |
| |
| | format_timedelta (delta) |
| |
| | get_name (obj) |
| |
| | has_arg (func, name) |
| |
| | import_item (name) |
| |
| | is_iterable (value) |
| |
| | is_stream (value) |
| |
| | makedirs (path) |
| |
| | memoize (func) |
| |
| | merge_dicts (d1, d2) |
| |
| | merge_spans (spans, join_blanks=False) |
| |
| | parse_datetime (text) |
| |
| | parse_number (value, suffixes=None) |
| |
| | path_to_regex (text, sep=".", wildcard="*", end=False, intify=False) |
| |
| | plural (word, items=None, numbers=True, single="1", sep=",", pref="", suf="") |
| |
| | structcopy (value) |
| |
| | unique_path (pathname, empty_ok=False) |
| |
| | verify_io (f, mode) |
| |
| | wildcard_to_regex (text, end=False) |
| |
|
| tuple | PATH_TYPES = (six.binary_type, six.text_type) |
| | Python types for filesystem paths.
|
| |
| tuple | STRING_TYPES = (six.binary_type, six.text_type) |
| | Python types for both byte strings and text strings.
|
| |
| tuple | TEXT_TYPES = (six.binary_type, six.text_type) if six.PY2 else (six.text_type, ) |
| | Python types for text strings.
|
| |