"""simple docstring"""







def 			lowercase__(       __SCREAMING_SNAKE_CASE							:     str      ):
     lowercase_	:				str													=	hex_num.strip()
     if not hex_num:
          raise ValueError('No value was passed to the function'      )

     lowercase_	:				Union[str, Any]													=	hex_num[0] == '-'
     if is_negative:
          lowercase_	:				Dict													=	hex_num[1:]

     try:
          lowercase_	:				Any													=	int(__SCREAMING_SNAKE_CASE     ,			16      )
     except ValueError:
          raise ValueError('Invalid value was passed to the function'      )

     lowercase_	:				Optional[int]													=	''
     while int_num > 0:
          lowercase_	:				List[Any]													=	str(int_num % 2      ) + bin_str
          int_num >>= 1

     return int(('-' + bin_str) if is_negative else bin_str      )


if __name__ == "__main__":
       import doctest

       doctest.testmod()


"""simple docstring"""







__SCREAMING_SNAKE_CASE    	=[
    "DownloadConfig",
    "DownloadManager",
    "DownloadMode",
    "StreamingDownloadManager",
]

from .download_config import DownloadConfig
from .download_manager import DownloadManager, DownloadMode
from .streaming_download_manager import StreamingDownloadManager

