🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

python-bingsearch

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-bingsearch

bing Search unofficial API for Python with no external dependencies

1.1.0
PyPI
Maintainers
1

Python Bing Search API

Unofficial bing Search API for Python.

It uses web scraping in the background and is compatible with both Python 2 and 3.

Source

https://github.com/samsha1971/python-bingsearch

Why this project?

for everyone who want to use bing search.

Installation

.. code:: bash

pip install python-bingsearch

Using

.. code:: bash

from bingsearch.bingsearch import BingSearch

bs = BingSearch() data = bs.search("python") print(data)

.. code:: python

reuse in a program

first times

with BingSearch() as bs: results = bs.search( args.keyword, num_results=args.num_results, debug=args.debug)

second times

bs = BingSearch() results = bs.search( args.keyword, num_results=args.num_results, debug=args.debug) bs.release_resource() # Need active resource release

third times

with BingSearch() as bs: results = bs.search( args.keyword, num_results=args.num_results, debug=args.debug)

Keywords

search-api bing python

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts