rez.utils.base26

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

rez.utils.base26.get_next_base26(prev=None)[source]

Increment letter-based IDs.

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

Returns

Next base-26 ID.

Return type

str