Skip to main content

SEARCH-ME-SERVER

PayPal

Version License Python Status Format Downloads


ASYNC SEARCH-ME-SERVER

PRE-INSTALLING

Look the page of search-me

INSTALLING

pip install search-me-server

SERVER

import logging
from search_me import Google
from search_me_server import SearchMeServer


logging.basicConfig(level=logging.DEBUG)


server = SearchMeServer(
    log=True,
    log_options={
        'file': 'main.log',
        'size': 100000000,
        'format': '%(asctime)s	|	%(levelname)s	|	%(message)s',
        'buffer': 16384
        },
    server={
        'host': '127.0.0.1',
        'port': 8080,
        'api': '/',
        'log_format': '%t	|	%s	|	%a	|	%Tf'
        },
    engine=Google(
        **{
            "app": {
                "interactive": False
                },
            "web": {},
            "pdf": {},
            "social": {}
        }
    )
    )
# Logs enable on http://127.0.0.1:8080/logs
# server = SearchMeServer()
server.run()

CLIENT

import asyncio
import aiohttp


async def main(server, q):
    async with aiohttp.ClientSession() as session:
        async with session.post(f"{server}?q={q}") as resp:
            async for data, chunk in resp.content.iter_chunks():
                if chunk:
                    print(data)


SERVER_URL = "http://127.0.0.1:8080/"
Q = "0X0007EE"

loop = asyncio.get_event_loop()
loop.run_until_complete(main(
    server=SERVER_URL,
    q=Q
    ))

Metadata

Release files for search-me-server 1.0.1.post0

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-server 1.0.1.post0
File Size Uploaded Provenance Actions
search-me-server-1.0.1.post0.tar.gz 5.3 kB Without provenance Details for search-me-server-1.0.1.post0.tar.gz

Built distribution (wheel)

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

Total release size: 11.3 kB

Release files / search-me-server-1.0.1.post0.tar.gz

Download URL search-me-server-1.0.1.post0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
722b2ddd0f3604b7843cdc36825ee2a69a626bbd20b3b37159077cc10ae8e029
BLAKE2b-256 checksum
How to use checksums
1c749305ef56bd2e84d8fafb5983bd72983b685702c9d81c873ccc66492c7167
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.26.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release files / search_me_server-1.0.1.post0-py3-none-any.whl

Download URL search_me_server-1.0.1.post0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9eb8785b6aa579ac723e99e87f114bdfd2d87ad22eeee9cf434fb2161d6df014
BLAKE2b-256 checksum
How to use checksums
25fbdd07c0ded4ac4db458444d2593074d6338975c3f05a5eb1ed0ac67d2fe66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.26.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Security for search-me-server 1.0.1.post0

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

1.0.1.post0 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