Saravanan666/pypi-org huggingface dataset:
Package: bsddb3
This module provides a nearly complete wrapping of the Oracle/Sleepycat C API
for the Database Environment, Database, Cursor, Log Cursor, Sequence and
Transaction objects, and each of these is exposed as a Python type in the
bsddb3.db module. The database objects can use various access methods: btree,
hash, recno, and queue.  Complete support of Berkeley DB distributed
transactions. Complete support for Berkeley DB Replication Manager. Complete
support for Berkeley DB Base Replication. Support for RPC.Please see the documents in the docs directory of the source distribution or at
the website for more details on the types and methods provided. The goal is to
mirror most of the real Berkeley DB API so fall back to the Oracle Berkeley DB
documentation as appropriate.If you need to support ancient versions of Python and/or Berkeley DB , you can
use old releases of this bindings.Homepage–Releases (changelog)–Documentation–Mailing List–DonationWarningThis library is deprecated. If you are running Python 3 >= 3.6, please
upgrade toberkeleydblibrary.
Checkdetails.Take note that upgrading toberkeleydbis easy but not transparent.
Notably, keys and values arebytesinberkeleydblib, while in
‘bsddb3’ they arestrings. You would only need to change your code to
add or remove type encoding/decoding, depending of how you use the library.
The process should be simple, nevertheless.
Package: bsdf
Python implementation of the Binary Structured Data Format (BSDF).BSDF is a binary format for serializing structured (scientific) data.
Seehttp://bsdf.iofor more information.This is the reference implementation, which is relatively relatively
sophisticated, providing e.g. lazy loading of blobs and streamed
reading/writing. A simpler Python implementation is available asbsdf_lite.py.This module has no dependencies and works on Python 2.7 and 3.4+.Note: on Legacy Python (Python 2.7), non-Unicode strings are encoded as bytes.
Package: bsdgames
modify from official repo 2016/01/13just for automatic lib manage__in setup.py:84, fillin the depend *libs that need < pip install * > before,then run <pip install kkk>, pip will resolve these dependence automatically. ____this module just include two libs,explore weblibrary && moblielibrary for depdence detials.  __A sample project that exists as an aid to thePython Packaging User Guide’sTutorial on Packaging and Distributing
Projects.This projects does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.This is the README file for the project.The file should use UTF-8 encoding and be written using ReStructured Text. It
will be used to generate the project webpage on PyPI and will be displayed as
the project homepage on common code-hosting services, and should be written for
that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not
a good idea, although a simple “What’s New” section for the most recent version
may be appropriate.
Package: bsdict
AboutBSDict is a dictionary for Python that supports the following objects as keys:None,bool, int, float (including math.nan), complex,str, bytes, bytearray,list, tuple, dict, set, frozenset,numpy.ndarray (bool, int, float, complex).Internally, a total lexicographical order is defined over all supported objects. A sorted array is then used for storage, and binary search is used for element lookup.BSDict can be initialized in-memory or on-disc (persistent storage). If BSDict is initialized on-disc, then keys and values are stored in memory only as long as the client application has any references to them. So, the dictionary can be larger than available RAM.Basic UsageIn-memory dictionary:frombsdictimportbsdictimportnumpyasnpdata=bsdict()key={'s1':np.array([1.0,10.0,np.nan])}data[key]=5dataOn-disc dictionary:frombsdictimportbsdictdata=bsdict(datadir='cache')# ...data.clear()MemoizationBSDict has been originally written to help memoize functions that accept complex data structures, including floating-point data, as arguments. (Such functions are common in data analysis.) This package includes a simple memoization wrapper that uses BSDict for caching the results.fromtimeimportsleepfrombsdictimportmemoizercached=memoizer(verbose=True)# Persistent memoization#cached = memoizer(datadir = 'cache', verbose = True)@cacheddefmysum(x,y):print("Computing a challenging math problem...")sleep(1)returnx+yz=mysum(1,2)z=mysum(1,2)WarningThis is the first official release. Bug reports are welcome. (There are extensive test suits in the package, however.)Technical NotesA simpler way to support arbitrary keys would be to pickle them and store their binary representation in a dictionary. There are two minor issues with approach. Firstly, identical dictionaries and sets might be serialized differently depending on the order in which they were composed (So they need to be recursively sorted). Secondly, numerical algorithms than run on multiple processes or on multiple machines might break floating-point determinism. If it desirable to consider nearly identical numbers as the same number, then with binary search that would possible, while with serialization that won't work. Then again, lexicographical ordering of vectors in inconsistent with near-match lookups, meaning that it would work fine often but not always. If you need near-match lookups, let me know, I'll add them as an option then.
Package: bsdiff4
The code is mostly derived from cx_bsdiff (written by Anthony Tuininga,http://cx-bsdiff.sourceforge.net/).  The cx_bsdiff code in turn was derived
from bsdiff, the standalone utility produced for BSD which can be found
athttp://www.daemonology.net/bsdiff.
In addition to the two functions (diff and patch) cx_bsdiff provides, this
package includes:an interface to the BSDIFF4-formatcommand line interfaces: bsdiff4 and bspatch4testsThe bsdiff4 package defines the following high level functions:diff(src_bytes, dst_bytes)-> bytesReturn a BSDIFF4-format patch (fromsrc_bytestodst_bytes) as
bytes.patch(src_bytes, patch_bytes)-> bytesApply the BSDIFF4-formatpatch_bytestosrc_bytesand return
the bytes.file_diff(src_path, dst_path, patch_path)Write a BSDIFF4-format patch (from the filesrc_pathto the
filedst_path) to the filepatch_path.file_patch(src_path, dst_path, patch_path)Apply the BSDIFF4-format filepatch_pathto the filesrc_pathand write the result to the filedst_path.file_patch_inplace(path, patch_path)Apply the BSDIFF4-format filepatch_pathto the filepathin place.Example:>>>importbsdiff4>>>a=100000*b'a'>>>b=bytearray(a)>>>b[100:106]=b' diff '>>>p=bsdiff4.diff(a,bytes(b))>>>len(p)154>>>bsdiff4.patch(a,p)==bTrue
Package: bsdotpy
BSDotPyBSDotPy, A module to get a bombsquad player's account data from bombsquad's servers.BadgesProvided By:shields.ioAcknowledgementsIssuesPull RequestsView Project On PyPIAuthors@Rudransh JoshiInstallationEasiest way is to install bsdotpy with pippipinstall-UbsdotpyUsage / ExamplesAs mentioned in the bombsquad's server builds, you might need to show stats of the players playing in your server's website, instead of usinghttp://bombsquadgame.com/accountquery?id={YOUR_UNIQUE_ID}api and manually reformating the data, you can use this api wrapper to do everything for you automatically. Currently, the below four parameters are returned by API.To get your account id, enter 'getaccountid' in BombSquad Application's Settings -> Advanced -> Enter Code.frombsdotpyimportBombSquadServerserver=BombSquadServer()# Instantiates a BombSquadServer object which will interact with bombsquad's server.unique_id="pb-IF4rVEQCKg=="# Unique ID must be valid else an error will be thrownplayer=server.get_player_data(unique_id)# Returns a bsdotpy.BombSquadPlayer objectprint(player.name)# Prints the player's name returned by bombsquad server's api>>>'꧁༒Firͥe Heͣaͫd༒꧂'print(player.unique_id)# Prints unique id of the player>>>'pb-IF4rVEQCKg=='print(player.icon_url)# Prints the url to the icon the player has>>>'http://bombsquadgame.com/img/char/30.png'print(player.created_at)# Prints a datetime.datetime object of when the player was created>>>2020-02-1717:10:50print(repr(player))# Prints the class object representation of the BombSquadPlayer object>>><BombSquadPlayerunique_id='pb-IF4rVEQCKg==',name='꧁༒Firͥe Heͣaͫd༒꧂',icon_url='http://bombsquadgame.com/img/char/30.png',created_at='2020-02-17 17:10:50'>ContributingContributions are always welcome!Fork this repository.Make the changes in your forked repositry.Make sure to fetch upstream before generating a PR.Generate a pull request.Please adhere to the GitHub'scode of conductfor contributions and contributors.LicenseApache License 2.0
Package: bsdownloader
Beat Saber - DownloaderAllows you to download songs, which gives mostPP. And creates playlist with that songs, sorted by given PP.How to use on WindowsDownload program fromReleasespage, unpack and run it.Select your game folder and enter how many songs you want to download. PressStartand wait until program writeDone!.Songs will be automatically downloaded fromBeatSaverand unpacked to CustomLevels folder.Install from PyPI (for all other systems)You need Python 3.7 or laterInstall app from PyPI:pip install bsdownloaderAnd run it by commandbsdownloaderorbs-downloaderHow to build from sourceYou can build standalone app using PyInstaller. Install PyInstaller first:pip install pyinstallerInstall dependencies:pip install -r requirements.txtBuild app:pyinstaller --window --onefile --name bs-downloader ./start.pyExecutable file will be indistfolder.
Package: bse
BseIndiaApiAn Unofficial Python Api for BSE India stock exchange.Python version: >= 3.8Install with PIPpip install -U bseDocumentationhttps://bennythadikaran.github.io/BseIndiaApi/You might likestock-newsbuilt usingBseIndiaApi. It helps to keep track of corporate announcements and actions on your portfolio.UsageUsing with statementfrombseimportBSEwithBSE(download_folder='./')asbse:scripCode=bse.getScripCode('tcs')# 532540 bse scrip codedata=bse.actions(scripcode=scripCode)ohlc=bse.quote(scripCode)# Open, High, Low, LTPorfrombseimportBSEfrombse.constantsimportINDEXbse=BSE(download_folder='./')code=bse.getScripCode('tcs')# 532540 bse scrip codegainers=bse.gainers(by='index',name=INDEX.BSE500)bse.exit()# close the request sessionSample Responsessrc/samplescontain the sample responses from the various methods in JSON format.The files are named after the corresponding method insrc/BSE.py. Use it to understand the API response structure.Example Foldersrc/examplescontains scripts that use theBSE.py.To use the scripts download or clone the repo.get_all_announcements.py: This file demonstrates how to paginate and get all announcements usingBSE.announcements. It has step by step explanation of code.actions.py:py actions.py infyto print the recent corporate actions. Nothing more.advances.py:py advances.pyto print the advance decline ratios for various bse Indexes.You may also like my other repo:Stock-News- It uses BseIndiaApi and displays stock announcements, dividend, bonus/splits and upcoming results etc for your portfolio or watchlist stocks.
Package: bsearch
BsearchBinary search in python with more flexible comparisons.InstallationpipinstallbsearchUsagebisect_leftandbisect_rightare backwards compatible with thebisectlibrary. For example:frombsearchimportbisect_lefta=[1,2,3,4,5]i=bisect_left(a,4)# returns 3You can use thekeyoption to search arrays of different typesfrombsearchimportbisect_lefta=[(1,100),(2,100),(5,200)]# using the first element of the tuple as the keyi=bisect_left(a,2,key=lambdax:x[0])# returns 1To search descending list, use the wrapperbinary_search, and provide an operator. This will return the smallestisuch thatop(a[i], v)frombsearchimportbinary_searcha=[5,4,3,2]i=binary_search(a,4,op=lambdaab:a>=b)# returns 1
Package: bsedata
bsedataPython library for extracting real-time data from Bombay Stock Exchange (India).Tests onmasterbranchTests ondevbranchCode coverageDocumentationIntroductionbsedata is a library for collecting real-time data from Bombay Stock Exchange (India). It can be used in various types of projects which require getting live quotes for a given stock or index or build large data sets for data analysis.The data is as accurate as provided on theBSE website.Please do not use this application for production usage. It is best used for learning and building application for your own use. For commercial application you better buy a data service.This library uses MIT license hence liability lies with the user and not the author of the application.As per India's IT act it is no where mentioned that we cannot scrape a website. It's up to me whether I consume the publicly available data "visually" or through my programme or using some kind of "web reader". As long as data you are scrapping is available in public domain and you are not breaching security and accessing data of private nature with malicious intent, it cannot be termed as illegal.But it can certainly be termed "unethical" (which is equally bad) since you are damaging the service itself. Hence be prudent about how much stress you cause to the backend. BSE's website is very capable and even they will not mind if someone is scrapping their website for educational purposes.FeaturesGetting live quotes using stock codes in Python dicttionariesGetting list of top losersGetting list of top gainersGetting quotes for all the indices traded in BSEHelper APIs to check whether a given stock code or index code is correctGetting list of all indices and stocksRoadmapGet details of an individual indexComplete unit test coverageDaily OHLCV dataDependenciesBeautifulSoup 4RequestslxmlA working internet connection :wink:UsageRefer the documentation athttps://bsedata.readthedocs.io/en/latest/usage.htmlChange LogRefer the documentation athttps://bsedata.readthedocs.io/en/latest/chglog.htmlLicenseMIT LicenseCopyright (c) 2018 - 2023 Shrey DabhiPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: bselib
bselibPython library for extracting real-time data from Bombay Stock Exchange (India).Introductionbselib is a library that collects real-time data from Bombay Stock Exchange (India) and
historical data from some other sites. It can be used in various types of projects which
require getting live quotes, historical data at some extent, corporate news and their actions,
ratios, financial statements, credit reports and analysis. Stock simulator and Portfolio management for an exampleThe quote is as accurate as provided on theBSE website.Please do not use this application for production usage. It is best used for learning and building application for your own use. For commercial application you better buy a data service.This library uses MIT license hence liability lies with the user and not the author of the application.Features:Getting live quotes using companies script codes.Getting script codes by search.Getting list of top gainers and losers.Getting quotes for all the stocks listed on BSE.Getting historical summary of corporate's quarterly results, balance sheets, profit-loss and cash-flow statements.Getting analysis of finacial statements, quarterly and  annual results, balacesheets and cashflows.Getting information about corporate's board meetings, dividends, bonus, splits, and rights issued.Getting links of credit reports from ICRA and CARE rating agencies.Getting corporate's shareholding information.Getting corporate's and it's peer's comparisons.Getting links of histoarical annual results.Getting news related to corporate.Getting different financial ratios of corporate.Getting analysis regarding corporates performance and valuation.Getting corporates basic business information.UsageRefer the documentation athttps://bselib.readthedocs.io/en/latest/DependenciesBeautifulSoup 4RequestsPandasHtml5lilbA fast internet connection.AcknowledgementEknath Salvi SirLicenseMIT LicenseCopyright (c) 2020 Sachin KahandalPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: bseq
bseqPython package for handling biological sequences and alignmentsQuickstartInstall bseqpipinstallbseqNucleotide sequence into FASTA formatfrombseq.sequenceimportNuclSequenceseq=NuclSequence('test_seq_name','GATTACA',description='Test nucleotide sequence')print(seq.fasta_format())Import alignment from filefrombseq.readerimportread_fasta_alignmentaln=read_fasta_alignment('/Users/Me/Downloads/seq.aln.fasta',seq_type='nucleotide',name='test_alignment',description='Test alignment for bseq')Overviewbseq helps biologists import and manipulate biological sequences such as nucleotides,
amino acids, and codons. Unlike other bioinformatics packages in Python, bseq solely focuses
on analyzing and manipulating sequences and alignments.Dependenciesbseq usesnumpyfor many alignment operations, andnoseto test its source code. When usingpipto installbseq, pip will automatically installnumpyandnose.
Package: bser-python-client
BSER Python API Client블랙서바이벌: 영원회귀 openapi를 위한 Python API Client 입니다.A Python API Client forBlack Survival: Eternal Return openapi.RequirementsPython 3.6 or higherrequestsInstallation$ pip install bser-python-clientIf you use pipenv,$ pipenv install bser-python-clientExampleBefore run examples,$ python setup.py developAnd then,frombser_clientimportBserAPIClientapi_client=BserAPIClient(api_key='your_token',version='v1')characters=api_client.fetch_meta_data(meta_type='Character')forcharacterincharacters:print(character.get('name'))More examples
Package: bservices
A server service library Based onoslo.service.WSGI Server:Handle the WSGI request.Seehttps://github.com/xgfone/bservices/blob/master/bservices/examples/wsgi_server_example.pyTCP  Server:Handle the TCP request.Seehttps://github.com/xgfone/bservices/blob/master/bservices/examples/tcp_server_example.pyPool Server:Handle the you-defined request.Seehttps://github.com/xgfone/bservices/blob/master/bservices/examples/pool_server_example.pyTask Server:Handle the task.Seehttps://github.com/xgfone/bservices/blob/master/bservices/examples/task_server_example.py
Package: bshare
bshareA command line bluetooth file sharing application for Linux.InstallationLinux packages required:bluetoothlibbluetooth-devbluez-toolsInstall as:$ sudo apt-get install bluetooth libbluetooth-dev bluez-toolsTo install bshare, simply,$ pip install bshareUsageHelp command:$ bshare -h

usage: bshare.py [-h] [-a address] [-s address] [-d] [-l]

A simple bluetooth file sharer!

optional arguments:
  -h, --help            show this help message and exit
  -a address, --addr address
                        Connect to bluetooth device with specified Bluetooth
                        address.
  -s address, --set address
                        Set default Bluetooth address.
  -d, --default         Shows the default bluetooth address.
  -l, --list            Shows all the added bluetooth devices identified by your
                        device.To list all the added buetooth devices:$ bshare -l

Added devices:
Windows Phone (9C:6C:15:01:EA:41)
Videocon V1550 (00:67:1B:BA:7F:B2)To share files with a device by specifying its bluetooth address:$ bshare -a F4:F5:24:B2:D9:7DTo set a bluetooth address as default (for quick sharing):$ bshare -s F4:F5:24:B2:D9:7D

Default bluetooth address was changed to F4:F5:24:B2:D9:7DNow, to share files with device having default bluetooth address,
simply:$ bshareTo show default bluetooth address:$ bshare -d

Default bluetooth address: F4:F5:24:B2:D9:7D
Package: bshlocal
Bosch Smart Home Local API Python LibraryThis library implements the local communication REST API for the Bosch Smart Home system.
The API documentation is availablehere.
It supports both long and short polling. The following device services are implemented:TemperatureLevelValveTappetShutterContactRoomClimateControlExample:importbshlocal# Create sessionsession=bshlocal.BSHLocalSession(controller_ip="192.168.25.51",certificate='cert.pem',key='key.pem')device=session.device('roomClimateControl_hz_5')service=device.device_service('TemperatureLevel')print(service.temperature)# Update this service's stateservice.short_poll()# Start long polling thread in backgroundsession.start_polling()# Do work here...# Stop pollingsession.stop_polling()
Package: bshot
bshotPython package to take screenshots of windows that are in backgroundInstallationpip install bshotUsageimportcv2importwin32guifrombshot.screenshotimportget_imagehwnd=win32gui.FindWindow(None,"Untitled - Notepad")img=get_image(hwnd,method="srccopy")# windll and srccopy methodscv2.namedWindow("bshot",cv2.WINDOW_NORMAL)cv2.imshow("bshot",img)cv2.waitKey(0)BenchmarkThe speed of the capture depends on the size of the window that is being captured.
It can caputre 220x160 window with 2400+ fps.importtimeimportwin32guifrombshot.screenshotimportget_imagehwnd=win32gui.FindWindow(None,"Untitled - Notepad")start=time.time()count=0whiletime.time()-start<1:get_image(hwnd,method="srccopy")count+=1print("fps =",count)LimitationsThe screenshot module uses GetClientRect which can crop some portion of the window contents.
Package: bsif
ContentsSupportDocumentationInstallationSee AlsoUnISOS Sub-LayerBISOSBISOS Functional AreasBSIF (ByStar Shell-based/bash-based Integration Facilities) Namespace: A
name base for a collection of bash libraries and bash commands for
autonomous services intgration.SupportFor support, ideas, suggestions, criticism, comments and questions;
please contact the author/maintainerMohsen Bananat:http://mohsen.1.banan.byname.net/contactDocumentationPart of ByStar Digital Ecosystemhttp://www.by-star.net.This module’s primary documentation is inhttp://www.by-star.net/PLPC/180047Installationpip install bsipSee AlsoUnISOS Sub-Layerunisos unisos.ucf unisos.icm unisos.commonBISOSbisos bisos.common bisos.basesBISOS Functional AreasMARME – Multi-Account Resident Mail ExchangerGOSSON – Generalized Open-Source SON (Self Organizing Networks)