Skip to main content

DuckDuckGo-Python3

A Python3 library for searching using the DuckDuckGo API and full search via browser.

Copyright (c) 2016 Abhishek Poonia <abhishekpoonia22@gmail.com>

Released under GNU AFFERO GENERAL PUBLIC LICENSE, see LICENSE for details.

This Python3 version uses the instant answer API of DuckDuckGo.

Usage:

>>> import DuckDuckGo
>>> q = DuckDuckGo.search('Modi')
>>> q.type
'Dis
ambiguation'
>>> q.abstract.abstract
q.abstract.abstract         q.abstract.abstract_text
q.abstract.abstract_source  q.abstract.abstract_url
>>> q.abstract.abstract_text
''
>>> q.abstract.heading
'Modi'
>>> q.display(limit = 1)
https://duckduckgo.com/Narendra_Modi
Narendra Modi The 14th and current Prime Minister of India, in office since 26 May 2014.
--------------------------------------------------
>>> q.abstract.abstract_url
'https://en.wikipedia.org/wiki/Modi'
>>> q.display()
https://duckduckgo.com/Narendra_Modi
Narendra Modi The 14th and current Prime Minister of India, in office since 26 May 2014.
--------------------------------------------------
https://duckduckgo.com/Modi_Group
Modi Group An Indian Business conglomerate based in New Delhi, India.
--------------------------------------------------
https://duckduckgo.com/monochorionic_twins
Monochorionic-Diamniotic Monochorionic twins are monozygotic twins that share the same placenta.
--------------------------------------------------
https://duckduckgo.com/M%C3%B3%C3%B0i_and_Magni
Móði The sons of Thor. Their names mean "Brave" and "Strong," respectively.
--------------------------------------------------
https://duckduckgo.com/modi_alphabet
Modi script A script used to write the Marathi language, which is the primary language spoken in the state of...
--------------------------------------------------
>>>

Metadata

Release files for DuckDuckGo-Python3-Library 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DuckDuckGo-Python3-Library 1.0
File Size Uploaded Provenance Actions
DuckDuckGo Python3 Library-1.0.tar.gz 2.0 kB Without provenance Details for DuckDuckGo Python3 Library-1.0.tar.gz

Release files / DuckDuckGo Python3 Library-1.0.tar.gz

Download URL DuckDuckGo Python3 Library-1.0.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a1905f400bc710185a094400fda62a7623e3112987cd4ffbd3b65791c0f0a9ed
BLAKE2b-256 checksum
How to use checksums
cf02e329d8eaab0fdb54eceb18d13af5ae663886bce467fbd7939c65d4e47b67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for DuckDuckGo-Python3-Library 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page