


import math
from datetime import datetime, timedelta
def 				__lowerCamelCase						( UpperCAmelCase_						:		int						):




      """simple docstring"""





      a						:str 							=       year % 19
      a						:List[Any] 							=       year % 4
      a						:Tuple 							=       year % 7
      a						:Optional[Any] 							=       math.floor(year / 100						)
      a						:int 							=       math.floor((13 + 8 * leap_day_inhibits) / 25						)
      a						:str 							=       leap_day_inhibits / 4
      a						:List[Any] 							=       (
          15 - lunar_orbit_correction + leap_day_inhibits - leap_day_reinstall_number
      ) % 30
      a						:Tuple 							=       (4 + leap_day_inhibits - leap_day_reinstall_number) % 7

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

      # PHM -> Paschal Full Moon
      a						:List[str] 							=       (
          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(UpperCAmelCase_ ,  4 ,  19						)
      elif days_to_add == 28 and days_from_phm_to_sunday == 6:
            return datetime(UpperCAmelCase_ ,  4 ,  18						)
      else:
            return datetime(UpperCAmelCase_ ,  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):
          snake_case				:    int       				=     '''will be''' if year > datetime.now().year else '''was'''
          print(F"""Easter in {year} {tense} {gauss_easter(year)}""")













"""simple docstring"""





import importlib
import shutil
import threading
import warnings
from typing import List

import fsspec
import fsspec.asyn

from . import compression
from .hffilesystem import HfFileSystem


_SCREAMING_SNAKE_CASE					:				Any					    =						importlib.util.find_spec('''s3fs''') is not None

if _has_safs:
  from .safilesystem import SaFileSystem  # noqa: F401

_SCREAMING_SNAKE_CASE					:				List[compression.BaseCompressedFileFileSystem]					    =						[
    compression.BzaFileSystem,
    compression.GzipFileSystem,
    compression.LzaFileSystem,
    compression.XzFileSystem,
    compression.ZstdFileSystem,
]

# Register custom filesystems
for fs_class in COMPRESSION_FILESYSTEMS + [HfFileSystem]:
  if fs_class.protocol in fsspec.registry and fsspec.registry[fs_class.protocol] is not fs_class:
    warnings.warn(F'''A filesystem protocol was already set for {fs_class.protocol} and will be overwritten.''')
  fsspec.register_implementation(fs_class.protocol, fs_class, clobber=True)







def      lowerCamelCase__       (							_lowerCamelCase       :		str )      ->				str:
  if "://" in dataset_path:
    lowerCamelCase_         =						dataset_path.split('://' )[1]
  return dataset_path







def      lowerCamelCase__       (							_lowerCamelCase       :		fsspec.AbstractFileSystem )      ->				bool:
  if fs is not None and fs.protocol != "file":
    return True
  else:
    return False







def      lowerCamelCase__       (							_lowerCamelCase       :		fsspec.AbstractFileSystem		,				_lowerCamelCase       :		str		,				_lowerCamelCase       :		str )      ->				int:
  lowerCamelCase_         =						not is_remote_filesystem(_lowerCamelCase )
  if is_local:
    # LocalFileSystem.mv does copy + rm, it is more efficient to simply move a local directory
    shutil.move(fs._strip_protocol(_lowerCamelCase )		,				fs._strip_protocol(_lowerCamelCase ) )
  else:
    fs.mv(_lowerCamelCase		,				_lowerCamelCase		,				recursive=_lowerCamelCase )







def      lowerCamelCase__       (							)      ->				None:
  if hasattr(fsspec.asyn		,				'reset_lock' ):
    # for future fsspec>2022.05.0
    fsspec.asyn.reset_lock()
  else:
    lowerCamelCase_         =						None
    lowerCamelCase_         =						None
    lowerCamelCase_         =						threading.Lock()




