Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
__init__.py25 linesDownload Raw Back to dateutil
1# -*- coding: utf-8 -*-2import sys3 4try:5    from ._version import version as __version__6except ImportError:7    __version__ = 'unknown'8 9__all__ = ['easter', 'parser', 'relativedelta', 'rrule', 'tz',10           'utils', 'zoneinfo']11 12def __getattr__(name):13    import importlib14 15    if name in __all__:16        return importlib.import_module("." + name, __name__)17    raise AttributeError(18        "module {!r} has not attribute {!r}".format(__name__, name)19    )20 21 22def __dir__():23    # __dir__ should include all the lazy-importable modules as well.24    return [x for x in globals() if x not in sys.modules] + __all__25 
codekingpro/portable-devtools · Team Ai