__init__.py 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. from __future__ import division, absolute_import, print_function
  2. import math
  3. from .info import __doc__
  4. from numpy.version import version as __version__
  5. from .type_check import *
  6. from .index_tricks import *
  7. from .function_base import *
  8. from .mixins import *
  9. from .nanfunctions import *
  10. from .shape_base import *
  11. from .stride_tricks import *
  12. from .twodim_base import *
  13. from .ufunclike import *
  14. from .histograms import *
  15. from . import scimath as emath
  16. from .polynomial import *
  17. #import convertcode
  18. from .utils import *
  19. from .arraysetops import *
  20. from .npyio import *
  21. from .financial import *
  22. from .arrayterator import Arrayterator
  23. from .arraypad import *
  24. from ._version import *
  25. from numpy.core._multiarray_umath import tracemalloc_domain
  26. __all__ = ['emath', 'math', 'tracemalloc_domain']
  27. __all__ += type_check.__all__
  28. __all__ += index_tricks.__all__
  29. __all__ += function_base.__all__
  30. __all__ += mixins.__all__
  31. __all__ += shape_base.__all__
  32. __all__ += stride_tricks.__all__
  33. __all__ += twodim_base.__all__
  34. __all__ += ufunclike.__all__
  35. __all__ += arraypad.__all__
  36. __all__ += polynomial.__all__
  37. __all__ += utils.__all__
  38. __all__ += arraysetops.__all__
  39. __all__ += npyio.__all__
  40. __all__ += financial.__all__
  41. __all__ += nanfunctions.__all__
  42. __all__ += histograms.__all__
  43. from numpy._pytesttester import PytestTester
  44. test = PytestTester(__name__)
  45. del PytestTester