__init__.py 992 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. from __future__ import annotations
  2. from .base import (
  3. CompleteEvent,
  4. Completer,
  5. Completion,
  6. ConditionalCompleter,
  7. DummyCompleter,
  8. DynamicCompleter,
  9. ThreadedCompleter,
  10. get_common_complete_suffix,
  11. merge_completers,
  12. )
  13. from .deduplicate import DeduplicateCompleter
  14. from .filesystem import ExecutableCompleter, PathCompleter
  15. from .fuzzy_completer import FuzzyCompleter, FuzzyWordCompleter
  16. from .nested import NestedCompleter
  17. from .word_completer import WordCompleter
  18. __all__ = [
  19. # Base.
  20. "Completion",
  21. "Completer",
  22. "ThreadedCompleter",
  23. "DummyCompleter",
  24. "DynamicCompleter",
  25. "CompleteEvent",
  26. "ConditionalCompleter",
  27. "merge_completers",
  28. "get_common_complete_suffix",
  29. # Filesystem.
  30. "PathCompleter",
  31. "ExecutableCompleter",
  32. # Fuzzy
  33. "FuzzyCompleter",
  34. "FuzzyWordCompleter",
  35. # Nested.
  36. "NestedCompleter",
  37. # Word completer.
  38. "WordCompleter",
  39. # Deduplicate
  40. "DeduplicateCompleter",
  41. ]