Skip to main content

SEARCH-ME

Version License Python Status Format Wheel Build Coverage Downloads


SEARCH-ME

INSTALL

pip install search-me

USAGE

import asyncio
import itertools
import aiohttp
import niquests
from search_me import Bing, Brave, GoodSearch

bing, brave, goodsearch = Bing(retry=3), Brave(), GoodSearch()

# ASYNC

async def main():

    headers = {"User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0"}

    async with aiohttp.ClientSession(headers=headers) as session:
        results = await asyncio.gather(
            bing.search(session, q="python 3.15"),
            brave.search(session, q="python 3.15"),
            goodsearch.search(session, q="python 3.15")
            )
        for result in itertools.chain(*results):
            print(result.to_dict())


try:
    loop = asyncio.get_event_loop()
except RuntimeError as e:
    loop = asyncio.new_event_loop()
    asyncio.set_event_loop(loop)

loop.run_until_complete(main())


# SYNC

def main():

    headers = {"User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0"}

    with niquests.Session(headers=headers) as session:
        results = (engine.search(session, q="python 3.15") for engine in (bing, brave, goodsearch))
        for result in itertools.chain(*results):
            print(result.to_dict())


main()

Metadata

Release files for search-me 4.0.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 search-me 4.0.0
File Size Uploaded Provenance Actions
search_me-4.0.0.tar.gz 552.7 kB Without provenance Details for search_me-4.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for search-me 4.0.0
File Interpreter ABI Platform Actions
search_me-4.0.0-py3-none-any.whl Python 3 none any Details for search_me-4.0.0-py3-none-any.whl

Total release size: 1.1 MB

Release files / search_me-4.0.0.tar.gz

Download URL search_me-4.0.0.tar.gz
Size 552.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d7205f1ef4c277b589ef5e33d76b98f8db647018fdefba52c570009a21576c2b
BLAKE2b-256 checksum
How to use checksums
488136323a2ab3a6dfcb9074a14719b7021283e4fafd0386a478f4600e74c856
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / search_me-4.0.0-py3-none-any.whl

Download URL search_me-4.0.0-py3-none-any.whl
Size 552.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd8d5f2dc18e07a25dc9083a667f62c76a163d5d46384567d28f450a3437ea7e
BLAKE2b-256 checksum
How to use checksums
1304e454462fa02d5c72d659ac29fb1bb06a5d67037298a28e23fd1072a0257c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for search-me 4.0.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.

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