rez.utils.base26#

rez.utils.base26.get_next_base26(prev=None)#

Increment letter-based IDs.

Generates IDs like [‘a’, ‘b’, …, ‘z’, ‘aa’, ab’, …, ‘az’, ‘ba’, …]

Returns:

Next base-26 ID.

Return type:

str

Create a base-26 symlink in path pointing to source.

If such a symlink already exists, it is returned. Note that there is a small chance that this function may create a new symlink when there is already one pointed at source.

Assumes path only contains base26 symlinks.

Returns:

Path to created symlink.

Return type:

str