Saravanan666/pypi-org huggingface dataset:
Package: rmnd-lca
Copyright (c) 2020, Potsdam Institute for Climate Impact Research, Paul Scherrer Institut
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.Description: UNKNOWN
Platform: UNKNOWN
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Visualization
Package: rmoq
A simple request mocker that caches requests responses to files.InstallationInstall it with pip:pip install rmoqUsageThe example below will put the content of fixtures/example.com.txt
into the body of the request and if it does not exist the content
will be downloaded and stored in fixtures/example.com.txt.@rmoq.activate()
def test_remote_call():
    response = requests.get('http://example.com')
    assert response.body == 'Example'More advanced usage can be found in thedocumentation.MIT © Rolf Erik Lekang
Package: rmotr-b7-c1-g1-jobs-detectorr
# [pyp-w3] Jobs DetectorToday we will develop a command line tool which aims to parse certain websites looking for job statistics based on given keywords. In this very first version of the tool, we will only implement a parser for the HackerNews blog, which includes a monthly report of "Who is hiring?". Example: https://news.ycombinator.com/item?id=11814828## Command usageThe command line tool must be accessible by calling `jobs_detector` command. A `hacker_news` subcommand must be also available as part of this implementation.To see the whole list of optional and mandatory parameters, you can execute the command using the `--help` flag.```bash$ jobs_detector hacker_news --helpOptions:-i, --post-id TEXT       [required]-k, --keywords TEXT-c, --combinations TEXT--help                   Show this message and exit.```### Default argumentsTo request jobs statistics using a default set of keywords, just call the `hacker_news` subcommand providing a valid HN post id (see the last part of the sample URL above), like this:```bash$ jobs_detector hacker_news -i 11814828Total job posts: 888Keywords:Remote: 174 (19%)Postgres: 81 (9%)Python: 144 (16%)Javascript: 118 (13%)React: 133 (14%)Pandas: 5 (0%)```### Keywords filteringFor statistics about a sub set of the default keywords, or even custom keywords out of the default set you can specify the `-k` or `--keywords` options, as a comma separated list of values.```bash$ jobs_detector hacker_news -i 11814828 -k python,django,rubyTotal job posts: 889Keywords:Python: 144 (16%)Ruby: 80 (8%)Django: 36 (4%)```### Combination statsIt's also possible to request statistics of certain combination of keywords. For example, how many offers are asking for "remote", "python", and "flask" at the same time?. To do that, use the `-c` or `-combinations` option.```bash$ jobs_detector hacker_news -i 11814828 -c remote-python-flask,remote-djangoTotal job posts: 888Keywords:Remote: 174 (19%)Postgres: 81 (9%)Python: 144 (16%)Javascript: 118 (13%)React: 133 (14%)Pandas: 5 (0%)Combinations:Remote-Python-Flask: 2 (0%)Remote-Django: 6 (0%)```Feel free to extend the functionality of this command by adding extra parameters or even more subcommands to parse different websites.## Your command available in pypiFinally, to wrap up this group work, you must make your command tool available in pypi (Python Package Index). Any person out there must be able to use the `pip` command and install a local version of your project. To do this, we will follow some naming conventions so we don't have conflicts between each other. This is the naming convention you must follow for your package: `rmotr-bX-cY-gZ-jobs-detector`, where `X`, `Y` and `Z` are the batch number, course number and group number respectively.Anyone should be able to install the package by executing, for example: `pip install rmotr-b6-c1-g3-jobs-detector`.Here you have a very detailed guide about how to upload things to pypi: https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
Package: rmotr-b9-c1-g5-jobs-detector
# [pyp-w3] Jobs DetectorToday we will develop a command line tool which aims to parse certain websites looking for job statistics based on given keywords. In this very first version of the tool, we will only implement a parser for the HackerNews blog, which includes a monthly report of "Who is hiring?". Example: https://news.ycombinator.com/item?id=11814828## Command usageThe command line tool must be accessible by calling `jobs_detector` command. A `hacker_news` subcommand must be also available as part of this implementation.To see the whole list of optional and mandatory parameters, you can execute the command using the `--help` flag.```bash$ jobs_detector hacker_news --helpOptions:-i, --post-id TEXT       [required]-k, --keywords TEXT-c, --combinations TEXT--help                   Show this message and exit.```### Default argumentsTo request jobs statistics using a default set of keywords, just call the `hacker_news` subcommand providing a valid HN post id (see the last part of the sample URL above), like this:```bash$ jobs_detector hacker_news -i 11814828Total job posts: 888Keywords:Remote: 174 (19%)Postgres: 81 (9%)Python: 144 (16%)Javascript: 118 (13%)React: 133 (14%)Pandas: 5 (0%)```### Keywords filteringFor statistics about a sub set of the default keywords, or even custom keywords out of the default set you can specify the `-k` or `--keywords` options, as a comma separated list of values.```bash$ jobs_detector hacker_news -i 11814828 -k python,django,rubyTotal job posts: 889Keywords:Python: 144 (16%)Ruby: 80 (8%)Django: 36 (4%)```### Combination statsIt's also possible to request statistics of certain combination of keywords. For example, how many offers are asking for "remote", "python", and "flask" at the same time?. To do that, use the `-c` or `-combinations` option.```bash$ jobs_detector hacker_news -i 11814828 -c remote-python-flask,remote-djangoTotal job posts: 888Keywords:Remote: 174 (19%)Postgres: 81 (9%)Python: 144 (16%)Javascript: 118 (13%)React: 133 (14%)Pandas: 5 (0%)Combinations:Remote-Python-Flask: 2 (0%)Remote-Django: 6 (0%)```Feel free to extend the functionality of this command by adding extra parameters or even more subcommands to parse different websites.## Your command available in pypiFinally, to wrap up this group work, you must make your command tool available in pypi (Python Package Index). Any person out there must be able to use the `pip` command and install a local version of your project. To do this, we will follow some naming conventions so we don't have conflicts between each other. This is the naming convention you must follow for your package: `rmotr-bX-cY-gZ-jobs-detector`, where `X`, `Y` and `Z` are the batch number, course number and group number respectively.Anyone should be able to install the package by executing, for example: `pip install rmotr-b6-c1-g3-jobs-detector`.Here you have a very detailed guide about how to upload things to pypi: https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
Package: rmout
rmoutrmout is a tool for throwing unnecessary files in a directory into the trash.Installationconda, venv$pipinstallrmoutUsageCreate a ".rmoutrc" file under your home directory or current directory.
In the file, list the extensions of the files to be deleted.example:.rmoutrcfile.sim
.prt
.datMove to the directory containing the files you want to throw in the Trash and execute the following command.$rmoutIn "send to trash [a] ? ", enter the extension code of the file you want to send to the Trash. The default is all files. If you press the ENTER key without typing, the files with the extensions listed will be sent from the directory to the Trash.If you enter the code to the left of the extension list separated by commas, you can select the file with the extension you want to discard.$rmout1:*.com22:*.dat23:*.log14:*.msg25:*.odb26:*.oke17:*.prt28:*.sim29:*.sta2a:allfilesx:exitsendtotrash[a]?1,5job01.com
job02.com
job01.odb
job02.odb
finished.
Package: rm-protection
rm-protectionA safe alternative forrmwith minimum difference.What is this?rm-protectionis a safe alternative for removing file. It works
exactly the same asrm(in fact it passes arguments to rm). The only
difference is that it refuses to procceed if a.*.rm-protectionfile is
found and you failed to answer a question.Quick Startpip installrm-protectionInstall from PyPi and make an alias forrm-p.Protect your files usingprotect. If you want to protect everything inside,protect-R.Happy rm-ing!How does it work?It consists of two utilities:rm-pandprotect. The latter one
is to help you protect files.For example, you have a file calledimportant_fileand it isprotected by.important_file.rm-protection.rm-pwill
recognise thatimportant_fileis protected and prompt to ask you a
question stored in.important_file.rm-protection.rm-pwill only
proceed if you get the answer right.See it in action:Basic usageIt will also prevent you from deleting a directory withprotected
file(s) inside.Recursive protectionRequirementsPython 2 or 3Linux, unix and macOSfindKnown issuesCurrently does not support protecting files whose name starts with
“-“.Comparison with alternative methodsMethodsCan be uesd
as “rm”?Protect
Specific FilesFlexibi
lityAdditional
Filestrash-cliYesSomehowHighCentralised
Configrm -iYesNo or SomehowHighsafe-rmYesYesLowCentralised
Configrm-protectionYesYesHighOne for
eachrm-protectionaims at providing maximum protection and flexibility
while making minimum impact on daily operation.rm-ican be very annoying,trash-cliis a bit complex (imagine
you have a habit of emptying the trash without a second thought, or
imagine you are trying to free up spaces on a budget vm). Safe-rm is
inconvenient when you really need to delete something (you have to edit
the configuration file).Instead,rm-protectionasks you a question set by you. You are fully
covered when removing files (you won’t accidentally empty the trash withtrash-clior| yeswithrm-i), and you can quickly remove
files (without editing any configuration files).How to contribute?Pull requests and issues are all welcome! Or tell others about this, so
you can evenprotectthe files you send to others!
Package: rm-pySAS
rm-pySAS - Python library for easy development of apps for reMarkable tablet in Python.The goal of this library is to make it as easy as possible to create applications for reMarkable tablet using Python.It works as a wrapper aroundSASand it must be installed separately.All types of widgets are assumed from SAS and all have same behavior. It's good idea to read about them before using this libraryhere.DependenciesSimple  -  SAS (simple app script) packagePython3pipAll dependencies can be install viaToltecwith command:opkginstallpython3simplepython3-pipInstallationFrom PIPpipinstallrm_pysasBuild from sourceDownload repository and enter it's directory$gitclonehttps://github.com/tenJirka/rm-pySAS.git
$cdrm-pySASInstall building packagebuild$python3-mpipinstall--upgradebuildCreate package$python3-mbuildPackage files will be located indist/fileInstall package$python3-mpipinstalldist/rm_pysas-*-py3-none-any.whlUninstallationpython3-mpipuninstallrm_pysasExamplesAll examples can be found inexamples/directory.Simple two buttons screen:fromrm_pySASimport*# Create object representing current scene on displayscene=Scene()# Add text label to current scene on coordinates x = 500, y = 400, weight = 100 and height = 50# Text of the label is "Testing scene", font size is 40 and text is alight to center# All last three parameters are optionalscene.add(Label(500,400,100,50,"Testing scene",fontSize=40,justify="center"))# Add exit button to current scene with id=exit# When no fontSize or justify is specified, it assume last value given from previous# widgets or default SAS will be used.scene.add(Button(300,800,100,50,"Exit",id="exit"))# Create second button, that will do anything.scene.add(Button(800,800,100,50,"Button that does nothing",id="button"))# Creating event loops tha will end only when exit button is clickedwhile(True):scene.display()# scene.input represent output from SAS and is actually scripts input# It's list of id of widget interacted with and, if exists, value entered.# When exit button is pressed, the cycle will break.ifscene.input[0]=="exit":breakCreditsrmkit- reMarkable app framework on which this library stands
Package: rmqworkers
rmqworkers -- Manage dynamic workers rabbitmq for Python applicationsProject rmqworkers offer high availability through simple, yet powerful library:
This library doesn't work as a standalone.This project require a rabbitmq server.Please note that for development I've used a container:How to rundocker run -d --hostname my-rabbit --name rabbitmq-server -p 15672:15672 -p 5672:5672 rabbitmq:3-managementDefault has credentials:
user:  quest
passw: questcd rmqworkers/examplessource venv/bin/activate or venv/Scripts/activate.shpip install -r requirements.txtpython example_1queue_in_and_1queue_out.pyExpected outputDefault will use thread.publish in queue in { "job_info": "11111"}Verify if in queue out is {'job_info': '11111!!!!!!!', 'add_something': 'something'}
Package: rmr
rmr-pythonSummary, LimitationsThis is a CTYPES wrapper around the C rmr library. It requires you have
rmr installed.That is, it is not a native re-implementation of the rmr library. This
seems to come with pros and cons. On the positive side, wrapping the
library was much less work; we only need to wrap the function
signatures. Keeping up with the rmr spec is thus also less work, as when
new functions are added into the C lib, we only need to again wrap the
function signatures.The downside is this seems to be Linux only currently. This wrapper
immediately SIGABRT’s on Mac, and no one yet seems to know why. The
other downside is that there are currently some functionality that needs
to be ‘exported’ from the C library for this to be fully operational.
For example, CTYPES does not have access to C header files, and
important constants are defined in the C header files.Possibly evaluate whether we could natively reimplement the API with the nano nng python
bindings:https://pypi.org/project/pynng/Not Yet ImplementedAt the time of this writing (Aug 13 2019) The following C functions
are not yet implemented in this library (do we need them?):1. `extern void rmr_free_msg`
2. `extern rmr_mbuf_t* rmr_mtosend_msg`
3. `extern rmr_mbuf_t* rmr_call` (this has some problems AFAIU from Scott)
4. `extern rmr_mbuf_t* rmr_rcv_specific`
5. `extern int rmr_get_rcvfd`Unit TestingYou can unit test in docker or outside of docker.
The preferred method (by far) is to use Docker, because it encapsulates rmr, as well as ensuring that ports that rmr opens do not conflict with the host machinedocker build -t rmrunittestt:latest -f Dockerfile-Unit-Test   .A coverage report will be shown in stdout.It is possible to run tox locally provided that rmr is intalled, and you are prepared to have the test open ports (4562) asrmr_initmust succeed for the tests to proceed.tox
open htmlcov/index.htmlThe added benefit of the local option is that the coverage report can be viewed in html, which I find easier to read than the term coverage reort the docker build will print.InstallationPrequisitesIf rmr isnotcompiled on your system, see the below instructions for
downloading and compiling rmr. This library expects that the rmr .so
files are compiled and available.From PyPipip install rmr==X.Y.ZFrom Sourcegit clone "https://gerrit.o-ran-sc.org/r/ric-plt/lib/rmr"
cd rmr/src/bindings/rmr-python/
pip install .ExamplesSee theexamplesdirectory.Compiling rmr (if not already done on your system)(Note, you may or may not need sudo in your final command, depending on
permissions to/usr/local. The pack externals option to CMake is
needed only if the NNG libary is not already installed on the system,
and you do not wish to manually install it.)git clone https://gerrit.oran-osc.org/r/ric-plt/lib/rmr
cd rmr
mkdir .build; cd .build; cmake .. -DPACK_EXTERNALS=1; sudo make install
Package: rmr-django
# rmr_djangoTemplate Django projectmaster: [![Build Status](https://travis-ci.org/RedMadRobot/rmr_django.svg)](https://travis-ci.org/RedMadRobot/rmr_django)
version_1.x: [![Build Status](https://travis-ci.org/RedMadRobot/rmr_django.svg?branch=version_1.x)](https://travis-ci.org/RedMadRobot/rmr_django)## Install
* add-e git+https://github.com/RedMadRobot/rmr_django.git#egg=rmr-djangoto the list of your requirements (requirements.txt)
* add ‘rmr.extensions.middleware.cache.UpdateCacheMiddleware’ at the begin and ‘rmr.extensions.middleware.json.RequestDecoder’ at the end of the MIDDLEWARE_CLASSES of your settings file
Package: rmrkl
robust-mrklAlangchainagent that retries and utilizes a system promptInstallpipinstallrmrklUsagefromrmrklimportChatZeroShotAgent,RetryAgentExecutortools=...llm=..agent=RetryAgentExecutor.from_agent_and_tools(tools=tools,agent=ChatZeroShotAgent.from_llm_and_tools(llm,tools),verbose=True,)agent.run(...)
Package: rm-rspace
# rm_rspace #テキストファイルから末尾空白を取り除きます。![example](https://user-images.githubusercontent.com/42906988/49338917-94506e00-f66c-11e8-85d1-b67351bd3e96.png)## 対応バージョン ##以下のバージョンで動作を確認しました。- Python2.7- Python3+## インストール ##```pip install rm_space```## 使い方 ##```rm_rspace [-d] [-c] [-e ENCODING] FILE [NEWFILE]```FILE に末尾空白を取り除きたいテキストファイルを指定します。元のファイルを変更したくない場合は、NEWFILE に新しい保存先を指定してください。### オプション ###|オプション|説明||:-------:|:----:|| -h, --help                            |ヘルプメッセージを表示して終了|| -d, --display                         |末尾空白があった行とその行番号を表示|| -c, --count                           |末尾空白を取り除いた行の数を表示|| -e ENCODING, <br> --encoding ENCODING |指定したエンコーディングでファイルを開く <br> 省略した場合は UTF-8 で開く|### 使用例 ###```$ rm_rspace -dc import.py1 import os**3 import random*5 ***3 行の末尾空白を取り除きました```## ライセンス ##コードは MIT ライセンスのもとに公開しています。詳細は LICENSE.txt を参照してください。
Package: rms2dfinder
rms2dcommand incpptrajof Amber is quite useful to find several structural clusters.
You can visually classify the trajectories into several clusters of structures and can find out a most stable structure in each cluster by finding out the frame which has a smallest value of total RMSd in each cluster.
However, it is a tough job to find outexactframe number which has a smallest value.rms2dfinderwill help you to find the frame numbers which have minimum mean RMSd in each cluster. What you need to do is just select the region on rms2d plot and the software tells youA minimum mean RMSd (Mean value of summed up RMSd in the region)A frame number which has the minimum mean RMSdStart and end frame numberSee the screenshot belowInstallUsepipto install as:pip install rms2dfinderRequirementsIt requirePythonand following python librariesnumpymatplotlibAll libraries are automatically installed if you installrms2dfinderviapip.Usageusage: rms2dfinder.py [-h] infileA helper utility to find minimum mean RMSd structures of clusters found in
rms2d plot.positional arguments:
infile      A file generated by rms2d command in cpptraj of Amber.optional arguments:
-h, –help  show this help message and exitLicenseThe MIT License (MIT)Copyright (C) 2014 hashnote.net, AlisuePermission 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.