
"""simple docstring"""




from __future__ import annotations



def 							_lowerCamelCase			(			__a,				__a     ):
		if partitions <= 0:
				raise ValueError('''partitions must be a positive number!'''     )
		if partitions > number_of_bytes:
				raise ValueError('''partitions can not > number_of_bytes!'''     )
		SCREAMING_SNAKE_CASE_    			=			number_of_bytes // partitions
		SCREAMING_SNAKE_CASE_    			=			[]
		for i in range(__a     ):
				SCREAMING_SNAKE_CASE_    			=			i * bytes_per_partition + 1
				SCREAMING_SNAKE_CASE_    			=			(
				    number_of_bytes if i == partitions - 1 else (i + 1) * bytes_per_partition
				)
				allocation_list.append(F'{start_bytes}-{end_bytes}'     )
		return allocation_list


if __name__ == "__main__":
						import doctest

						doctest.testmod()

"""simple docstring"""




from ..utils import DummyObject, requires_backends





class 			snake_case  (				metaclass=__lowercase ):
							UpperCAmelCase__      =   ['''note_seq''']

							def __init__(self							,							*SCREAMING_SNAKE_CASE_							,							**SCREAMING_SNAKE_CASE_     ):

									"""simple docstring"""







									requires_backends(self							,							['''note_seq''']     )

							@classmethod
							def _lowercase       (cls							,							*SCREAMING_SNAKE_CASE_							,							**SCREAMING_SNAKE_CASE_     ):

									"""simple docstring"""







									requires_backends(cls							,							['''note_seq''']     )







							@classmethod
							def _lowercase       (cls							,							*SCREAMING_SNAKE_CASE_							,							**SCREAMING_SNAKE_CASE_     ):

									"""simple docstring"""







									requires_backends(cls							,							['''note_seq''']     )