
import math


def 							__A(lowerCAmelCase )		->				bool:

		"""simple docstring"""






		assert isinstance(lowerCAmelCase						,  lowerCAmelCase ) and (
		    number >= 0
		), "'number' must been an int and positive"

		if 1 < number < 4:
				# 2 and 3 are primes
				return True
		elif number < 2 or not number % 2:
				# Negatives, 0, 1 and all even numbers are not primes
				return False

		_UpperCamelCase						    =	range(3						,  int(math.sqrt(lowerCAmelCase ) + 1 )						,  2 )
		return not any(not number % i for i in odd_numbers )







def 							__A(lowerCAmelCase						,  lowerCAmelCase=1						,  **lowerCAmelCase )		->				List[Any]:

		"""simple docstring"""






		_UpperCamelCase						    =	factor * value
		_UpperCamelCase						    =	value

		while not is_prime(lowerCAmelCase ):
				value += 1 if not ("desc" in kwargs and kwargs["desc"] is True) else -1

		if value == first_value_val:
				return next_prime(value + 1						,  **lowerCAmelCase )
		return value





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

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



