from ddgs import DDGS
ddgs = DDGS()
results = ddgs.text("Python programming", max_results=5)