Skip to main content

Dark Theme
Dark Theme
Light Theme
Light Theme

aioengine

An asynchronous library for using search engines in Python.

⭐ Features

  • ✅ Asynchronous
  • 🚀 Simple
  • 📈 Scalable

📌 Examples

🔹 Example 1

import asyncio
from aioengine import GoogleEngine, EngineError

async def main():
    api_key = "ABCDEFGHIJKLMNOP"
    cse_id = "1234567890"
    engine = GoogleEngine(api_key, cse_id)
    
    try:
        query = "python"
        results = await engine.search(query, num=5)
        for result in results:
            print(result.link)

    except EngineError as error:
        error.display_error()
        
if __name__ == "__main__":
    asyncio.run(main())

📂 Directory: example_google_1.py


🔹 Example 2

import asyncio
from aioengine import GoogleEngine, EngineError

async def main():
    api_key = "ABCDEFGHIJKLMNOP"
    cse_id = "1234567890"
    
    async with GoogleEngine(api_key, cse_id) as engine:
        try:
            query = "python"
            results = await engine.search(query, num=5)
            for result in results:
                print(result.link)

        except EngineError as error:
            error.display_error()

if __name__ == "__main__":
    asyncio.run(main())

📂 Directory: example_google_2.py



📂 Project Structure


Installation:

pip install aioengine-python

Release files for aioengine-python 0.0.4

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

Source distribution (sdist)

Source distribution for aioengine-python 0.0.4
File Size Uploaded
aioengine-python-0.0.4.tar.gz 13.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aioengine-python 0.0.4
File Interpreter ABI Platform
aioengine_python-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 21.3 kB

Release files / aioengine-python-0.0.4.tar.gz

Download URL aioengine-python-0.0.4.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b4651043041f2e5fbafc51bcb17bd5cd548913a80cb15c97c30ba53309fcab4a
BLAKE2b-256 checksum
How to use checksums
f68c33a6e223c79c3b016dfcc84349170d3e6b65959c280438e8c68f4302c4b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release files / aioengine_python-0.0.4-py3-none-any.whl

Download URL aioengine_python-0.0.4-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7efe79c3ac2b8c49e05af0c13ec7c387c79d3e5e3d1128f1679ba3675134fd12
BLAKE2b-256 checksum
How to use checksums
96c3e92e72cd4a07146f22ec9ea96cc4e5983dc32472de9724074adb0220bc82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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