1

2# -*- coding: utf-8 -*-

3

4 u'''Package of lazily imported C{rhumb} modules L{rhumb.aux_}, L{rhumb.ekx} and L{rhumb.solve}.

5

6@note: C{S12} area calculations in classes L{RhumbAux} and L{RhumbLineAux} depend on class L{AuxDST}

7 which requires U{numpy<https://PyPI.org/project/numpy>} to be installed, version 1.16 or newer.

8'''

9 from pygeodesy.lazily import _ALL_LAZY, _ALL_OTHER, _lazy_import_as, _unLazy0

10

11__all__ = _ALL_LAZY.rhumb

12__version__ = '23.12.02'

13

14 if _unLazy0:

15 from pygeodesy.rhumb.aux_ import RhumbAux, RhumbLineAux

16 from pygeodesy.rhumb.ekx import Rhumb, RhumbLine

17 from pygeodesy.rhumb.solve import RhumbSolve, RhumbLineSolve, RhumbSolve7Tuple

18

19 __all__ += _ALL_OTHER(RhumbAux, RhumbLineAux, Rhumb, RhumbLine,

20 RhumbSolve, RhumbLineSolve, RhumbSolve7Tuple)

21 assert _ALL_LAZY.rhumb_aux_ + _ALL_LAZY.rhumb_ekx + _ALL_LAZY.rhumb_solve == __all__

22

23 else: # lazily import modules and exported attrs

24 __getattr__ = _lazy_import_as(__name__)

25

26# **) MIT License

27#

28# Copyright (C) 2018-2023 -- mrJean1 at Gmail -- All Rights Reserved.

29#

30# Permission is hereby granted, free of charge, to any person obtaining a

31# copy of this software and associated documentation files (the "Software"),

32# to deal in the Software without restriction, including without limitation

33# the rights to use, copy, modify, merge, publish, distribute, sublicense,

34# and/or sell copies of the Software, and to permit persons to whom the

35# Software is furnished to do so, subject to the following conditions:

36#

37# The above copyright notice and this permission notice shall be included

38# in all copies or substantial portions of the Software.

39#

40# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS

41# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

42# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL

43# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR

44# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,

45# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR

46# OTHER DEALINGS IN THE SOFTWARE.