bing Search unofficial API for Python with no external dependencies
Project description
Unofficial bing Search API for Python.
It uses web scraping in the background and is compatible with both Python 2 and 3.
Source
Why this project?
for everyone who want to use bing search.
Installation
pip install python-bingsearch
Using
from bingsearch.bingsearch import BingSearch
bs = BingSearch()
data = bs.search("python")
print(data)
# 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)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_bingsearch-1.1.0.tar.gz.
File metadata
- Download URL: python_bingsearch-1.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b900b8b041f1259299e04baf9d5dfaaba5f633188d897d63b6a489794b104af
|
|
| MD5 |
12b47a919f3b6a6073aa205c297ea3dd
|
|
| BLAKE2b-256 |
f1478787fb244731c1858f08075ca939c570fe2d6faccdc48e5aa3929ea26d9d
|
File details
Details for the file python_bingsearch-1.1.0-py3-none-any.whl.
File metadata
- Download URL: python_bingsearch-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad556f007e093391581153e41aea3acb48f1158a5a7835977f2624ac62bce9b4
|
|
| MD5 |
8892ead65aa4a29a6f03a4e23a92d801
|
|
| BLAKE2b-256 |
277e76e52e6c734f47ba5393ed6edbaa078d7fcd5c7cfe2b0650284e12d6756c
|