Format: text/x-python
⬇ Download File (461 B)
   1  """Duckduckgo_search.
   2  
   3  Search for words, documents, images, videos, news, maps and text translation
   4  using the DuckDuckGo.com search engine.
   5  """
   6  
   7  import logging
   8  
   9  from .duckduckgo_search import DDGS
  10  from .version import __version__
  11  
  12  __all__ = ["DDGS", "__version__", "cli"]
  13  
  14  
  15  # A do-nothing logging handler
  16  # https://docs.python.org/3.3/howto/logging.html#configuring-logging-for-a-library
  17  logging.getLogger("duckduckgo_search").addHandler(logging.NullHandler())
  18