Saravanan666/pypi-org huggingface dataset:
Package: rsort
rsortSort Python requirements with ease! :tada:Currently supportingrequirements.txtandpyproject.tomlfor poetry only.InstallationpipinstallrsortUsage❯rsort--help
Usage:rsort[OPTIONS]COMMAND[ARGS]...Sortrequirementswithease!

Options:--filesTEXTRequirementsfiletobesorted.--checkOnlycheckifneedstobesorted.[default:False]--diffOnlychangestobemade.[default:False]--versionShowrsortversion.--helpShowthismessageandexit.TODOAdd testsLicenseThis project is licensed under the terms of the MIT license.
Package: rsp-alamo
rsp-alamoRandom-string-processing - is a python module for detect random string by BertTokenizer from transformers.Quick start guideYou can quickly use rsp-alamo via pip-installation:$pip/pip3installrsp-alamoAPI examplefromrsp.utilimportRspUtilrsp_util=RspUtil()string="wget -q -O- http://t.jdjdcjq.top/ln/a.asp?rds_20210710*root*dclnmts02."\"adderucci.com*3e4812648d32b3808308784c4b69240d227f3cd97906957f65e70b962e9852f2"print(rsp_util.replace_rs(string))Cased not covered$4v~qxd#q
$AjscE2w%x4$c
Package: rs-parsepatch
pyo3-parsepatchA Python wrapper forhttps://github.com/mozilla/rust-parsepatch.The goal of this library is to be able to parse the patches coming from mercurial.All the patches inhttps://hg.mozilla.org/mozilla-central/have been successfully parsed !It's used inhttps://github.com/mozilla/bugbugto get some metrics on patches.LicensePublished under the MPL 2.0 license.PublishInstall docker and then:dockerbuild-trs_ppIt will compile everything and run tests in a manylinux environment.And then:dockerrun-itrs_ppto publish the packages on Pypi.ContactEmail:calixte@mozilla.com
Package: rsp-jupyter
rsp-jupyterThis directory contains the rsp-jupyter Jupyter Notebook plugin for integrating Jupyter with various RSW functions. The plugin currently has the following features:Writes opened notebooks locations to the user's RStudio state folder, and displays recently opened notebooks on the homepage under recent projects.Provides a button within the notebook that can be clicked which will take the user back to the RStudio Workbench homepage.RequirementsPython 2.7.9 or Python 3.4.0 and higherJupyter Notebook 5.xpipwheelRStudio Server Pro / RStudio Workbench v1.2.0 or higherIf usingconda,pipandwheelshould already be installed.InstallationInstall thersp-jupyterpackage with the following command:pipinstallrsp_jupyterEnable thersp-jupyterextension with the following commands:# Install `rsconnect-jupyter` as a jupyter extensionjupyter-nbextensioninstall--sys-prefix--pyrsp_jupyter# Enable JavaScript extensionjupyter-nbextensionenable--sys-prefix--pyrsp_jupyterNote: The above commands only need to be run once when installingrsp_jupyter.UninstallingFirst disable and remove thersp-jupyternotebook extension:# Remove JavaScript extensionjupyter-nbextensionuninstall--sys-prefix--pyrsp_jupyterFinally, uninstall thersp-jupyterpython package:pipuninstallrsp_jupyterUpgradingTo upgradersp-jupyter, first uninstall the extension and then re-install it.
Package: rspolib
rspolibPython bindings for the Rust craterspolib. Check thereferencefor more information.InstallpipinstallrspolibUsageRead and save a PO fileimportrspolibtry:po=rspolib.pofile("path/to/file.po")exceptrspolib.SyntaxErrorase:print(e)exit(1)forentryinpo:print(entry.msgid)po.save("path/to/other/file.po")Read and save a MO fileimportrspolibtry:mo=rspolib.mofile("path/to/file.mo")exceptrspolib.IOErrorase:print(e)exit(1)forentryinmo:print(entry.msgid)mo.save("path/to/other/file.mo")
Package: rSpringRank
rSpringRankrSpringRankimplements a collection of regularized, convex models (+solvers) that allow the inference of hierarchical structure in a directed network, which exists due to dominance, social status, or prestige. Specifically, this work leverages the time-varying structure and/or the node metadata present in the data set.This is the software repository behind the paper:Tzu-Chi Yen and Stephen Becker,Regularized methods for efficient ranking in networks, in preparation.For full documentation, please visitthis site.For general Q&A, ideas, or other things, please visitDiscussions.For software-related bugs, issues, or suggestions, please useIssues.InstallationrSpringRankis available on PyPi:pip install rSpringRankThe dependencies needed to use graph-tool-based input are not installed by default. You will need to install:Graph-tool:https://graph-tool.skewed.de/First stepsIn your Python console,rSpringRankis invoked using:>>>fromreg_srimportrSpringRank,PhDExchange>>>pde=PhDExchange()>>>g=pde.get_data(goi="c18basic")>>>rsp=rSpringRank(method="annotated")>>>result=rsp.fit(g,alpha=1,lambd=1,printEvery=0)# actual computation; takes ~5 seconds>>>pde.compute_basic_stats(rsp.sslc,primal_s=result["primal"])>>>pde.print_sorted_mean(5,precision=3)# output the higher mean SpringRank categoriesGroup:15;Mean:0.171Group:na;Mean:-0.043Group:22;Mean:-0.043Group:18;Mean:-0.043Group:21;Mean:-0.043As you noticed, most groups have the same mean SpringRank. This is the regularizer in effect. To plot the distribution, do this.>>> pde.plot_hist(bin_count=20, legend=True)DevelopmentTODO.Related linksTODO.AcknowledgementTODO.LicenserSpringRankis open-source and licensed under theGNU Lesser General Public License v3.0.
Package: rspro82
rspro82Utility for programming channels into RadioShack PRO-branded scanners manufactured by GRE.Several other radios use the same programming protocol. I have only tested it with the PRO-82,
but it may work with other radios including the PRO-64, PRO-76, PRO-79, PRO-89, PRO-2016, PRO-2017 and PRO-2041.Installationpython3 -m pip install rspro82Command-line interfacePrepare a CSV file that has at least these columns:Channel: The number of the channel you wish to programFrequency: Frequency in MHz, like156.6Delay: Boolean value for the channel delay flag (should the scanner pause on the channel for 2 seconds after a transmission ends?)Priority: Boolean value for the channel priority flag (should the scanner check this channel at least every 2 seconds?)Additional columns are ignored.Activate programming mode on the scanner by holding down the ENT and 9 keys on the scanner as you turn it on.Run the CLI like:rspro82 <port path> <channel csv file path>On a Mac, the port argument will probably look like/dev/cu.usbserial-<numbers>.On Windows, the port argument will look likeCOM4.CableThe PRO-82 uses a very simple programming cable connecting a RS-232 serial port to the unit's TRS headphone jack.The serial port's GND line (pin 5 on a DB-9 connector) is connected to the sheath.The serial port's TXD line (pin 3 on a DB-9 connector) is connected to the ring.These cables can be expensively purchased, or inexpensively made by sacrificing something with a 3.5mm jack,
like old headphones or a patch cable.Solderless DB-9 connectorsare available and convenient.Most Prolific-style USB/RS-232 adapters should work fine.
Devices targeting hobbyists that expose TTL-level outputs and skip the DB-9 interface may not work,
since TTL signal voltage levels are lower than the RS-232 spec requires.
If you try it, I'm curious how you make out!Licenserspro82 is made available subject to the Apache License 2.0; see LICENSE for details.
Package: rsq
CONTENTS AND COPYRIGHTThis package is used for maniputating genome annotation and seqeunce files, such as Bed, GenePred, BAM, Wiggle and BigWig formats. Users interested in this package should contact yfwang0405@gmail.com for details. This package uses the Vienna RNA Package lib and H directories (external/RNAlib/fold) and RNAStructure libs (external/RNAlib/plot), and users should read the COPYING or ReadMe.txt files inside and behave accordingly. All files are copyrighted, but license is hereby granted for personal, academic and non-profit use. Commercial users should contact yfwang0405@gmail.com.MANUALShttp://rsqwiki.appspot.comSOURCES CODEShttps://pypi.python.org/pypi/rsqPREREQUISITES1. python 2.7, python-dev2. numpy >= 1.4.1 (automatically installed)3. ngslib >= 1.1.10 for NGS data processing (automatically installed)4. fisher >= 0.1.4 for fisher exact test ((automatically installed)4. sfold 2.2 stand-alone executable (http://sfold.wadsworth.org/License_info.html)GENERAL INSTALL INSTRUCTIONS1. Install from Python Package Index (https://pypi.python.org)> easy_install --prefix=$HOME/local rsq2. Install from source file (including the demo example files)>easy_install --editable  --build-directory package_source/ rsq>cd package_source>python setup.py install --prefix=install_path3. sfold 2.2Download the stand-alone executable from http://sfold.wadsworth.org/License_info.htmlRun configure file>cd SFOLD2.2_HOME>./configureTest sfold in command line before use:>bin/sfoldIf successful, add sfold binary file to system PATH by:PATH=$PATH:SFOLD2.2_HOME/bin/export PATHMAJOR MODULES- Data formats:FastD, FastC, FastS and EFastS to represent data used in RSQ.- IO:Readers for each data format- Predictor:Wrappers of a series of RNA secondary structure prediction tools.RNAfold, mfold, UNAFold, sfold, et. al.Note: make sure the command/program is callable in shell before call it in RSQ.- Algorithm:EM algoritm, Boltzmann sampling, structure distance calculation, et. al.- Utils:Utilites. Temperature conversion, structure format conversion, et. al.- ThreadSafeFile:Used in threading processing procedures.EXAMPLESExamples are in the examples folder.1. Dealing with genes without isoforms.2. Dealing with genes with multiple isoforms.3. Advanced usage in tuning parameters and adding in external input.
Package: rsr
PresentationThis is a Python package providing basic utilities for applying the Radar Statistical Reconnaissance.Installationpip install rsrExampleBelow, 'f' is a Statfit python Class that holds the results of the rsr processing (description here)importrsrimportwgetimportpandasaspdimportmatplotlib.pyplotasplt%pylab# Load data (example is non-calibrated surface echo linear amplitudes from SHARAD orbit 0887601)data_filename=wget.download('https://raw.githubusercontent.com/cgrima/rsr/master/rsr/data.txt')data=pd.read_csv(data_filename)amp=data['amp'].values# Apply RSR to a given subset of amplitude.sample=amp[80000:85000]f=rsr.run.processor(sample,fit_model='hk')f.plot()# Plot results# Apply RSR along a vector of successive amplitude.# The RSR is applied on windows made of 1000 values. Each window is separated by# 500 samples (can be time consuming).a=rsr.run.along(amp,winsize=1000,sampling=250,nbcores=2)rsr.utils.plot_along(a)# Plot resultsCitationGrima, C., Schroeder, D. M., Blankenship, D. D., and Young, D. A. (2014)Planetary landing zone reconnaissance using ice penetrating radar data: concept validation in Antarctica. Planetary and Space Science 103, 191-204.
Package: rsrc
rsrcIn what followspythonis an alias forpython3.5or any later
version (python3.6and so on),pypyis an alias forpypy3.5or any later
version (pypy3.6and so on).InstallationInstall the latestpip&setuptoolspackages versions:withCPythonpython-mpipinstall--upgradepipsetuptoolswithPyPypypy-mpipinstall--upgradepipsetuptoolsUserDownload and install the latest stable version fromPyPIrepository:withCPythonpython-mpipinstall--upgradersrcwithPyPypypy-mpipinstall--upgradersrcDeveloperDownload the latest version fromGitHubrepositorygitclonehttps://github.com/lycantropos/rsrc.gitcdrsrcInstall dependencies:withCPythonpython-mpipinstall--force-reinstall-rrequirements.txtwithPyPypypy-mpipinstall--force-reinstall-rrequirements.txtInstall:withCPythonpythonsetup.pyinstallwithPyPypypysetup.pyinstallUsageThe main idea is to usesetuptoolsfeature
called"Dynamic Discovery of Services and Plugins".Assuming we have a packagersrc_ftpwith structure|_ rsrc_ftp.py
|_ setup.pywhich adds support for URLs withftpschemersrc_ftp.pyfromrsrc.modelsimportResourcedefdeserialize(string:str)->Resource:...to make it available forrsrcpackage
we should register its entry point
(rsrc_ftp::deserializefunction in our case)setup.pyfromsetuptoolsimportsetupfromrsrcimportpluginsplugins_entry_points=[plugins.to_entry_point(id_=plugins.to_id('ftp'),module_name='rsrc_ftp',function_name='deserialize'),]setup(name='rsrc_ftp',py_modules=['rsrc_ftp'],entry_points={plugins.__name__:plugins_entry_points},install_requires=['rsrc'])After that the installation ofrsrc_ftppackage
will registerrsrc_ftp::deserializefunction inrsrcpackage
as an entry point for resources withftpscheme>>>fromrsrc.baseimportdeserialize>>>ftp_resource=deserialize('ftp://path/to/resource')>>>ftp_resource.urlURL('ftp','path','/to/resource','','','')Pluginsrsrc_local-- adds support for local/local network resources.rsrc_web-- adds support for web resources (bothhttp&httpsschemes).DevelopmentBumping versionPreparationInstallbump2version.Pre-releaseChoose which version number category to bump followingsemver
specification.Test bumping versionbump2version--dry-run--verbose$CATEGORYwhere$CATEGORYis the target version number category name, possible
values arepatch/minor/major.Bump versionbump2version--verbose$CATEGORYThis will set version tomajor.minor.patch-alpha.ReleaseTest bumping versionbump2version--dry-run--verbosereleaseBump versionbump2version--verbosereleaseThis will set version tomajor.minor.patch.NotesTo avoid inconsistency between branches and pull requests,
bumping version should be merged intomasterbranch
as separate pull request.Running testsInstall dependencies:withCPythonpython-mpipinstall--force-reinstall-rrequirements-tests.txtwithPyPypypy-mpipinstall--force-reinstall-rrequirements-tests.txtPlainpytestInsideDockercontainer:withCPythondocker-compose--filedocker-compose.cpython.ymlupwithPyPydocker-compose--filedocker-compose.pypy.ymlupBashscript (e.g. can be used inGithooks):withCPython./run-tests.shor./run-tests.shcpythonwithPyPy./run-tests.shpypyPowerShellscript (e.g. can be used inGithooks):withCPython.\run-tests.ps1or.\run-tests.ps1cpythonwithPyPy.\run-tests.ps1pypy
Package: rsrch
rsrchManage your research papers from Python. This project lets you update a Notion database with arXiv links and download PDFs of papers to your local machine.InstallationCreate aninternal integrationin Notion.Add the integrationto the database you want to download from.Store yourNOTION_TOKENandNOTION_DATABASE_IDsomewhere safe. YourNOTION_TOKENcan be found in yourintegrations pageand is called theInternal Integration Token. TheNOTION_DATABASE_IDcan be found in theURL of your database(https://www.notion.so/{workspace_name}/{database_id}?v={view_id}).Install local dependencies:pipinstallrsrchImportant: Your Notion database must have the following columns with the corresponding types:Title:TitleURL:URLDate:DateAuthors:TextYou can add more columns, but these are the ones that are required.UsageSetupfromrsrchimportRsrchClientclient=RsrchClient(token=NOTION_TOKEN,database_id=NOTION_DATABASE_ID,)DownloadThis will download all the papers from your Notion database to thepapers/directory.client.download()UploadYou can upload arXiv abstract links, PDF links, or IDs to your Notion database and have it autofill all of the relevant fields.client.upload(arxiv_urls=["https://arxiv.org/abs/1706.03762","https://arxiv.org/pdf/1706.03762.pdf","1706.03762",])Alternatively, you can add non-arXiv links manually to Notion.NotesUploading papers to Notion is currently only supported for arXiv links. Papers with titles that already exist in the database will not be uploaded.I plan on adding support for other databases in the future, but for now it only works with Notion databases.To build and release this:Make new code accessible insrc/__init__.pyUpdate the version insrc/__about__.pyRunpython3 -m buildRunpython3 -m twine upload dist/*ResourcesNotion API
Package: rsrc-local
rsrc_localIn what followspythonis an alias forpython3.5or any later
version (python3.6and so on),pypyis an alias forpypy3.5or any later
version (pypy3.6and so on).InstallationInstall the latestpip&setuptoolspackages versions:withCPythonpython-mpipinstall--upgradepipsetuptoolswithPyPypypy-mpipinstall--upgradepipsetuptoolsUserDownload and install the latest stable version fromPyPIrepository:withCPythonpython-mpipinstall--upgradersrc_localwithPyPypypy-mpipinstall--upgradersrc_localDeveloperDownload the latest version fromGitHubrepositorygitclonehttps://github.com/lycantropos/rsrc_local.gitcdrsrc_localInstall dependencies:withCPythonpython-mpipinstall-rrequirements.txtwithPyPypypy-mpipinstall-rrequirements.txtInstall:withCPythonpythonsetup.pyinstallwithPyPypypysetup.pyinstallUsage>>>fromrsrc.baseimportdeserialize>>>importos>>>directory=deserialize(os.getcwd())>>>directory.exists()True>>>next(iter(directory),None)isnotNone# directory is not emptyTrue>>>fromrsrc_local.modelsimportFile>>>is_local_file=File.__instancecheck__>>>file=next(filter(is_local_file,directory))>>>file.exists()TrueDevelopmentBumping versionPreparationInstallbump2version.Pre-releaseChoose which version number category to bump followingsemver
specification.Test bumping versionbump2version--dry-run--verbose$CATEGORYwhere$CATEGORYis the target version number category name, possible
values arepatch/minor/major.Bump versionbump2version--verbose$CATEGORYThis will set version tomajor.minor.patch-alpha.ReleaseTest bumping versionbump2version--dry-run--verbosereleaseBump versionbump2version--verbosereleaseThis will set version tomajor.minor.patch.NotesTo avoid inconsistency between branches and pull requests,
bumping version should be merged intomasterbranch
as separate pull request.Running testsInstall dependencies:withCPythonpython-mpipinstall-rrequirements-tests.txtwithPyPypypy-mpipinstall-rrequirements-tests.txtPlainpytestInsideDockercontainer:withCPythondocker-compose--filedocker-compose.cpython.ymlupwithPyPydocker-compose--filedocker-compose.pypy.ymlupBashscript (e.g. can be used inGithooks):withCPython./run-tests.shor./run-tests.shcpythonwithPyPy./run-tests.shpypyPowerShellscript (e.g. can be used inGithooks):withCPython.\run-tests.ps1or.\run-tests.ps1cpythonwithPyPy.\run-tests.ps1pypy
Package: rsrc-web
rsrc_webIn what followspythonis an alias forpython3.5or any later
version (python3.6and so on),pypyis an alias forpypy3.5or any later
version (pypy3.6and so on).InstallationInstall the latestpip&setuptoolspackages versions:withCPythonpython-mpipinstall--upgradepipsetuptoolswithPyPypypy-mpipinstall--upgradepipsetuptoolsUserDownload and install the latest stable version fromPyPIrepository:withCPythonpython-mpipinstall--upgradersrc_webwithPyPypypy-mpipinstall--upgradersrc_webDeveloperDownload the latest version fromGitHubrepositorygitclonehttps://github.com/lycantropos/rsrc_web.gitcdrsrc_webInstall dependencies:withCPythonpython-mpipinstall-rrequirements.txtwithPyPypypy-mpipinstall-rrequirements.txtInstall:withCPythonpythonsetup.pyinstallwithPyPypypysetup.pyinstallUsage>>>fromrsrc.baseimportdeserialize>>>readable_resource=deserialize('https://postman-echo.com/get')>>>readable_resource.exists()True>>>writable_resource=deserialize('https://postman-echo.com/post')>>>writable_resource.exists()False>>>writable_resource.receive(readable_resource)>>>importjson>>>file=readable_resource.open(json={'some_param':1})>>>json.load(file)['args']{'some_param':1}DevelopmentBumping versionPreparationInstallbump2version.Pre-releaseChoose which version number category to bump followingsemver
specification.Test bumping versionbump2version--dry-run--verbose$CATEGORYwhere$CATEGORYis the target version number category name, possible
values arepatch/minor/major.Bump versionbump2version--verbose$CATEGORYThis will set version tomajor.minor.patch-alpha.ReleaseTest bumping versionbump2version--dry-run--verbosereleaseBump versionbump2version--verbosereleaseThis will set version tomajor.minor.patch.NotesTo avoid inconsistency between branches and pull requests,
bumping version should be merged intomasterbranch
as separate pull request.Running testsInstall dependencies:withCPythonpython-mpipinstall-rrequirements-tests.txtwithPyPypypy-mpipinstall-rrequirements-tests.txtPlainpytestInsideDockercontainer:withCPythondocker-compose--filedocker-compose.cpython.ymlupwithPyPydocker-compose--filedocker-compose.pypy.ymlupBashscript (e.g. can be used inGithooks):withCPython./run-tests.shor./run-tests.shcpythonwithPyPy./run-tests.shpypyPowerShellscript (e.g. can be used inGithooks):withCPython.\run-tests.ps1or.\run-tests.ps1cpythonwithPyPy.\run-tests.ps1pypy
Package: rsrfile
rsrfilePython module for read RSR files (RiskSpectrum PSA result files)FeaturesRead minimal cut sets;Read of importance measurements table of basic events, CCF groups, attributes, systems, components and events groups;Read CDF and PDF value table;Read common calculation info. Such as calculation time, number of MCS, cutoff threshold, etc.Installation# PyPIpipinstallrsrfileUsageThe code below displays common information on the calculation and a table of importance measurementscfor attributes:importrsrfileimportpandasaspdwithrsrfile.open('<path to RSR file>','<open mode> "r" or "w"')asf:print(f.MCSSummary)attr=pd.DataFrame(f.AttrImpTable[1:],columns=f.AttrImpTable[0])print(attr)DocumentationSummary resultsrsrfile.RSRFile.mcs_summaryMCSMod. MCSRisk Importance MeasuresBasic EventCCF GroupParameterAttributeComponentSystemEvent GroupOther stats
Package: rsr-reverse
# RSR Reverse
===RSR Reverse stands for Rails-Syle Route Reverse.  It reverses Rails-style routes.## IntroductionBeside routing, one of the most basic needs of a web framework is to reverse routes–either for embedding in generated content or for server-side redirection.## LicenseRSR Reverse is available as an open source product under the BSD license.Hack your heart out, hackers.Copyright (c) 2012 Cuzzo Yahn.
Package: rss2gab
rss2gabTakes an RSS feed and auto posts to gabThere is 100% test coverage on this codebase. So if the unit tests pass on your platform then
the system will work correctly.TestsTo run all linting and unit test, please installtoxand run it, like so:Install:> python -m pip install toxThen runtox:> toxPlatform Unit TestsBuilding an apppythony build_app.pyand follow the promptsVersions1.0.3: Adds include_author_in_content
Package: rss2jira
This is just a Python script that polls RSS feeds, monitoring for certain
keywords and then createing a JIRA issue if matched.  We userss2jirato help
ensure we are answering questions about our software on community sites such as
Biostar and SEQanswers.Seerss2jira/rss2jira.conf.examplefor an example configuration.There is also an example Puppet module and manifest on thepuppetbranch.
Package: rss2pdf
READMEDownload all links from an rss feed into a pdf.From the CLI:python-mrss2pdf--rss.urls'["https://scottaaronson.blog/?feed=rss2"]'Or by editing the config.toml shipped with this package.
You can find its location with.python-mrss2pdf--helprss2pdf will keep track of entries already downloaded and only download unseen entries.installrss2pdf uses thepdfkitpackage, which requireswkhtmltopdfwhich should be available for all platforms.pipinstallrss2pdf
Package: rss2sn
# rss2snQuick and dirty RSS to StatusNet client.## UsageYou can use it straight from a Git clone, and run it like:$ cp rss2sn.cfg.sample ~/.rss2sn.cfg
$ $EDITOR ~/.rss2sn.cfg
$ ./rss2sn.py -a AccountNameYou may want to add it to yourcrontab.If you prefer, you can usepipto install rss2sn and run
it from your site-packages like:$ python /usr/lib/python/site-packages/rss2sn.py -a AccountNameBy usingpip install rss2snyou make sure that you get
the dependencies installed along with rss2sn.## How it worksIt fetches the RSS feed and checks each item’s pubDate against
the local stored value of the last pushed item. If no local
value is found, local time is stored, and nothing is posted.This behavior can be changed by setting bootstrap = True in the
feed’s configuration. When bootstrap is set, on missing last
item’s date, a one year back date is saved and used as bootstrap
“since” date. This way the first run will (most probably) post
some notices.## LicenseSeeCOPYING.## Authorsmarcos+rss2sn@tenak.net## Get itClone it straight from the Git repo:$ git clonehttp://git.tenak.net/rss2sn.gitOr grab it from the cheese shop:$ pip install rss2sn