معرفی شرکت ها


asyncbing-2.0.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A api wrapper for the bing apis.
ویژگی مقدار
سیستم عامل -
نام فایل asyncbing-2.0.3
نام asyncbing
نسخه کتابخانه 2.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده TennisBowling
ایمیل نویسنده tennisbowling@tennisbowling.com
آدرس صفحه اصلی https://github.com/TennisBowling/asyncbing
آدرس اینترنتی https://pypi.org/project/asyncbing/
مجوز LICENSE.md
# AsyncBing asyncbing is an asyncio api wrapper for the [Bing Search Api](https://www.microsoft.com/en-us/bing/apis/bing-web-search-api). It uses a modern `async`/`await` python api. \ [Docs](https://asyncbing.readthedocs.io/en/latest/) ## Installing `python -m pip install asyncbing` \ For the stable version of asyncbing. \ `python -m pip install git+https://github.com/TennisBowling/asyncbing/` \ For the unstable/cutting edge of asyncbing. Not recommended in production. \ ## Usage Import it with \ `from asyncbing import search` \ Then initialize asyncbing with your Bing Search Api key [guide](https://docs.microsoft.com/en-us/bing/search-apis/bing-web-search/create-bing-search-service-resource) like `s = search.Search('APIKEYGOESHERE')` ## Sample usage Searching ```python import asyncbing import asyncio async def main(): async with asyncbing.tearch('key') as s: resp = await s.fetch('cool search term') print(resp.matches) oneresult = resp.getOne() print(oneresult.name) print(oneresult.url) print(oneresult.snippet) asyncio.run(main()) ``` Translating ```python import asyncbing import asyncio async def main(): async with asyncbing.translate('key', region='useast') as t: resp = await t.translate('je veux traduire') print(resp.detected_language) print(resp.translated_output) print(resp.translated_language) asyncio.run(main()) ``` (Normally, searching isn't part of the Bing Api's. It's part of the Microsoft Cognitive Api's. Might as well rename this to asyncms, or asyncmsapi, no?)


نیازمندی

مقدار نام
- aiohttp
- asyncio


نحوه نصب


نصب پکیج whl asyncbing-2.0.3:

    pip install asyncbing-2.0.3.whl


نصب پکیج tar.gz asyncbing-2.0.3:

    pip install asyncbing-2.0.3.tar.gz