Skip to main content

Program that lets you search with DuckDuckGo from the command line.

Project description

What the duck is Ducker?

Ducker is a lightweight program that makes internet searchs with DuckDuckGo from the command line. It can search for images, websites, videos, news and a lot more.

Usage

Just execute it in your shell with the search string as an argument. We call search string what you want to search for with DuckDuckGo. The following example searchs for classical music.

$ duck classical music

There are also options to search for images, videos, audio, etc. To check out every option execute the program with the –help or -h arguments.

Installation

You can clone the repository and install Ducker with…

$ python setup.py install

Or you can simply install it with pip…

$ pip install ducker

Customization

You can always use your favourite command-line options of Ducker using Bash aliases or other utilities available for your shell. Let’s say we want to add an option to search for articles in Wikipedia; we could create a Bash alias for that.

$ alias wikipedia='ducker \!w'

Calling wikipedia in the shell would open the main page of wikipedia, and calling wikipedia free software would open the “Free software” article from wikipedia. Note that we’re using DuckDuckGo bangs and that the exclamation mark (!) must be escaped in Bash.

Similarly, you can create an alias to never use JavaScript when using Ducker. .. code-block:: bash

$ alias duck=’ducker –no-javascript’

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ducker-0.5.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ducker-0.5.1-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ducker-0.5.1.tar.gz.

File metadata

  • Download URL: ducker-0.5.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ducker-0.5.1.tar.gz
Algorithm Hash digest
SHA256 1d1b81db6bc754815c7e515573633f3e57e40798dbd06dd4084275bcc6303518
MD5 f52318e05bc48574b14d7261c6e724bb
BLAKE2b-256 c9137fa8910c8c894be506684e0ba822f3a5363f01be925ccbdcbb84160a4a90

See more details on using hashes here.

File details

Details for the file ducker-0.5.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ducker-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4687725a48eadaf29e7f46a8ff68ff41c84bbbf3c9718ca7d86844d0eb0cc15a
MD5 8d3b667cf3a0a178c15a15618b9ff862
BLAKE2b-256 d6c93cc6bd65fd61307127ef98c37e6c585126903e19054b7a155342b8ead2d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page