


import platform
from argparse import ArgumentParser

import huggingface_hub
import pandas
import pyarrow

from datasets import __version__ as version
from datasets.commands import BaseDatasetsCLICommand






def 		a__       (							A__							):
			return EnvironmentCommand()







class      __lowercase  (__SCREAMING_SNAKE_CASE   ):





							"""simple docstring"""







							@staticmethod
							def  UpperCamelCase__			(	lowerCAmelCase__    ):





										"""simple docstring"""




										SCREAMING_SNAKE_CASE_						:			Union[str, Any]       						= parser.add_parser('env'       ,		help='Print relevant system environment info.'    )
										download_parser.set_defaults(func=lowerCAmelCase__    )






							def  UpperCamelCase__			(	self    ):





										"""simple docstring"""




										SCREAMING_SNAKE_CASE_						:			Any       						= {
										    '`datasets` version': version,
										    'Platform': platform.platform(),
										    'Python version': platform.python_version(),
										    'Huggingface_hub version': huggingface_hub.__version__,
										    'PyArrow version': pyarrow.__version__,
										    'Pandas version': pandas.__version__,
										}

										print('\nCopy-and-paste the text below in your GitHub issue.\n'    )
										print(self.format_dict(lowerCAmelCase__    )    )

										return info






							@staticmethod
							def  UpperCamelCase__			(	lowerCAmelCase__    ):





										"""simple docstring"""




										return "\n".join([F'''- {prop}: {val}''' for prop, val in d.items()]    ) + "\n"









from __future__ import annotations






def 		a__       (							A__							):
			if len(A__							) == 0:
						raise ValueError('find_max() arg is an empty sequence'							)
			SCREAMING_SNAKE_CASE_						:			str       						= nums[0]
			for x in nums:
						if x > max_num:
									SCREAMING_SNAKE_CASE_						:			Optional[int]       						= x
			return max_num


if __name__ == "__main__":
				import doctest

				doctest.testmod(verbose=True)





