

"""simple docstring"""





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 							_lowerCAmelCase   (    UpperCAmelCase  :				List[str]					):


					'''simple docstring'''






					return EnvironmentCommand()







class      __a (   snake_case__     ):

			"""simple docstring"""

			@staticmethod
			def  _lowerCAmelCase      (				lowercase_  :       ArgumentParser    ):
								UpperCamelCase__		:     Any								=parser.add_parser('''env'''    ,	help='''Print relevant system environment info.'''    )
								download_parser.set_defaults(func=lowercase_    )






			def  _lowerCAmelCase      (				self  :       List[Any]    ):
								UpperCamelCase__		:     int								={
								    '''`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(lowercase_    )    )

								return info






			@staticmethod
			def  _lowerCAmelCase      (				lowercase_  :       List[str]    ):
								return "\n".join([f'''- {prop}: {val}''' for prop, val in d.items()]    ) + "\n"





"""simple docstring"""





from __future__ import annotations



def 							_lowerCAmelCase   (    UpperCAmelCase  :				list[int]   ,				UpperCAmelCase  :				int					):


					'''simple docstring'''






					UpperCamelCase__		:     dict[int, int]								={}
					for index, val in enumerate(UpperCAmelCase					):
										UpperCamelCase__		:     List[Any]								=target - val
										if compl in chk_map:
															return [chk_map[compl], index]
										UpperCamelCase__		:     Any								=index
					return []


if __name__ == "__main__":
				import doctest

				doctest.testmod()
				print(F'''{two_sum([2, 7, 1_1, 1_5], 9) = }''')


