Saravanan666/pypi-org huggingface dataset:
Package: bing-results-scraper
Bing Search ScraperOverviewEasily scrape Bing search results using Python. This library leveragesrequestsfor making HTTP requests andBeautifulSoupfor parsing HTML content. It offers both synchronous and asynchronous functionality for efficient retrieval of results.InstallationInstall via pip:pipinstallbing-results-scraperUsageSynchronous Usage:frombing_results_scraperimportBingScraper# Create a scraper instancebing=BingScraper()#headers=Optional(default header will be used), max_retries=Optional(default: 3), num_results=Optional(default: 10)# Fetch results for a single queryresults=bing.get_results(q='Query')# Access the resultsprint(results['organic_results'])Asynchronous Usage:frombing_results_scraperimportAsyncBingScraper# Create an asynchronous scraper instanceasync_bing=AsyncBingScraper()#headers=Optional, max_retries=Optional(default: 3), num_results=Optional(default: 10), error_sleep=Optional(default: 1), hits_at_a_time=Optional(default: 30)# Fetch results for multiple queriesqueries=['Query 1','Query 2','Query 3']results=async_bing.get_results(queries)# Access the results for each queryforresultinresults:print(result['organic_results'])FeaturesSynchronous and asynchronous scraping optionsCustomizable headersAutomatic query URL encodingResponse status handlingRetries for failed requestsParsed organic result data extractionClear output structureContributingContributions are welcome! Please follow the standard fork-and-pull request workflow on GitHub.AuthorRenukumar RLinkedIn:https://www.linkedin.com/in/renukumar-r/GitHub:https://github.com/Renukumar-R
Package: bingscraper
ï»¿ï»¿ï»¿# Bing ScraperThe bingscraper is python3 package which extracts the text and images content on search enginebing.com.It helps the user in a way that he/she will be getting only meaningful results and images for their search query. It does not download the ad content and hence saving data for the user.The script working in background requests for a search term and creates directory (if not made previously) in the root directory of the script where all the content of the related particular search is stored. This script will be downloading the hypertext and hyperlink to that text and saving it to a .txt file within the directory made by itself. This directory saves the text content as well as the images downloaded using the script.## Requirements
1.      Modules:requests: For requesting content through two HTTPS Methods:GETandPOST. UsedGETMethod.BeautifulSoup: For creating JSON like dictionary using HTML Parser. Package usesbs4.os: For checking and making directories.PIL.Image:Pillow Module. For extracting image content.io.ByteIO: For saving the extracted image using thePIL.Image.Internet Connection: Continuous high speed internet connection is required for the proper function of the python package as  it continuously creates the copy of the images into the local machine.Python: Version 3.6.4 or above. This package is written inpython 3.6.4## How to useInstall the above modules. Successful import ofbingscraperdepends only after the above imports.Sample code in python:import bingscraper as bssearch = str(input())bs.scrape(search).text()    #For Text Scraping.bs.scrape(search).image()   #For Image Scraping.scrape() takes a string argument and the .text() or .image() does the scraping work.
Package: bingsearch
Extremely thin python wrapper for Microsoft Azure Bing Search API.Usage=====Just remember to set the `API_KEY` as your own.>>> import bingsearch>>> bingsearch.API_KEY='Your-Api-Key-Here'>>> r = bingsearch.request("Python Software Foundation")>>> r.status_code200>>> r[0]['Description']u'Python Software Foundation Home Page. The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to ...'>>> r[0]['Url']u'http://www.python.org/psf/
Package: bingsearchpy
bingsearchpybing search engine for python.installationpipinstallbingsearchpyhow to useget random datafrombingsearchpyimportengineforiinengine.search('the most beautiful place in the world'):print(i['title'],i['link'])datadescriptiontitletitle of websiteslinkwebsite's linkget imagefrombingsearchpyimportengineforiinengine.search_image('bali'):print(i['title'],i['link'])datadescriptiontitleimage's namelinkimage's sourceget videofrombingsearchpyimportengineforiinengine.search_video('bandung'):print(i['title'],i['snippet_video'],i['detail_video'])datadescriptiontitlevideo's namesnippet_videoshort videodetail_videothe place of origin of the videothat's it all ðŸ˜Ž
Package: bing-terminal-translator
BingTerminaTranslatorIntroductionThe project is designed as a quick translation tool built into the terminalTranslation implementations depend on the projectbing-translation-for-pythonGitee|GithubThe project addressbing-termina-translatorGitee|GithubInstallation$ pip install bing-terminal-translatorHow to use itOnce the installation is configured, input from the command line translates to the specified language.
Type 'bing' directly to see the help information. Here's an example of how to use it$ bing en 你好Option -l -- list_all_lgtgEnter the language code of the language you are using, such as 'en' as the first parameter, with the '-l' switch attached at the end, and the program will display all the supporting languages and their abbreviations in your language$ bing en -lOption -h --helpShow help optionsOption -c --copyCopy translated text to the clipboardOption -d --debugTroubleshooting mode, it's no useBingTerminaTranslator介绍该项目设计为内建内建在终端内的快速翻译工具翻译实现依赖项目bing-translation-for-pythonGitee|Github项目地址bing-termina-translatorGitee|Github安装$ pip install bing-terminal-translator如何使用安装配置完毕后，命令行中输入即可执行翻译到指定的语言。
直接键入'bing'以查看帮助信息。下面是一个使用示例$ bing zh-Hans hello选项 -l --list_all_lgtg输入你所使用的语言的语言的语言码，例如'en'作为第一个参数，结尾附上'-l'开关，程序将以你的语言来展示全部支持语言及其缩写$ bin en -l选项 -h --help展示帮助选项选项 -c --copy复制翻译后的文本到剪贴板选项 -d --debug故障排查模式，没啥用BingTerminaTranslator介紹該項目設計為內建內建在終端內的快速翻譯工具翻譯實現依賴專案bing-translation-for-pythonGitee|Github本專案地址bing-termina-translatorGitee|Github安裝$ pip install bing-termina-translator如何使用安裝配置完畢後，命令列中輸入即可執行翻譯到指定的語言。
直接鍵入『bing』以查看説明資訊。 下面是一個使用示例$ bing zh-Hant hello選項 -l --list_all_lgtg輸入你所使用的語言的語言的語言碼，例如'en'作為第一個參數，結尾附上'-l'開關,程式將以你的語言來展示全部支援的語言$ bing en -l選項 -h --help展示幫助選項選項 -c --copy複製翻譯後的文字到剪貼簿選項 -d --debug故障排查模式，沒啥用
Package: bing-translation-for-python
Bing Translation For Python如何安装：$ pip install bing-translation-for-python快速上手：完整文档Under construction示例：这个示例演示了如何将任意一种语言转换为英文hello.py:from bing_translation_for_python import Translator
print(Translator('en').translator('你好'))运行hello.pyin  $ python ./hello.py
out $ hello.附加组件[终端翻译工具]这是一个在你的终端中的快速翻译小工具安装$ pip install bing-terminal-translator项目地址bing-termina-translator
Package: bing-tr-free
bing-tr-freebing translate for free: be gentle and rate limit to 3 calls/2 seconds, first 200 calls exemptedInstallationpip install bing-tr-freeorInstall (pip or whatever) necessary requirements, e.g.pip install requests fuzzywuzzy pytest jmespath coloredlogsorpip install -r requirements.txtDrop the file bing_tr.py in any folder in your PYTHONPATH (check with import sys; print(sys.path)or clone the repo (e.g.,git clone https://github.com/ffreemt/bing-tr-free.gitor downloadhttps://github.com/ffreemt/bing-tr-free/archive/master.zipand unzip) and change to the bing-tr-free folder and do apython setup.py developUsagefrom bing_tr import bing_tr
print(bing_tr('hello world'))  # ->'世界您好'
print(bing_tr('hello world', to_lang='de'))  # ->'Hallo Welt'
print(bing_tr('hello world', to_lang='fr'))  # ->'Salut tout le monde'
print(bing_tr('hello world', to_lang='ja'))  # ->'ハローワールド'Consult the official website for language pairs supported.AcknowledgmentsThanks to everyone whose code was used
Package: bingwall
bingwallbing.com change it wallpaper every day and it allways is too beauty so i wrote a simple script with python to download them.this script is wrote just for fun for any OS. such as Gnu/Linux, Windows, Android, etci tryed program under ["Ubuntu", "Android"] with python3. it's work prefectly.
if there is any bug or suggest you can fix it by your self or tel me.if you are in linux base:you can soft link this script to/etc/cron.dailyso then you can have daily wallpaper ofbing.and if you don't like auto run, you can soft link it to~/.local/binor if you have android, you sould usetermuxand if you are using windows:you can usewindows task schedulerto download daily wallpaper.or you can run it manualy
Package: bingwallpaperpy
Bing Wallpaper download scriptDownloads the nice daily wallpaper from Bing and prints the file
location on the command line (e.g., to pass tofeh).InstallingThis script is available on pypi.org. Simply usepipinstallbingwallpaperRunningThe script is calledbingwallpaper; when run without options,
it will simply output the filename of the downloaded image,
which will be~/Downloads/bingwallpaper.pngif~/Downloadsexists and is accessible, or/tmp/bingwallpaper.pngelse.BuildingSimplest way is usingpoetry:poetrybuildThis will create adistdir in the root directory containing
a.whland a.tar.gz. You can install the.whlby usingpip:pipinstalldist/*.whl
Package: bing-web-search-api
Python Client for Bing API v5, Web SearchSee API Reference:https://msdn.microsoft.com/en-us/library/dn760794.aspxInstall$pipinstallbing-web-search-apiHow to usefrombing_web_search_apiimportClientapikey='Your Ocp-Apim-Subscription-Key'client=Client(apikey=apikey)response,content=client.search(q='...')LicenseSeeLICENSE_ for more information.
Package: bingX-connector
BingX API Connector Python📌 About The ProjectThis is a Python package for bingX API, aims to provide a simple and easy-to-use interface for developers to access bingX API.📌 InstallationpipinstallbingX-connector# install from pypipipinstall-UbingX-connector# upgrade the package to the latest versionPlease always upgrade to the latest version to ensure the latest features and bug fixes📌 FeaturesStandard ContractStandard Contract Web SocketSpotSpot Web SocketPerpetual v1Perpetual v1 Web SocketPerpetual v2Perpetual v2 Web Socket📌 UsageStandard ContractfrombingX.standardimportStandardclient=Standard(api_key,api_secret)SpotfrombingX.spotimportSpotclient=Spot(api_key,api_secret)Perpetual v1frombingX.perpetual.v1importPerpetualclient=Perpetual(api_key,api_secret)Perpetual v2frombingX.perpetual.v2importPerpetualclient=Perpetual(api_key,api_secret)Note that you can not importPerpetual v1andPerpetual v2at the same timeFor More Information, please look at thebingX API document📌 Report a bugPlease follow the below guidelines if you would like to report a bug:Use the GitHub issue search— check if the issue has already been reported.Check if the issue has been fixed— try to reproduce it using the latestmainor development branch in the repository.Isolate the problem— create areduced test caseand a live example.Example:Short and descriptive example bug report titleA summary of the issue and the browser/OS environment in which it occurs. If
suitable, include the steps required to reproduce the bug.This is the first stepThis is the second stepFurther steps, etc.<url>- a link to the reduced test caseAny other information you want to share that is relevant to the issue being
reported. This might include the lines of code that you have identified as
causing the bug, and potential solutions (and your opinions on their
merits).📌 ContributeFollow this process if you'd like your work considered for inclusion in the projectForkthe project, clone your fork, and configure the remotes:# Clone your fork of the repo into the current directorygitclonehttps://github.com/<username>/bingX-connector-python.git# Navigate to the newly cloned directorycdbingX-connector-python# Assign the original repo to a remote called "upstream"gitremoteaddupstreamhttps://github.com/Ming119/bingX-connector-pythonIf you cloned a while ago, get the latest changes from upstream:gitcheckout<dev-branch>
gitpullupstream<dev-branch>Create a new topic branch (off the main project development branch) to contain your feature, change, or fix:gitcheckout-b<topic-branch-name>Locally merge (or rebase) the upstream development branch into your topic branch:gitpull[--rebase]upstream<dev-branch>Push your topic branch up to your fork:gitpushorigin<topic-branch-name>Open a Pull Requestwith a clear title and description.IMPORTANT: By submitting a patch, you agree to allow us to license your work under the same license as that used bybingX-connector-python
Package: bingx-headers-generator
THIS PROJECT IS FOR EDUCATIONAL PURPOSES ONLY!Please keep in mind that I doNOTencourage breaking any sort of security on websites.bingx-headers-generatorBingX Headers Generator is an python library which generates for you all required headers to make requests to BingX API endpointsInstallationpip install bingx-headers-generatorExamplesfrombingx_headers_generatorimportBingXHeadersGenerator# btw as I recently checked generator works even with wrong app_version but I left that option in advance of BingX API changesbingx_headers_generator=BingXHeadersGenerator("4.72.31","1020975128917528579","1052672282142707717",)# you can only generate headers##### AVAILABLE BASE_URLS: ###### CURRENT POSITIONS FOR STANDARD ACC -> https://bingx.com/api/v1/copy-trade/traderContractHold# CURRENT POSITIONS FOR PERPETUAL or FUTURES ACC -> https://bingx.com/api/copytrade/v2/real/trader/positions# TRADE HISTORY -> https://bingx.com/api/v3/trader/orders/v3headers=bingx_headers_generator.generate_headers("https://bingx.com/api/v3/trader/orders/v3")How did I find out how to generate headers?In one of their site files(https://bin.bb-os.com/_nuxt/1491b29.js) I found interesting function -function wt(e)Go check it and you follow other functions that are called inwt()and I'm sure you will start to understand the whole process of generating headers
Package: binhash
Compression Techniques for sparse binary dataIn DevelopmentPrerequisitesPython 2.7 or higherNumPyscikit learnLibraries: [Pickle], [random], [re]Usagefrom BinHash import hasher
corpus = 'path_to_the_folder_containing_documents'
d = 10000
k = 500
myhasher = hasher(corpus, d, k)
sample_text = "this is a sample text"
sample_hash = myhasher.hash_text(sample_text)CitationPlease cite these papers in your publications if it helps your research@inproceedings{DBLP:conf/pakdd/PratapSK18,
  author    = {Rameshwar Pratap and
               Ishan Sohony and
               Raghav Kulkarni},
  title     = {Efficient Compression Technique for Sparse Sets},
  booktitle = {Advances in Knowledge Discovery and Data Mining - 22nd Pacific-Asia
               Conference, {PAKDD} 2018, Melbourne, VIC, Australia, June 3-6, 2018,
               Proceedings, Part {III}},
  pages     = {164--176},
  year      = {2018},
  crossref  = {DBLP:conf/pakdd/2018-3},
  url       = {https://doi.org/10.1007/978-3-319-93040-4\_14},
  doi       = {10.1007/978-3-319-93040-4\_14},
  timestamp = {Tue, 19 Jun 2018 09:13:55 +0200},
  biburl    = {https://dblp.org/rec/bib/conf/pakdd/PratapSK18},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}


@inproceedings{compression,
 author    = {Rameshwar Pratap and
               Raghav Kulkarni and
		Ishan Sohony},
  title     = {Efficient Dimensionality Reduction for Sparse Binary Data},
  booktitle = {IEEE International Conference on BIG DATA, Accepted},
  year      = {2018}
}
Package: binho-host-adapter
Binho Host Adapter Python LibrariesIntroductionCross-platform Python 3.x library for automated control of Binho Multi-Protocol USB Host Adapters. More information about the device can be found athttps://www.binho.ioDependenciesThis library requirespySerialfor cross-platform access of the serial port. This library will be installed automatically by pip, however for easy reference, this can be manually installed simply by running the following command:pip install pyserialInstallationThis library can be installed easily with the following command:pip install binho-host-adapterExample UsagefrombinhoHostAdapterimportbinhoHostAdapterfrombinhoHostAdapterimportbinhoUtilitiesprint("Demo Script with Binho Host Adapter Python Libraries")printdevices=binhoUtilities.listAvailableDevices()iflen(devices)==0:print("No Devices Found!")exit()eliflen(devices)==1:COMPORT=devices[0]print("Found 1 attached adapter @ "+devices[0])printelse:COMPORT=devices[0]print("Found more than 1 attached adapter, using first device found on "+COMPORT)printprint("Opening "+COMPORT+"...")print# create the binhoHostAdapter objectbinho=binhoHostAdapter.binhoHostAdapter(COMPORT)print("Connecting to host adapter...")print(binho.getDeviceID())printDocumentationThe full set of documentation for this python library can be found athttps://support.binho.io/python-libraries
Package: binilla
BinillaBinilla is a universal, GUI based, binary structure editor forsupyr_struct. Binilla is capable of generating editing interfaces for any binary structures defined with the supyr_struct library. Meta data can be embedded into the supyr_struct descriptors to customize the way Binilla displays the structures. This includes specifying custom widgets, field value ranges, visibility of fields, whether a field can be edited, comments, tooltips, field units, and more.Below are a few versions of Binilla displaying various structures. Even the configuration window is generated from a supyr_struct structure definition.InstallingYou'll need Python 3.5 or higher.In your terminal execute:python3-mpipinstallbinillaor, you can clone/download this repo and run the setup.py:gitclonegit@github.com:Sigmmma/binilla.gitcdsupyr_struct
python3-mpipinstall.Who do I talk to?If you're having any issues with the library you can report them on ourGitHub Issues page.If the issue requires some more direct attention we'll drop a contact link.
Package: bink
Blade Ink Python provides bindings for the Inkle’s Ink <https://github.com/inkle/ink>, a scripting language for writing interactive narratives.Blade Ink is fully compatible with the reference version and supports all its language features.To learn more about the Ink language, you can check the official documentation <https://github.com/inkle/ink/blob/master/Documentation/WritingWithInk.md>.
Package: binks
# binks![PyPI](https://img.shields.io/pypi/v/binks)
![APM](https://img.shields.io/apm/l/binks)> A simple WSGI web server.## PrerequisitesPython >= 3.6werkzeug_raw## Install`sh pip install binks `## Usage`sh binks--host127.0.0.1--port8080-w5--appexample.wsgi:app `## Author
👤xdd1874GitHub: [@Caratpine](https://github.com/Caratpine)## Show your support
Give a ⭐️ if this project helped you!## 📝 LicenseCopyright © 2019 [xdd1874](https://github.com/Caratpine).<br />
This project is [MIT](https://github.com/Caratpine/binks/blob/master/LICENSE) licensed.## Shout out to[Gunicorn](https://github.com/benoitc/gunicorn)[Shadowsocks](https://github.com/shadowsocks/shadowsocks/tree/master)—
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
Package: binlist
# Python BINlist[![Codacy Badge](https://api.codacy.com/project/badge/Grade/86eb561a4ca74b038b058bc12e8e0409)](https://www.codacy.com/app/PatDuJour/python-binlist?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=PatDuJour/python-binlist&amp;utm_campaign=Badge_Grade)The Python BIN-list library provides convinent PCI compliant methods to lookup credit card BIN/IIN to help youunderstand your credit card charges by enriching your customer's card data while maintaing (outside of) PCI compliance.It includes a pre-defined set of classes that represents Card Issuing Networks(American Express, Visa, etc.) with the most up-to-datepulished IIN rules.## InstallationBINlist is distributed on PyPI. The best way to install it is with pip:`pip install binlist`If you want to contribute and need access to the source code, then install from source with:`python setup.py install`## Requirements* Python 2.7+ or Python 3.4+## Usage```from binlist import BIN# lookup card number's issuing networkBIN("5454").lookup()```## DevelopmentShow help message:`make help`Run tests the default Python`make test`Run all tests on all supported Python versions:`make test-all`Run linter(flake8) with`make lint`=======History=======0.1.0 (2019-02-25)------------------* First release on PyPI.
Package: binlog
binlogA rust library for creating and managing logs of arbitrary binary data. Presently it's used to collect sensor data. But it should generally be helpful in cases where you need to store timeseries data, in a nearly (but not strictly) append-only fashion.The underlying storage of logs are pluggable via a fewtraits. Binlog includes built-in implementations via sqlite, redis, and in-memory-only. Additionally, python bindings allow you to use (a subset of) binlog from python.UsageFrom RustA small example:usebinlog::{Entry,Error,Range,RangeableStore,SqliteStore,Store};usestd::borrow::Cow;usestring_cache::Atom;/// Demonstrates the sqlite store, with results in `example.db`. You may want to delete that before/// running this to see the results of this on an empty database.fnmain()->Result<(),Error>{// Create a new datastore with sqlite backing. The result will be stored in example.db, with// default compression options. In-memory is also possible via// `binlog::MemoryStore::default()`.letstore=SqliteStore::new("example.db",None)?;// Add 10 entries.foriin1..11u8{letentry=Entry::new_with_timestamp(iasi64,Atom::from("sqlite_example"),vec![i]);store.push(Cow::Owned(entry))?;}// Queries are done via `range`. Here we grab entries with any timestamp and any name.letrange=store.range(..,Option::<String>::None)?;// Count the number of entries.println!("initial count: {}",range.count()?);// We can also iterate on the entries.forentryinrange.iter()?{println!("entry: {:?}",entry?);}// Remove the entries with 4 <= ts <= 6 and with the name `sqlite_example`.store.range(4..=6,Some(Atom::from("sqlite_example")))?.remove()?;// Now get the range of entries with 5 <= ts and with the name `sqlite_example`.letrange=store.range(5..,Some(Atom::from("sqlite_example")))?;println!("count after range deletion: {}",range.count()?);forentryinrange.iter()?{println!("entry: {:?}",entry?);}Ok(())}From PythonA small example:frombinlogimportbinlogstore=binlog.SqliteStore("example.db")store.push(binlog.Entry(1,"pytest_push",[1,2,3]))StoresStores implement theStoretrait, and zero or more optional extensionsdepending on their supported functionality. A few stores implementations are built-in tobinlog:In-memory-onlyThe in-memory-only store has no means of persistence, but offers the full log functionality. This is also used internally for fuzzing other implementations against.RedisThe redis implementation is enableable via theredis-storefeature. Under the hood, it uses redis streams. It supports subscriptions, but not ranges.SqliteThe sqlite implementation is enableable via thesqlite-storefeature. It supports ranges, but not subscriptions.TestingUnit testsTests can be run viamake test. This will also be run in CI.BenchmarksBenchmarks can be run viamake bench.FuzzingA fuzzer is available, ensuring the the sqlite and in-memory datastores operate identically. Run it viamake fuzz.ChecksLint and formatting checks can be run viamake check. Equivalent checks will also run in CI.