Saravanan666/pypi-org huggingface dataset:
Package: rmcolor
Permission is hereby granted, free of charge, to any person obtaining a copy of thissoftware and associated documentation files (the "Software"), to deal in the Softwarewithout restriction, including without limitation the rights to use, copy, modify,merge, publish, distribute, sublicense, and/or sell copies of the Software, and topermit persons to whom the Software is furnished to do so, subject to the followingconditions:The above copyright notice and this permission notice shall be included in all copies orsubstantial 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 PARTICULARPURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BELIABLE 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 USEOR OTHER DEALINGS IN THE SOFTWARE.Description: rcolor 0.0.1-beta=================>## Descripcion> Sencillo script que permite introducir texto y el color con el que se imprimira en pantalla ese texto.### Demo[![asciicast](https://asciinema.org/a/p9li1MDwph2uyfA9Kk0bVgyED.png)](https://asciinema.org/a/p9li1MDwph2uyfA9Kk0bVgyED)Keywords: colores terminal texto colorPlatform: UNKNOWNClassifier: Development Status :: 4 - BetaClassifier: Intended Audience :: DevelopersClassifier: Intended Audience :: Information TechnologyClassifier: Programming Language :: Python :: 3.2Classifier: Programming Language :: Python :: 3.3Classifier: Programming Language :: Python :: 3.4Classifier: Programming Language :: Python :: 3.5Classifier: Topic :: Software Development :: Libraries :: Python ModulesClassifier: License :: OSI Approved :: MIT License
Package: rmcolors
Permission is hereby granted, free of charge, to any person obtaining a copy of thissoftware and associated documentation files (the "Software"), to deal in the Softwarewithout restriction, including without limitation the rights to use, copy, modify,merge, publish, distribute, sublicense, and/or sell copies of the Software, and topermit persons to whom the Software is furnished to do so, subject to the followingconditions:The above copyright notice and this permission notice shall be included in all copies orsubstantial 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 PARTICULARPURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BELIABLE 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 USEOR OTHER DEALINGS IN THE SOFTWARE.Description: rmcolors 0.0.1b1=================>## Descripcion> Sencillo script que permite introducir texto y el color con el que se imprimira en pantalla ese texto.### Instalacion```bashpip install rmcolors```> Es necesaria una configuracion adicional antes de usar el programa, solo agregaruna linea en el archivo .bashrc o .zshrc```bashalias rmcolor='python3 -c "import rmcolors"'```> para ejecutarlo solo hay que llamar el programa desde la terminal con uno de los dosposibles argumentos de inicio:```bash$ rmcolors onor$ rmcolor start```### Demo[![asciicast](https://asciinema.org/a/2nVfzuHz3AFZQGzUA4GhRDI9n.png)](https://asciinema.org/a/2nVfzuHz3AFZQGzUA4GhRDI9n)Keywords: colores terminal texto colorPlatform: UNKNOWN
Package: rmctl
rmctlA simple  controller for Broadlink IR deviceInstallationManually connect for broadlink device to wifipip install rmctlUsingMake a Device FileUse -m or --make_device option, -d option is device file nameex:) rmctl -m -d myroomLearn a command IR dataUse -l or --learn option, -c option is command nameex:) rmctl -l -d myroom -c light_onThen send IR data to Broadlink device from your remote controllerSend a coomandUse -s or --send optionex:) rmctl -s -d myroom -c light_on
Package: rmdirs
rmdirsRmdirs is a python utility package for removing subdirectories. The files located in the subdirectories are preserved and they are moved into the root directory. The moved files are renamed according to the relative path from the root directory to the subdirectory they are located in. Any'\'and'/'separators on the relative path are replaced by the separator character. The separator character is'_'by default.If there are any naming conflicts that arise as a result of renaming moved files then a space and an integer in brackets is appended to the file name as follows:'target/file/path.ext'=>'target/file/path'+' (i)'+'.ext'=>'target/file/path (i).ext'InstalationYou can use pip to install rmdirs.pip install rmdirsUsageYou can call rmdirs as a script with the-mmodule call.python -m rmdirs -r root_dirpython -m rmdirs -r root_dir -s '_'Or you can import rmdirs and use the remove function.importrmdirsrmdirs.remove(root_dir,separator='_')ExamplesInput directory structure:root_dir/
|-- file1.ext
|-- 1/
|   |-- a/
|   |   |-- i/
|   |   |   |-- file1.ext
|   |   |   |-- file2.ext
|   |   |-- ii/
|   |   |   |-- file1.ext
|   |   |-- iii/
|   |-- b/
|   |   |-- i/
|   |   |-- ii/
|   |   |   |-- file1.ext
|   |   |   |-- file2.ext
|   |   |   |-- file3.ext
|-- 2/
|   |-- a/
|   |-- b/
|   |   |-- i/
|-- 3/
|   |-- a/
|   |-- b/
|   |   |-- file1.ext
|   |-- c/
|-- 4/
|   |-- file1.extResulting directory structure:root_dir/
|-- 1_a_ii_file1.ext
|-- 1_a_i_file1.ext
|-- 1_a_i_file2.ext
|-- 1_b_ii_file1.ext
|-- 1_b_ii_file2.ext
|-- 1_b_ii_file3.ext
|-- 3_b_file1.ext
|-- 4_file1.ext
|-- file1.extInput directory structure:root_dir/
|-- 1_a_file.ext
|-- 1_file.ext
|-- 1/
|   |-- a_file.ext
|   |-- file.ext
|   |-- a/
|   |   |-- file.extResulting directory structure:root_dir/
|-- 1_a_file (1).ext
|-- 1_a_file (2).ext
|-- 1_a_file.ext
|-- 1_file (1).ext
|-- 1_file.ext
Package: rmepy
RmepyRmepy 是一个对接RobomasterEP sdk的非官方python3接口，目标是还原官方在robomaster app中封装的python接口。Features:该项目目前提供以下功能提供使用 python3 封装的 robomasterEP sdk，允许直接在程序中调用 sdk# Examplerm.start()rm.basic_ctrl.set_robot_mode(2)rm.chassis.set_speed(0.0,0.0,10.0)对机器人传来的视频流进行接收和解码# Examplerm.video.start()rm.video.display()对机器人的推送信息进行处理，能在程序中调用# Examplerm.push.start()rm.gimbal.set_push(atti_freq=5)print(rm.gimbal.pitch,rm.gimbal.yaw)Requirements:控制端Python3 (测试使用python3.6&3.8)opencv-pythonnumpypillow (PIL)h264decoder机器人EP版本  v01.00.00.00明文 SDK 版本 v00.00.00.32Usage:从Pypi安装本项目:pip3installrmepy根据自己的操作系统手动安装h264decoderEnjoy! 可以使用以下代码进行测试importrmepyfromtimeimportsleepr=rmepy.Robot()r.start()r.video.log.level='WARNING'r.video.log.level='INFO'r.video.start()r.video.display()r.basic_ctrl.set_robot_mode(2)r.chassis.set_push(1,1,1)r.chassis.set_speed(0.0,1.0,10.0)print(r.chassis.get_postion())sleep(1)r.chassis.set_speed(0.0,0.0,0.0)print(r.chassis.get_postion())sleep(1e5)目前支持的其他命令的详细内容可以使用 help(rmepy.robot_modules) 或 进入 rmepy/robot_modules 查看Project structure:文件结构rmepy
├── decorators.py	# 装饰器，包括 retry, accepts 等
├── __init__.py
├── logger.py	# 提供日志输出服务
├── robot_connection.py		# 提供与机器人的通讯服务
├── robot_modules	# 封装的sdk命令
│   ├── basic_ctrl.py	# 基础操控
│   ├── chassis.py	# 底盘控制
│   ├── gimbal.py	# 云台控制
│   ├── blaster.py	# 发射器控制
│   ├── __init__.py
│   └── __module_template.py
├── robot_msg_push.py	# 信息推送流处理
├── robot.py	# 主类(rmepy.Robot)
└── robot_video_stream.py	# 视频流处理类结构rmepy.Robot

        # Commends 封装的命令
        .basic_ctrl = commends.BasicCtrl()
        .chassis = commends.Chassis()
        .gimbal = commends.Gimbal()
        .blaster = robot_modules.Blaster()

        # Video 基础视频模块
        .video = robot_video_stream.RobotVideoStream()

        # Push 推送信息处理模块
        .push = robot_msg_push.RobotMsgPush()TODOs:发送控制命令接收s1的状态推送对s1的状态推送信息进行处理封装所有基本的控制命令接收s1的视频流对状态推送信息处理进行测试对视频流接收进行测试增加 advanced 模块，进行图像的高级处理（巡线，yolov3的物体识别等）
Package: rMETL
Mobile element insertion (MEI) is a major category of structure variations (SVs). The rapid development of long read sequencing provides the opportunity to sensitively discover MEIs. However, the signals of MEIs implied by noisy long reads are highly complex, due to the repetitiveness of mobile elements as well as the serious sequencing errors. Herein, we propose Realignment-based Mobile Element insertion detection Tool for Long read (rMETL). rMETL takes advantage of its novel chimeric read re-alignment approach to well handle complex MEI signals. Benchmarking results on simulated and real datasets demonstrated that rMETL has the ability to more sensitivity discover MEIs as well as prevent false positives. It is suited to produce high quality MEI callsets in many genomics studies.
Package: rmformulas
remove-formulas-CLIRemove formulas from ExcelInstallationInstall with the following command.pipinstallrmformulasIf you want to uninstall, execute the following command.pipuninstall-yrmformulasUsagehelprmformulas--helpremove formulasrmformulas--input<inputfileordir>--output<outputdir>WarningIf you specify the same directory for input and output, the original Excel file will be overwritten.Options--input, -i: input file or directory name.--output, -o: output directory name.
Package: rmi2mid
rmi2midExtract Standard MIDI file (.mid) from RIFF MIDI (RMID) file (.rmi or .mid).This is a simple tool to extract minimal RMID chunk from RIFF file (usually with extension .rmi or .mid) and write MIDI data to an independent .mid file.I wrote this because my favorite MIDI player cannot read RIFF MIDI songs I collected many years ago.UsageRun script directlypython3 rmi2mid.py <.rmi or .mid> <.mid>For installation by pip/wheelpython3 -m rmi2mid <.rmi or .mid> <.mid>Unsupported formatCurrently an RIFF file with (nested) LIST chunks is not supported.ReferenceBundling SMF and DLS data in an “RMID” File (RP-029)
Package: rmi-pytorch
PyTorch implementation of theRegion Mutual Information Loss for
Semantic Segmentation.Example usageWith logits:importtorchfromrmiimportRMILossloss=RMILoss(with_logits=True)batch_size,classes,height,width=5,4,64,64pred=torch.rand(batch_size,classes,height,width,requires_grad=True)target=torch.empty(batch_size,classes,height,width).random_(2)output=loss(pred,target)output.backward()With probabilities:importtorchfromtorchimportnnfromrmiimportRMILossm=nn.Sigmoid()loss=RMILoss(with_logits=False)batch_size,classes,height,width=5,4,64,64pred=torch.randn(batch_size,classes,height,width,requires_grad=True)target=torch.empty(batch_size,classes,height,width).random_(2)output=loss(m(pred),target)output.backward()GraphsPlot of the value of the loss between the prediction and target without
the BCE component. Target is a random binary 256x256 matrix. ForRandomthe prediction is a 256x256 matrix of probabilities
initialized uniformly at random. ForAll zerothe prediction is a
256x256 matrix with all zeros. For1- targetthe prediction is the
inverse of the target. The prediction is interpolated with the target
by:input_i = (1 - α) * input + α * target.Difference between this implementation and the implementation in the
official gitrepository, withEPSILON = 0.0005andpool='max'.Execution time on tensors with batch size of 8 and with 21 classes.SizeThisOfficial8x21x32x326.5722ms6.3261ms8x21x64x6411.8159ms12.6169ms8x21x128x12839.9946ms40.3798ms8x21x256x256160.0352ms160.9543ms
Package: rmi-qb-sdk
Quickbase-Python-SDK#RMI Usage Notes
-Should not be used on a standalone basis. Instead, integrate a release into the API or project that it is required for, using pipenv or other package manager.Python bindings for the QuickBase APIQBConn variables:error: the numerical error code returned by an API call. 0 is no error, negative values are internal to this library
tables: a dictionary containing tablename:tableID pairs[constructor] QBConn(QB_URL,QB_APPID, USER_TOKEN):Makes a connection to the QuickBase specified by QB_URL and QB_APPID. As of 0.4.0, *requires* a USER_TOKEN; will not authenticate with a ticket
Note: QB_URL should have a trailing slash. ex. "https://intuitcorp.quickbase.com/db/";provide_tables:
exposes tables to public apisql(querystr):
Performs a query() after translating a simple SQL-style string to QuickBase's query formatExample: qb.sql("SELECT * FROM users WHERE name`EX`John\_Doe OR role`EX`fakeperson") #The \_ represents a space. This is a very basic function that doesn't use state machines. Note: field and table names will not have spaces
Example: qb.sql("SELECT firstname|lastname FROM users WHERE paid`EX`true ORDER BY lastname ASC LIMIT 100")
Example: qb.sql("DELETE FROM assets WHERE value`BF`0")
Please contribute any improvents you make on this function back to this repo. It would make life so much easier for all QuickBase+Python users :)request(params,url_ext):Takes a dict of param:value pairs, adds ticket, token, and realm (if specified) and makes an API call to the base URL+url_extensiongetFields(tableID):Returns a dict containing the fields of a table as fieldname:fieldID pairsaddRecord(tableID,data):Adds a record with data specified by the data dict of fieldname:value pairs to tableIDeditRecord(tableID,rid,newdata[,options]):Updates a record (rid) in table (tableID) with the data given by newdata fieldname:value pairsdeleteRecord(tableID,rid):Deletes record specified by rid from table specified by tableIDpurgeRecords(tableID,query):Deletes records from tableID that match the QuickBase-style query_getTables():Returns a dict containing a QuickBase app's tables as tablename:tableID pairs. This is run automatically after a successful authenticate callquery(tableID,query):Returns a list of dicts containing fieldname:value pairs that represent rows returned by the query. record ID will always be specified by the "rid" key
Package: rmkit-sim
remarkable_simInstallTkinter is a dependency. (python3-tkin Debian/Ubuntu)pip install rmkit-simUsageresimresimwill create 3 FIFOs atevent0,event1, andevent2in the current directory and will attempt to read fromfb.pgm10 times per second.  The application under test should write to this framebuffer file and read evdev events from the FIFOs.
Package: rmk-swarm
rmk_swarmrmk_swarm is a python package containing tools and functions to make your implementation of Swarm Intelligence Method easier.Installation and updatingUse the package managerpipto install rmk_swarm like below.
Rerun this command to check for and install  updates .pipinstallrmk_swarmUsageFeatures:swarmtools.init_pop  --> generator to genarate a swarm population consist of n individualsswarmtools.eval_pop     --> function to evaluate given objective function for each individual in a populationswarmtools.print_pop     --> function to print for each individual in a population | Format -> [ ID , X , fitness ]swarmtools.sort_pop     --> function to sort individual in a population based on its objective functionswarmtools.eval_pop     --> function to find best individual in a populationDemo of some of the features:# How to Importfromrmk_swarmimportswarmtools# Domains of each x in X = {  x1,x2,x3  }rn=[[0,1],[2,2],[1,10]]# Objective function Exampledeff(X):returnX[0]+X[1]+X[2]# Parametersn_populasi=10# number of individuals in Population# Generate n number of individualspopulasi=swarmtools.init_pop(n_populasi,rn)# Evaluate Each individuals Objective Functionspopulasi=swarmtools.eval_pop(populasi,f)# Print all individuals in populationswarmtools.print_pop(populasi)# Sort the individuals in Populationswarmtools.sort_pop(populasi)# Find best individuals. Note: Sort First then return best individualswarmtools.find_best(populasi)ContributingPlease Contact me atriksameidy@gmail.comif you want to contribute to this package. Thank you :)LicenseMIT
Package: rmlab
RMLab Python ClientThis client provides python bindings for RMLab services atrmlab.ai, available upon registration.We offersimulationandrevenue optimizationservices to airline companies.Simulation as a service:Unlimited number of competing carriers.Massively parallel simulations on arbitrarily big flight markets.Statistical sampling for modelling customers behavior, sensible to seasonality and events.Validation of pricing algorithms given demand patterns before deploying to production.Revenue optimization as a service:Process arbitrarily large sets of historic data.Run state-of-the-art algorithms for forecasting and optimization.Fine-grain optimization per flight level.AI-based adaptive forecasters & optimizers operating on nightly runs.Server infrastructure characteristics:World-wide availability hosted inGoogle Cloud Platform.Data scalability across high-performance in-memory storage servers.Per-customer fully isolated compute and data environments.End-to-end TLS encryption (optional IPsec access).
Package: rmlab-http-client
RMLab HTTP ClientSmall python module wrapping a HTTP client based onasyncio, providing several utilities required on RMLab server:Basic/key/jwt authentication.Token refresh.State polling and result fetching of long-running asynchronous operations.Server-defined type/value-safe endpoints to minimize API breaking changes.Capture ill-formed requests before submission.Custom error handling unified for client and server.Installationpip install rmlab-http-clientRequirementspython 3.11+aiohttp 3.8.4LicenseThis package is offered under aMIT License.
Package: rmlb
rmlbRemove a branch that does not exist in remote.Install$pipinstallrmlbUsageusage: rmlb.py [-h] [-ro {-d,-D}] [-q]

optional arguments:
  -h, --help            show this help message and exit
  -ro {-d,-D}, --remove-option {-d,-D}
                        Options for removing a branch. The default is '-d'.
  -q, --quiet           No output.AuthorucprLicenseMIT
Package: rmlhrv
Python toolbox for Heart Rate Variability and Stress Level Analysis.Getting StartedInstallationThis toolbox can be installed using thepippackage manager.pip install rmlhrvDependenciesnumpyscipymatplotlibnoldsDisclaimerThis program is distributed in the hope it will be useful and provided to you "as is", but WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is NOT intended for medical diagnosis. We expressly disclaim any liability whatsoever for any direct, indirect, consequential, incidental or special damages, including, without limitation, lost revenues, lost profits, losses resulting from business interruption or loss of data, regardless of the form of action or legal theory under which the liability may be asserted, even if advised of the possibility of such damages.
Package: rm-logger
Generic LoggerA generic logging class for PythonBasic setup and usage are simple.  Just import the class and create a Logger instance with a location to save the log file, it will handle everything else!The log files will even be capped at a configurable limit and rotated after they have reached the limit.To install:
Download the source files as an archive and extract them on your computer.Next run the install command:pythonsetup.pyinstallUsage:fromloggerimportLoggerdefmain():log=Logger("./logs/test.log")log.info("This is a test...")log.warning("I know what you did last summer...")if__name__=="__main__":main()AttributesLog File LocationLogger Name (Default: Calling script)Max Log File Size {in Megabytes} (Default: 1 MB)Log File Backup Count (Default: 3)Logging Level (Default: INFO)Log Format (Default: %(levelname)s: [%(name)s]: %(asctime)s - %(message)s)Date Format (Default: %m/%d/%Y %H:%M:%S)All attributes are configurable, and all except log file location have default values.Logging LevelsDEBUGINFOWARNINGERRORCRITICALLog File Output Example
Package: rmlst-api
rmlst_apiRun rmlst API through python script for species identification of a bacterial assembly.usage:rmlst.py[-h]-iINPUT[-lLOG][--output_tabOUTPUT_TAB][--output_jsonOUTPUT_JSON]optionalarguments:-h,--helpshowthishelpmessageandexit-iINPUT,--inputINPUTassemblyfile-lLOG,--logLOGlogfile.defaultis<input>_rmlst.log--output_tabOUTPUT_TABrMLSTtaboutput.defaultis<input>_rmlst.tab--output_jsonOUTPUT_JSONrMLSTjsonoutput.defaultis<input>_rmlst.jsonAPI source:https://pubmlst.org/species-id/species-identification-via-api.
Package: rmmbr
rmmbrrmmbris the simplest way to persistently cache async functions, locally or in
the cloud with end to end encryption (e2ee).MotivationCaching is a great way to save costs and time calling remote APIs.Most programming languages already have solutions for in-memory caching. These
work well if your service is long-running on one machine. However, if your
service restarts, then you lose your cache. In addition if you are running more
than one instance, they don't share caches.Making caches persistent across runs requires deploying another service which
writes to disk or to a database. This means to set it up is a substantial
context switch for the developer. The last thing you want to think of while
doing unrelated work is another service to maintain, and how to write code to
communicate to this service.As this use case is quite common, it would be desired to have an easy way to do
it, right from your command line and code editor, and without any context
switching.Usagermmbrprovides APIs in Python and JavaScript/TypeScript.If token is provided, the library will persist the cache across devices,
otherwise everything would be stored in a file under a.rmmbrdirectory.Install the CLI tool:curl-shttps://raw.githubusercontent.com/uriva/rmmbr/main/cli/install.sh|sudobashProduce a service token:rmmbrlogin
rmmbrtoken-gFor sensitive data, you can e2e encrypt it by adding an encryption key
parameter.Produce an encryption key:rmmbrsecretPythonpipinstallrmmbrfromrmmbrimportcachen_called=0@cache("some name for the cache",60*60*24,# TTL is one day."Cqq33cbHu9AEUaP_wS3LCDQN7wy40XKWzALoPHbU5S8=","https://rmmbr.net","your-service-token",)asyncdeff(x:int):nonlocaln_calledn_called+=1returnxawaitf(3)awaitf(3)# nCalled is 1 hereJavascript / Typescriptnpmirmmbrimport{cache}from"rmmbr";constcacher=cache({cacheId:"some name for the cache",ttl:60*60*24,// Values will expire after one day. Omission implies max (one week).token:"service-token",url:"https://rmmbr.net",encryptionKey:"your-encryption-key",// This can be omitted if you don't need e2ee.});letnCalled=0;constf=(x:number)=>{nCalled++;returnPromise.resolve(x);};constfCached=cacher(f);awaitfCached(3);awaitfCached(3);// nCalled is 1 herePricingTierRequestsTotal data storedMax entry size# EntriesFree10,00010 MB1 KB1000$100/month1,000,0001 GB100 KBUnlimitedRegionsWe currently deploy a backend in us-east region. Please post an issue if you
have a need to configure this.LegalTerms of servicePrivacy policyService level agreementFAQHow do I sign up?Download the cli and run:rmmbrloginHow do I change tier?We will contact you when your exceeds the free tier.