


'''simple docstring'''


from __future__ import annotations






def  __lowerCAmelCase (__lowerCAmelCase   ):
		return [ord(__lowerCAmelCase   ) - 96 for elem in plain]






def  __lowerCAmelCase (__lowerCAmelCase   ):
		return "".join(chr(elem + 96   ) for elem in encoded   )






def  __lowerCAmelCase ():
		_UpperCAmelCase		:       int								=      encode(input("-> "   ).strip().lower()   )
		print("Encoded: "      , __lowerCAmelCase   )
		print("Decoded:"      , decode(__lowerCAmelCase   )   )


if __name__ == "__main__":
						main()







'''simple docstring'''


from typing import Optional
from urllib.parse import quote

import huggingface_hub as hfh
from packaging import version






def  __lowerCAmelCase (__lowerCAmelCase      , __lowerCAmelCase      , __lowerCAmelCase = None   ):
		if version.parse(hfh.__version__   ).release < version.parse("0.11.0"   ).release:
				# old versions of hfh don't url-encode the file path
				_UpperCAmelCase		:       str								=      quote(__lowerCAmelCase   )
		return hfh.hf_hub_url(__lowerCAmelCase      , __lowerCAmelCase      , repo_type="dataset"      , revision=__lowerCAmelCase   )



