Saravanan666/pypi-org huggingface dataset:
Package: rbintegrations
Review Board IntegrationsThis extendsReview Board5.0+ with support for integrating with
third-party services, like Slack or automated code review services.The latest supported version is automatically installed as part of Review
Board 5.0+, but maintained and released separately, allowing administrators to
get the latest and greatest integration support without having to update
Review Board.IntegrationsSeveral integrations are provided out of the box, with more planned for future
releases. See the links below for a description of each integration and
instructions.ChatDiscordMatrixMattermostSlackContinuous IntegrationCircleCITravis CIJenkinsTask TrackingAsanaTrelloStatus TrackingI Done ThisGetting SupportWe can help you get going with Review Board, and diagnose any issues that may
come up. There are two levels of support: Public community support, and
private premium support.The public community support is available on our maindiscussion list. We
generally respond to requests within a couple of days. This support works well
for general, non-urgent questions that don’t need to expose confidential
information.We can also provide morededicated, private supportfor your organization through a support contract. We offer same-day responses
(generally within a few hours, if not sooner), confidential communications,
installation/upgrade assistance, emergency database repair, phone/chat (by
appointment), priority fixes for urgent bugs, and backports of urgent fixes to
older releases (when possible).Our Happy UsersThere are thousands of companies and organizations using Review Board today.
We respect the privacy of our users, but some of them have asked to feature them
on theHappy Users page.If you’re using Review Board, and you’re a happy user,let us know!.Reporting BugsHit a bug? Let us know byfiling a bug report.You can also look through theexisting bug reportsto see if anyone
else has already filed the bug.ContributingAre you a developer? Do you want to add new integrations or improve our
existing integrations? Great! Let’s help you get started.First off, we have some handy guides:Extending Review BoardContributor GuideWe accept patches to the integrations, Review Board, RBTools, and other
related projects onreviews.reviewboard.org. (Please note that we do not accept pull
requests.)Got any questions about anything related to Review Board and development? Head
on over to ourdevelopment discussion list.Related ProjectsReview Board-
Our powerful, open source code review tool.Djblets-
Our pack of Django utilities for datagrids, API, extensions, integrations,
and more. Used by Review Board.Review Bot-
Pluggable, automated code review for Review Board.
Package: rbIotModem
Ringbeller IoT - Python bindingsPrerequisitesRequirements:Raspberry Pi OS (Buster)Python3.7Install dependencies# Install SWIG and dependencies$sudoapt-getinstall-yswigpython3.7python3.7-dev# Install python dependencies$python3.7-mpipinstall--user--upgradepipsetuptoolswheeltwine# Install audio packages$sudoapt-getinstall-ylibasound2-devlibsndfile1-devInstallation# Local installation$makeinstall# Installation via PyPI$pip3install--upgraderbIotModemUsage# Import modem library.fromrbIotModemimportrbIotModem# Instantiate modem library.ec25=rbIotModem.EC25()APIThis module exposes the following functionsec25.initialize(int verbose, bool debug, string serialPort, string audioDevice)Setverboselogging level.Setdebugsimulation value.SetserialPortname.(Optional) Set input/outputaudioDevicename.ec25.on()Turns on and connects to the modem.ec25.off()Turns off modem.ec25.restart()Restarts modem.ec25.connect()Connects to the modem.ec25.disconnect()Disconnects from the modem.ec25.configure()Turns on modem.Connects to the modem.Configures modem.ec25.sendSMS(string number, string message)Sends an SMS containingmessagetonumber.ec25.receiveSMS()Returnssmswith unread SMS.ec25.placeVoiceCall(string number)Places an outgoing voice call tonumber.ec25.receiveVoiceCall()Receives an incoming voice call.ec25.getCallStatus()ReturnsTruewhen call is ongoing.ec25.endCall()Ends an active voice call.ec25.beginAudioPlayback(string playbackFile)PlaysplaybackFileto the active voice call.ec25.waitForAudioPlayback()Waits until audio stops playing (blocking function).ec25.endAudioPlayback()Stops playing audio to the active voice call.ec25.beginAudioRecording(string recordFile)Records audio from the active voice call torecordFile.ec25.endAudioRecording()Stops recording audio from the active voice call.ec25.sendMMS(MmsConfiguration mmsConfig, string recipient, string cc, string bcc, string title, string attachment)Sets MMS configuration settings tommsConfig.Sends an MMS withtitleandattachmenttorecipient,cc&bcc.ec25.getKeypadInput(int length, string audioFile)(Optional) PlaysaudioFileto the active voice call.Returns keypadinputoflength.
Package: rbiparser
# rbiparserA utility for downloading, parsing and sanitizing bank database (IFSC, MICR, address etc.) Excel sheets from the [RBI website](https://www.rbi.org.in/scripts/bs_viewcontent.aspx?Id=2009).### Installation.`pip install rbiparser`### Usage:```shell# Download the Excel files from the RBI website.rbiparser download -d "./xls"# Convert the downloaded files to CSV.rbiparser convert  -s "./xls" -d "./csv"# Combine the CSV records into one master file.rbiparser combine -s "./csv" -d "data.csv"# Help for individual commandrbiparser combine --help# Apply advanced clean filtersrbiparser combine -s "./csv" -d "data.csv" -f```
Package: rbi-tree
Interval Tree for PythonThis is a Cython-wrapped red-black interval tree fromIvanPinezhaninov/IntervalTree/.To install:pip install rbi-treeExample usage:>>>fromrbi_tree.treeimportITree>>>t=ITree()>>>t.insert(60,80,value={'a':'b'})# start stop are integers>>>t.insert(20,40)>>>t.find(10,30)[(20,40,None)]>>>t.find(40,60)# half open so it gives nothing[]>>>t.find(40,61)[(60,80,{'a':'b'})]Classrbi_tree.tree.ITreedsupports interval deletion. This is done via
values assigned automatically and serving as IDs for intervals.>>>fromrbi_tree.treeimportITreed>>>t=ITreed()>>>id1=t.insert(60,80)# start stop are integers>>>id10>>>id2=t.insert(20,40)>>>id21Ids are incrementing integers starting from zero reflecting number
of insertion events.>>>t.find(10,30)[(20,40,0)]Ids of intervals can be used to remove them:>>>t.remove(1)>>>t.find(10,30)# now it finds nothing[]>>>t.find_at(70)# search at point[(60,80,0)]>>>list(t.iter_ivl())[(60,80,0)]
Package: rbkcli
rbkcliThis project provides a Command Line Interface (CLI) conversion of Rubrik APIs.
It can be used for both running commands or writing simplified scripts.InstallationInstall from PyPI:$ pip install rbkcli
$ echo 'eval "$(register-python-argcomplete rbkcli)"' >> ~/.bashrcExampleBy default, the rbkcli will attempt to read the the Rubrik Cluster credentials from the following environment variables:rubrik_cdm_node_iprubrik_cdm_usernamerubrik_cdm_passwordSo the commands to be run would be:$ export rubrik_cdm_node_ip=<IP>
$ export rubrik_cdm_username=<username>
$ export rubrik_cdm_password=<password>Once the above environment variables are exported with the authentication data,rbkcliwill dynamically create the command line based on the available APIs in that cluster.$ rbkcli cluster me
{
  "acceptedEulaVersion": "0.0",
  "apiVersion": "1",
  "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
  "latestEulaVersion": "1.1",
  "name": "MyCluster",
  "timezone": {
    "timezone": ""
  },
  "version": "4.2.2-1699"
}DocumentationQuick Start Guiderbkcli DocumentationRubrik API Documentation
Package: rblx-open-cloud
rblx-open-cloudrblx-open-cloud is a Python API wrapper forRoblox Open Cloud. It supports all experience and creator APIs, OAuth2, and incoming webhooks.Documentation:https://rblx-open-cloud.readthedocs.ioQuickstartGetting StartedInstall the library with pip in your terminal.pip install rblx-open-cloudCreate an API key from theCreator Dashboard. You can readManaging API Keysfor help.You've got the basics down, below are examples for some of the APIs.Accessing Data Storesimportrblxopencloud# create an Experience object with your experience ID and your api key# TODO: replace '13058' with your experience IDexperience=rblxopencloud.Experience(13058,api_key="api-key-from-step-2")# get the data store, using the data store name and scope (defaults to global)datastore=experience.get_data_store("data-store-name",scope="global")# sets the key 'key-name' to 68 and provides users and metadata# DataStore.set does not return the value or an EntryInfo object, instead it returns a EntryVersion object.datastore.set("key-name",68,users=[287113233],metadata={"key":"value"})# get the value with the key 'number'# info is a EntryInfo object which contains data like the version code, metadata, userids and timestamps.value,info=datastore.get("key-name")print(value,info)# increments the key 'key-name' by 1 and ensures to keep the old users and metadata# DataStore.increment retuens a value and info pair, just like DataStore.get and unlike DataStore.setvalue,info=datastore.increment("key-name",1,users=info.users,metadata=info.metadata)print(value,info)# deletes the keydatastore.remove("key-name")Publishing To Message ServiceNOTE: Messages published with Open Cloud only arrive in live game servers and not in Studio.importrblxopencloud# create an Experience object with your experience ID and your api key# TODO: replace '13058' with your experience IDexperience=rblxopencloud.Experience(13058,api_key="api-key-from-step-2")# publish a message with the topic 'topic-name'experience.publish_message("topic-name","Hello World!")Uploading AssetsNOTE: OnlyDecal,Audio, andModel(fbx) are supported right now.importrblxopencloud# create an User object with your user ID and your api key# TODO: replace '13058' with your user IDuser=rblxopencloud.User(13058,api_key="api-key-from-step-2")# or, create a Group object:group=rblxopencloud.Group(13058,api_key="api-key-from-step-2")# this example is for uploading a decal:withopen("path-to/file-object.png","rb")asfile:user.upload_asset(file,rblxopencloud.AssetType.Decal,"name","description")# this will wait until Roblox has processed the uploadifisinstance(asset,rblxopencloud.Asset):# if it's already been processed, then print the asset.print(asset)else:# otherwise, we'll go into a loop that continuosly checks if it's done.whileTrue:# this will try to check if the asset has been processed yetoperation=asset.fetch_operation()ifoperation:# if it has been print it then stop the loop.print(operation)breakExamples for more APIs are avalible in theexamplesdirectory.
Package: rbmce
RBMCE (Rule-Based Microbiology Concept Extractor):This code was developed to provide an open-source python package to extract clinical concepts from free-text semi-structured microbiology reports. The two primary outputs for this package are (1) an binary estimation of patient bacterial infection status and (2) a list of all clinically relevant microorganisms found in the report. These outputs were validated on two independent datasets and achieved f-1 scores over 0.95 on both outputs when compared to expert review. Full details on background, algorithm, and validation results can be seen at our paper here: (currently being written, will update once submitted to archive).🏠Homepage✨packageRequirements*python>=3.6.8
*pandas>=0.25.0InstallpipinstallrbmceUsageRecommended datastructure:the rbcme.run() function expects a pandas dataframe with the following elements (associated column names can be specified as kwargs):parsed_note:microbiology report txt in either a raw or (**perferable) chopped up into components (eg gram stain/growth report/ab susceptability)culture_id:a primary key tied to a given sample/specimen + microbiological exam order.Often a microbiology order can be tied to numerous components (eg gram stain/growth report/ ab susceptability). additionally these can be appended to same report or added as a new report tied to same sample + order. all of these tied to a sample+order should share same culture_idvisit_id:primary key for patient's visit/encountercan be 1-many:1 to culture_id or 1:1 (in which case can specify as culture_id)in some datasets a patient may have multiple cultures performed in a visit/encounter.Inline:importrbmce
importpandasaspdd={'parsed_note':'No Salmonella, Shigella, Campylobacter, Aeromonas or Plesiomonas isolated.','culture_id':1,'visit_id':1}df=pd.DataFrame(data=d,index=[1])rbmce.run(df)Command Line:see rbcme_run_example.py for example of an executable python file to import, format, process w/ rbmce, and save outputs (annotated dataframe, markdown_summary file)Run testsInlinefromrbmceimportdebugtest_str='No Salmonella, Shigella, Campylobacter, Aeromonas or Plesiomonas isolated.'debug.rbmce_str_in(test_str)Command Line:python-mrbmce.debug'No Salmonella, Shigella, Campylobacter, Aeromonas or Plesiomonas isolated.'Author👤Garrett Eickelberg🤝 ContributingContributions, issues and feature requests are welcome!Feel free to checkissues page. You can also take a look at thecontributing guideShow your supportGive a ⭐️ if this project helped you!CreditsMarkdown Readme Generator📝 LicenseThis project isMITlicensed.This README was created with themarkdown-readme-generator
Package: rbm-libpythonpro
#libpythonproMÃ³dulo para exemplificar construÃ§Ã£o de projetos Python no curso PyToolsNesse curso Ã© ensinado como contribuir com projetos de cÃ³digo abertoLink para o cursoPython ProSuportada versÃ£o 3 do Python.Para instalar:pip install pipenvpipenv install --devPara conferir qualidade de cÃ³digo:Para conferir a qualidade:pipenv run flake8TÃ³picos a serem abordados:GitVirtualenvPip
Package: rbn
Reverse Beacon Network client for PythonThis is both a library and cli tool, under the packagerbnInstallationpyRBN can be installed from PYPI:python3-mpipinstallrbnand imported as:importrbnCLI Usageusage: rbn [-h] -c CALLSIGN [-b {630m,160m,80m,60m,40m,30m,20m,17m,15m,12m,10m,6m,4m,2m}] [-m {cw,rtty,psk31,psk63,ft8,ft4}] [-f FILTER_CALL]

CLI frontend to the Reverse Beacon Network

optional arguments:
  -h, --help            show this help message and exit
  -c CALLSIGN, --callsign CALLSIGN
                        Your callsign
  -b {630m,160m,80m,60m,40m,30m,20m,17m,15m,12m,10m,6m,4m,2m}, --band {630m,160m,80m,60m,40m,30m,20m,17m,15m,12m,10m,6m,4m,2m}
                        Band to filter by (this can be passed multiple times)
  -m {cw,rtty,psk31,psk63,ft8,ft4}, --mode {cw,rtty,psk31,psk63,ft8,ft4}
                        Mode to filter by (this can be passed multiple times)
  -f FILTER_CALL, --filter-call FILTER_CALL
                        Callign to filter by (this can be passed multiple times)Example library usageThe__main__.pyfile is kept fairly simple as an example of using this library.
Package: rbnet
Recursive Bayesian NetworksThe Pythonrbnetpackage providing implementations of Recursive Bayesian Networks.Lieck R, Rohrmeier M (2021)Recursive Bayesian Networks: Generalising and Unifying Probabilistic Context-Free Grammars and Dynamic Bayesian Networks. In:Proceedings of the 35th Conference on Neural Information Processing Systems (NeurIPS 2021)@inproceedings{lieck2021RBN,
  title = {Recursive {{Bayesian Networks}}: Generalising and {{Unifying Probabilistic Context}}-{{Free Grammars}} and {{Dynamic Bayesian Networks}}},
  booktitle = {Proceedings of the 35th {{Conference}} on {{Neural Information Processing Systems}} ({{NeurIPS}} 2021)},
  author = {Lieck, Robert and Rohrmeier, Martin},
  year = {2021},
}If you are looking for the code to reproduce the results from the NeurIPS 2021 paper, have a look at the NeurIPS 2021 branchwithorwithoutdata.
Package: rbnf
RBNF: Parser Generator for Context Sensitive GrammarsTutorialsSeeJupyter Notebook.Previewrbnf.zero: solution to processing complex texts. Similar tore.See source filePoly.rbnf.# parse polynomials from text.importrbnf.zeroaszeze_exp=ze.compile("import poly.[*]",use='Poly')print(ze_exp.match("2x^2 + 3 + 4 - 7 x^5 + 4 x + 5 x ^2 - x + 7 x ^ 11").result)Then we got output[(0, 7), (1, 3), (2, 7), (5, -7), (11, 7)].CLI tool chains:λrbnf.exe--help
Availablecommands:ccrbnfsourcecodecompiler.-filename(positionalorkeywordarg):inputsourcefile-output(positionalorkeywordarg)=None:outputfilename.defaulttobe...-name(positionalorkeywordarg)='unname':nameoflanguagerunYoucanapplyimmediatetestsonyourparser.P.S:use`--opt`optiontakeslongerstartingtime.-filename(positionalorkeywordarg):pythonfilegeneratedby`rbnf`command,orrbnfsourfile-opt(positionalorkeywordarg)=False:optimizeswitch



λprintf"ignore [space]\nspace := R'\s+'\nterm := R'[^\s\(\)]+'\nsexpr ::= '(' sexpr* ')' | term">lisp.rbnf
λrbnfrunlisptype`:i`toswitchbetweenpythonmodeandparsingmode.
Thelastresultofparsingisstoredassymbol`res`.

runbnf>(add1(add2))sexpr[Tokenizer(name='auto_const',value='(',lineno=0,colno=0)sexpr[Tokenizer(name='term',value='add',lineno=0,colno=1)]sexpr[Tokenizer(name='term',value='1',lineno=0,colno=5)]sexpr[Tokenizer(name='auto_const',value='(',lineno=0,colno=7)sexpr[Tokenizer(name='term',value='add',lineno=0,colno=8)]sexpr[Tokenizer(name='term',value='2',lineno=0,colno=12)]Tokenizer(name='auto_const',value=')',lineno=0,colno=13)]Tokenizer(name='auto_const',value=')',lineno=0,colno=14)]runbnf>exitλrbnfcclisp.bnf-outputlisp.py
...RelatedRBNF could help to develop type checker:https://github.com/thautwarm/reFiningpython cli.py

reF> let x: 'a = 1 in
      fn x: 'a -> x ;;
=>  (int`2 => int`2)RBNF could help to develop programming languages:https://github.com/thautwarm/rmaltpython test.py

malt> let (%+) = (l, r) -> (l + r) % r;;
malt> let f = (a, b) -> a  + b;;
malt> f 1 2;;
=>  3
malt> f 1
      ;;
=>  Fn(b)<id=3061211909288>
malt> infix %+ 5;;
=>  5
malt> let (%+) = (l, r) -> (l % r) + r;;
malt> 5 %+ 6;;
=>  11EDSL in PythonTo be continue.RBNF's compiler(rbnf -> python or others) relies on bootstrap.Actually, in current version, bootstrap of RBNF is implemented in EDSL.Seerbnf bootstrap in Python.A snippet could be previewed here.rbnf=Language("RBNF")...@rbnfclassPrimitive(Parser):@classmethoddefbnf(cls):# @formatter:offreturnoptimize(C('(')+Or@"or_"+C(')')|C('[')+Or@"optional"+C(']')|Name@"name"|Str@"str")# @formatter:on@classmethoddefrewrite(cls,state:State):get=state.ctx.getor_:Parser=get('or_')optional:Parser=get('optional')......Other backendTo be continue.
Package: rbo
Rank-biased Overlap (RBO)This project contains a Python implementation of Rank-Biased Overlap (RBO) from: Webber, William, Alistair Moffat, and Justin Zobel. "A similarity measure for indefinite rankings." ACM Transactions on Information Systems (TOIS) 28.4 (2010): 20." (Download).Rank-biased Overlap (RBO)IntroductionUsageInstallation using pipComputing RBOComputing extrapolated RBODevelopmentIntroductionFor a more general introduction, please refer to this blogpost.RBO compares two ranked lists, and returns a numeric value between zero and one to quantify their similarity.
A RBO value of zero indicates the lists are completely different, and a RBO of one means completely identical. The terms 'different' and 'identical' require a little more clarification.Given two ranked lists:A = ["a", "b", "c", "d", "e"]
B = ["e", "d", "c", "b", "a"]We can see that both of them rank 5 items ("a", "b", "c", "d" and "e"), but with completely opposite order. In this case the similarity betweenAandBshould be larger than 0 (as they contain the same items, namely, conjoint), but smaller than 1 (as the order of the items are different). If there is third ranked listC = ["f", "g", "h", "i", "j"]which ranks 5 totally different items, then if we ask for the similarity betweenAandC, we should expect a value of 0. In such a non-conjoint case, we need to be able to calculate a similarity as well.The RBO measure can handle ranked lists with different lengths as well, with proper extrapolation. For example, the RBO between the listAand listD = ["a", "b", "c", "d", "e", "f", "g"]will be 1.UsageInstallation using pipTo install the RBO module to the current interpreter with Pip:pip install rboComputing RBOTheRankingSimilarityclass contains the calculation for the different flavours of RBO, with clear reference to the corresponding equations in the paper.
Below shows how to compute the similarity of two ranked lists S and T:In[1]:importrboIn[2]:S=[1,2,3]In[3]:T=[1,3,2]In[4]:rbo.RankingSimilarity(S,T).rbo()Out[4]:0.8333333333333334Accepted data types are Python lists and Numpy arrays.
Using Pandas series is possible using the underlying Numpy array as shown below. This restriction is necessary, because using[]on a Pandas series queries the index, which might not number items contiguously, or might even be non-numeric.In[1]:importpandasaspdIn[2]:importrboIn[3]:S=[1,2,3]In[4]:U=pd.Series([1,3,2])In[5]:rbo.RankingSimilarity(S,U.values).rbo()Out[5]:0.8333333333333334Computing extrapolated RBOThere is an extension of the vanilla RBO implementation, in which we extrapolate from the visible lists, and assume that the degree of agreement seen up to depth $k$ is continued indefinitely.This extrapolated version is implemented as theRankingSimilarity.rbo_ext()method.DevelopmentRefer to the Makefile for supplementary tasks to development, e.g., executing unit tests, or checking for proper packaging.
Please letmeknow if there is any issue.
Package: rbpy
rbpy===============================version number: 0.1.1author: Matt MaybenoOverview--------Python wrapper around the RelayBox API.Installation / Usage--------------------To install use pip:$ pip install rbpyOr clone the repo:$ git clone git@bitbucket.org:relaybox/rbpy.git$ python setup.py installExample-------```pythonfrom __future__ import print_functionimport jsonimport rbpybox = rbpy.Box('private_code_here', 'publid_id_here')box.send('hello world private message')box.send('hello world public message', public=True)box.get()  # gets box messagesprint(json.dumps(box.get(), indent=1))  # get box messages pretty```
Package: rbs-tui-dom
RBS TUI DOMThe RBS Terminal User Interface (TUI) framework.Installation & Usagepip install rbs-tui-domExamplesExample code lives in theexample/directory, and can be run directly after installation (python examples/hello_world.py) with the repository cloned.Overviewrbs-tui-dom aims to mirror a DOM-like programming environment within the curses library.We provide several conveniences such as:DOM elements with parent / child relationshipsStylingmargin, padding, border, color, etc.Events - both keyboard & mouseEvent propagationBlur & focusget_element_by_id()Automatic re-renderingBasic shell functionality
Package: rbt
rbtWhat is this?by: axinerrbtThis is a rbt.InstallationThis package can be installed using pip (>=Python3.8):pip install rbtCopyrightCopyright (c) 2022 axinerPermission 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.