"""simple docstring"""




from argparse import ArgumentParser

from datasets.commands.convert import ConvertCommand
from datasets.commands.dummy_data import DummyDataCommand
from datasets.commands.env import EnvironmentCommand
from datasets.commands.run_beam import RunBeamCommand
from datasets.commands.test import TestCommand
from datasets.utils.logging import set_verbosity_info







def 				_UpperCAmelCase		(							lowerCamelCase__  ):





		"""simple docstring"""




		return {key.lstrip("""-"""  ): value for key, value in zip(unknown_args[::2]      ,	unknown_args[1::2]  )}







def 				_UpperCAmelCase		(							):





		"""simple docstring"""




		lowerCAmelCase__   = ArgumentParser(
		    """HuggingFace Datasets CLI tool"""      ,	usage="""datasets-cli <command> [<args>]"""      ,	allow_abbrev=lowerCamelCase__  )
		lowerCAmelCase__   = parser.add_subparsers(help="""datasets-cli command helpers"""  )
		set_verbosity_info()

		# Register commands
		ConvertCommand.register_subcommand(lowerCamelCase__  )
		EnvironmentCommand.register_subcommand(lowerCamelCase__  )
		TestCommand.register_subcommand(lowerCamelCase__  )
		RunBeamCommand.register_subcommand(lowerCamelCase__  )
		DummyDataCommand.register_subcommand(lowerCamelCase__  )

		# Parse args
		lowerCAmelCase__ ,       lowerCAmelCase__   = parser.parse_known_args()
		if not hasattr(lowerCamelCase__      ,	"""func"""  ):
				parser.print_help()
				exit(1  )
		lowerCAmelCase__   = parse_unknown_args(lowerCamelCase__  )

		# Run
		lowerCAmelCase__   = args.func(lowerCamelCase__      ,	**lowerCamelCase__  )
		service.run()


if __name__ == "__main__":
			main()





"""simple docstring"""




import math
from datetime import datetime, timedelta







def 				_UpperCAmelCase		(							lowerCamelCase__  ):





		"""simple docstring"""




		lowerCAmelCase__   = year % 19
		lowerCAmelCase__   = year % 4
		lowerCAmelCase__   = year % 7
		lowerCAmelCase__   = math.floor(year / 100  )
		lowerCAmelCase__   = math.floor((13 + 8 * leap_day_inhibits) / 25  )
		lowerCAmelCase__   = leap_day_inhibits / 4
		lowerCAmelCase__   = (
		    15 - lunar_orbit_correction + leap_day_inhibits - leap_day_reinstall_number
		) % 30
		lowerCAmelCase__   = (4 + leap_day_inhibits - leap_day_reinstall_number) % 7

		# days to be added to March 21
		lowerCAmelCase__   = (19 * metonic_cycle + secular_moon_shift) % 30

		# PHM -> Paschal Full Moon
		lowerCAmelCase__   = (
		    2 * julian_leap_year
		    + 4 * non_leap_year
		    + 6 * days_to_add
		    + century_starting_point
		) % 7

		if days_to_add == 29 and days_from_phm_to_sunday == 6:
				return datetime(lowerCamelCase__      ,	4      ,	19  )
		elif days_to_add == 28 and days_from_phm_to_sunday == 6:
				return datetime(lowerCamelCase__      ,	4      ,	18  )
		else:
				return datetime(lowerCamelCase__      ,	3      ,	22  ) + timedelta(
				    days=int(days_to_add + days_from_phm_to_sunday  )  )


if __name__ == "__main__":
			for year in (19_94, 20_00, 20_10, 20_21, 20_23):
						__lowerCAmelCase     :				List[str]    				=    "will be" if year > datetime.now().year else "was"
						print(F"Easter in {year} {tense} {gauss_easter(year)}")




