This Ulauncher extension enables you to search DuckDuckGo.
Then open Ulauncher preferences window > extensions > add extension and paste the following url:
https://github.com/mikebarkmin/ulauncher-duckduckgo
Currently doctest is used for the functions
module. To run the tests execute the following command:
python3 src/functions.py