A simple module that searches on DuckDuckGo
Project description
A simple Python module that searches on DuckDuckGo.
Installation:
Duckpy can be installed using pip from PyPI or from GitHub
via PyPI using pip:
pip install -U duckpy
via GitHub using pip+git:
pip install -U git+https://github.com/AmanoTeam/duckpy
Usage:
To use duckpy is easy, but let's see some examples:
First example:
import duckpy
search = duckpy.search("test")
# Prints first result title
print(search["results"][0]["title"])
# Prints first result URL
print(search["results"][0]["url"])
# Prints first result description
print(search["results"][0]["description"])
The result will be like this:
Find online tests, practice test, and test creation software ...
https://www.test.com/
Online tests and testing for certification, practice tests, test making tools, medical testing and more.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
duckpy-1.2.3.tar.gz
(1.9 kB
view details)
File details
Details for the file duckpy-1.2.3.tar.gz.
File metadata
- Download URL: duckpy-1.2.3.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6ee7e1bb7c082582c4e5f2265bf4b6b26e03a6540deb1deaf21cde44ca10553
|
|
| MD5 |
c15885d8b1e8186ee995a5120cad560b
|
|
| BLAKE2b-256 |
1f4ed5eb9dcb6c76f3ede9dd23e5db3d25282fb2fd9307d3f89ab01266627a05
|