Ask-the-duck

Latest version: v0.0.3

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.1

Ask the Duck

python library to interact with DuckDuckGo api

- natural language queries
- language support via automatic translation
- infobox parsing

Install

bash
pip install ask-the-duck


Usage

python
from ask_the_duck import DDG

ddg api
ddg = DDG()
print(ddg.get_infobox("stephen hawking"))
print(ddg.search("light speed"))

natural language api
print(ddg.ask_the_duck("tell me about Isaac Newton"))

language support
ddg = DDG("pt")
print(ddg.ask_the_duck("elon musk"))

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.