__init__.py 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # -*- coding: utf-8 -*-
  2. """Powerful and Lightweight Python Tree Data Structure."""
  3. __version__ = "2.8.0"
  4. __author__ = "c0fec0de"
  5. __author_email__ = "c0fec0de@gmail.com"
  6. __description__ = """Powerful and Lightweight Python Tree Data Structure.."""
  7. __url__ = "https://github.com/c0fec0de/anytree"
  8. from .search import CountError # noqa
  9. from .search import find # noqa
  10. from .search import find_by_attr # noqa
  11. from .search import findall # noqa
  12. from .search import findall_by_attr # noqa
  13. from .iterators import LevelOrderGroupIter # noqa
  14. from .iterators import LevelOrderIter # noqa
  15. from .iterators import PostOrderIter # noqa
  16. from .iterators import PreOrderIter # noqa
  17. from .iterators import ZigZagGroupIter # noqa
  18. from .node import AnyNode # noqa
  19. from .node import LoopError # noqa
  20. from .node import Node # noqa
  21. from .node import NodeMixin # noqa
  22. from .node import SymlinkNode # noqa
  23. from .node import SymlinkNodeMixin # noqa
  24. from .node import TreeError # noqa
  25. from .render import AbstractStyle # noqa
  26. from .render import AsciiStyle # noqa
  27. from .render import ContRoundStyle # noqa
  28. from .render import ContStyle # noqa
  29. from .render import DoubleStyle # noqa
  30. from .render import RenderTree # noqa
  31. from .resolver import ChildResolverError # noqa
  32. from .resolver import Resolver # noqa
  33. from .resolver import ResolverError # noqa
  34. from .walker import WalkError # noqa
  35. from .walker import Walker # noqa
  36. from . import cachedsearch # noqa
  37. from . import util # noqa
  38. # legacy
  39. LevelGroupOrderIter = LevelOrderGroupIter