__init__.py 840 B

123456789101112131415161718192021222324252627282930
  1. """This module contains some general purpose utilities that are used across
  2. SymPy.
  3. """
  4. from .iterables import (flatten, group, take, subsets,
  5. variations, numbered_symbols, cartes, capture, dict_merge,
  6. prefixes, postfixes, sift, topological_sort, unflatten,
  7. has_dups, has_variety, reshape, rotations)
  8. from .misc import filldedent
  9. from .lambdify import lambdify
  10. from .decorator import threaded, xthreaded, public, memoize_property
  11. from .timeutils import timed
  12. __all__ = [
  13. 'flatten', 'group', 'take', 'subsets', 'variations', 'numbered_symbols',
  14. 'cartes', 'capture', 'dict_merge', 'prefixes', 'postfixes', 'sift',
  15. 'topological_sort', 'unflatten', 'has_dups', 'has_variety', 'reshape',
  16. 'rotations',
  17. 'filldedent',
  18. 'lambdify',
  19. 'threaded', 'xthreaded', 'public', 'memoize_property',
  20. 'timed',
  21. ]