معرفی شرکت ها


escodesearcher-0.0.5


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

A source code searcher
ویژگی مقدار
سیستم عامل -
نام فایل escodesearcher-0.0.5
نام escodesearcher
نسخه کتابخانه 0.0.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Mohamed Ashraf
ایمیل نویسنده Mohamed.ashraf881999@gmail.com
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/escodesearcher/
مجوز -
# escodesearcher A source code searcher Currently searching in a limited set of sites: * Geeks for Geeks * C plus plus * Tutorials Point * Programiz ## Installation `pip install escodesearcher` ## Dependencies * requests - `pip install requests` * beautifulsoup4 - `pip install beautifulsoup4` * google - `pip install google` * html2text - `pip install html2text` ## Usage Use `SearchCode` `escodesearcher` can be used to fetch source code urls from the sites mentioned above or to fetch the source codes in these sites ### To fetch and save the source codes ```python from escodesearcher import SearchCode code_searcher = SearchCode() keyword = "Merge sort C++" source_codes = code_searcher.search(keyword) for index,source_code in enumerate(source_codes): with open('fetched_files/'+str(index)+'.txt', 'w', encoding='utf8') as f: f.write(source_code) ``` ### To fetch urls only ```python from escodesearcher import UrlsFetcher searcher = UrlsFetcher() keyword = "Binary Search C++" urls = searcher.fetch_urls(keyword) print(urls) ``` Result is a list of urls from specific sites ### To fetch source codes from specific url from the supported sites ```python from escodesearcher import FetchCode code_grapper = FetchCode() url = "https://www.tutorialspoint.com/binary-search-in-cplusplus" print(code_grapper.fetch_code(url)) ```


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl escodesearcher-0.0.5:

    pip install escodesearcher-0.0.5.whl


نصب پکیج tar.gz escodesearcher-0.0.5:

    pip install escodesearcher-0.0.5.tar.gz