Skip to main content

Search

Script's main functionality is searching for a keyword or a phrase via bing.com or duckduckgo.com search engines.

It allows choosing search engine, number of results, saving format, possibility to search urls recursively.

How to install locally

Python3 and Pip3 should be already installed.

Installation is made by command:

pip install search

How to use

The usual way to use search is follow:

from search import search
search(keyword="python")

Complete list of script arguments :

keyword - is a word, or a phrase to search. Default value is 'python'.

engine is the search engine to use for search (bing, duckduckgo). Default value is 'bing'.

number is the number of searched urls of 1st rang. Default value is 3.

number2 is the number of recursively searched urls of 2nd rang. Default value is 2.

format is saving format (csv, json, console). Default value is 'json'.

recursively if is True, then script will use recursive searching.

Example of using search with arguments:

search(engine="bing", number=2, number2=3, recursively=True, keyword="javascript", format="console")

In this case it will search for a phrase "javascript" via bing search engine and will print into console 8 found urls (2 urls of 1st rang and 2*3 urls of 2nd rang)

Metadata

Release files for example-search-balancy-0.9 0.9

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

Source distribution (sdist)

Source distribution for example-search-balancy-0.9 0.9
File Size Uploaded Provenance
example-search-balancy-0.9-0.9.tar.gz 4.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for example-search-balancy-0.9 0.9
File Interpreter ABI Platform
example_search_balancy_0.9-0.9-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / example-search-balancy-0.9-0.9.tar.gz

Download URL example-search-balancy-0.9-0.9.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
14bc71f2cdcf8be4019e851481e2db2fbcc62317e4c25e2cba1d0cd9100efd16
BLAKE2b-256 checksum
How to use checksums
7c11d729bfb675e1b40e621630d889bb1a3099c98629be777bfe5a7505c942db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release files / example_search_balancy_0.9-0.9-py3-none-any.whl

Download URL example_search_balancy_0.9-0.9-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e77d06639e4fec5a569b3b15139831fb140c9595e0f7d3d2fd9eaa0229c17cca
BLAKE2b-256 checksum
How to use checksums
8497347844fd4a427c8b2aec45ffe3e7546a4e15d68f83f27672fcd1a57a5c38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Security for example-search-balancy-0.9 0.9

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

0.9 This release

2 release files 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