polymerist.genutils.textual.encoding ==================================== .. py:module:: polymerist.genutils.textual.encoding .. autoapi-nested-parse:: Encoding, hashing, and conversion of string to and from various formats Attributes ---------- .. autoapisummary:: polymerist.genutils.textual.encoding.hash_as_alphanum polymerist.genutils.textual.encoding.INT_REGEX Functions --------- .. autoapisummary:: polymerist.genutils.textual.encoding.hash_as_alphanumeric polymerist.genutils.textual.encoding.representable_as_int Module Contents --------------- .. py:function:: hash_as_alphanumeric(string: str, hash_algorithm: str = 'md5', str_encoding: str = 'utf-8', strip_b64_padding: bool = True) -> str Map string to hash text which contains only alphanumeric + dash characters .. py:data:: hash_as_alphanum .. py:data:: INT_REGEX .. py:function:: representable_as_int(string: str) -> bool Check if a string corresponds to (i.e. can be represented as) a well-defined Python int