Saravanan666/pypi-org huggingface dataset:
Package: rvcm
⟹ Releases are here
⟸This is library and CLI utils to control the router. It depends on
python3.5and requests library.See API in source code - it’s really simple and short.CLI also have a--helpfor options =). You may start from this
command:python router.pyz--help, wherepythonmust be python
3.5 or higher.provides this output:usage: router.pyz [OPTIONS] COMMAND [ARGS]...

Options:
  --ip TEXT        Router IP
  --user TEXT      Login name
  --password TEXT  Password
  --help           Show this message and exit.

Commands:
  calls   Calls operations
  nat     NAT operations
  router  Direct router operationsThe router-control supports basic environment variables (in addition to
command line arguments):RC_IP- IP address to routerRC_USER- Login name to router (default: admin)RC_PASSWORD- Password to router (default: admin)Router operationsUsage: router.pyz router [OPTIONS] COMMAND [ARGS]...

  Direct router operations

Options:
  --help  Show this message and exit.

Commands:
  apply   Apply changes on the router
  export  Print details about router in json
  info    Print details about routerExample:Command:python router.pyz--ip192.168.100.1 router infoNAT operationsUsage: router.pyz nat [OPTIONS] COMMAND [ARGS]...

  NAT operations

Options:
  --help  Show this message and exit.

Commands:
  create   Create forwarding rule
  disable  Disable (but not remove) rule
  enable   Enable rule
  info     Print forwarding table
  remove   Remove forwarding rule
  rename   Rename forwarding rule
  update   Update forwarding recordCalls operationsUsage: router.pyz calls [OPTIONS] COMMAND [ARGS]...

  Calls operations

Options:
  --help  Show this message and exit.

Commands:
  export  Print calls history in JSON
  info    Print calls history
Package: rvcrunch
RvCrunch- RVTools reporterRvCrunch is a simple CLI tool that provides a report with relevant information from a RvTools export. The main function is to save an Excel report with this information.The report includes a 'Agg Cap' figure which uses the vPartitions tab to calculate a more accurate used capacity figure. Where VMs are missing because they are powered off or VMware tools is not working, the allocated capacity will be shown in that column.RvCrunch relies on the excellent work done by Rob de Veij ofRvToolsfame.There are also mini reports that provide quick reports on key information from the RvTools report.The tool accepts RvTools files in excel format (.xlsx), vInfo and vPartition tabs are required.InstallationYou can install RvCrunch from PyPi via:pip install rvcrunchUpdatesNow works with the latest version of RvTools which changed the capacity units from MB to MiB.UsageRun the tool via the command line via:rvcrunch [OPTIONS] pathSpecifying the file path as the first argument will run the main Excel "Crunch" report.rvcrunch "C:\path\to\rvtools\rvtools.xlsx"-po or --poweredon modifies the report to display only Powered On virtual machine info.-sn or --savename allows you to specify the exported file name, otherwise the default 'report.xlsx' will be used.-sr or --skipreport stops the main report being exported to excel, this can be used with the mini reports below.There are also several mini reports that provide certain key info, these are shown in the command line.-vm : Provides the total VM count by Powered-On and Off-dc : Provides the Data center names-cl : Provides the Cluster names-dc_cl : Groups the clusters by the Data center and provides vm, disk and vInfo capacity breakdowns.-rdm : Checks if report has RDMs and optionally exports to Excel. The vDisk tab is required for this to work.These can be run alongside the main report or instead. To prevent the main report being run when using mini reports use the -sr flag.Example:rvcrunch -sr -vm "C:\path\to\rvtools\rvtools.xlsx"Note: RDM report is allocated capacity, mapping the disks in vDisk to the partitions in vPartition isn't precise enough to be practical.
Package: rvdata
RVdataRadial Velocity DataGitHub repo:https://github.com/j-faria/rvdata.gitDocumentation:https://rvdata.readthedocs.ioFree software: MITFeaturesTODOQuickstartTODOCreditsThis package was created withCookiecutterand thefedejaure/cookiecutter-modern-pypackageproject template.
Package: rvenv
Install and manage R packages in a python virtualenv.Why?I need someplace to put project-specific R packages. The python
virtualenv I inevitably have installed in any given
project/analysis/pipeline seems as good a place as any.InstallationInstall to an active virtualenv using pip (or simply copyrvenvto$VIRTUAL_ENV/bin):% virtualenv r-env
% source r-env/bin/activate
% pip install rvenvOr to install from the GitHub repository:% pip install git+https://github.com/nhoffman/rvenv.gitYou can use thervenvscript from the command line to install
packages to$VIRTUAL_ENV/lib/R.%v-library:% rvenv dplyrIncluding the following lines in an R script will set the library path
to use locally-installed packages:#!/usr/bin/env Rscript
if(Sys.getenv("VIRTUAL_ENV") == ""){ stop("An active virtualenv is required") }
source(file.path(Sys.getenv('VIRTUAL_ENV'), 'bin', 'rvenv'))Loadingrvenvas above prepends$VIRTUAL_ENV/lib/R.%v-libraryto the library search path. See example scriptscript.RTo start an interactive R session with the library path defined:% eval $(rvenv -e)
% RAnd to define the library path within an already running R session:> Sys.setenv(VIRTUAL_ENV='some/path/to/virtualenv')
> source(file.path(Sys.getenv("VIRTUAL_ENV"), "bin", "rvenv"))usageusage: ./rvenv [-h] [-r REQUIREMENTS] [--rm] [-U] [-l] [-e] [-R REPOS] [-v]
               [packages [packages ...]]

Install R packages to a python virtualenv

Include the following in an R script to add "$VIRTUAL_ENV/lib/R.%v-library"
to the library search path:

  #!/usr/bin/env Rscript
  if(Sys.getenv("VIRTUAL_ENV") == ""){ stop("An active virtualenv is required") }
  source(file.path(Sys.getenv("VIRTUAL_ENV"), "bin", "rvenv"))

Also see https://github.com/nhoffman/rvenv

positional arguments:
  packages              one or more package names

optional arguments:
  -h, --help            show this help message and exit
  -r REQUIREMENTS, --requirements REQUIREMENTS
                        a file listing packages
  --rm                  remove listed packages
  -U, --update          update existing packages
  -l, --list            list packages installed locally
  -e, --environ         print shell command to set R_LIBS
  -R REPOS, --repos REPOS
                        value for "install.packages(repos)" [http://cran.fhcrc.org/]
  -v, --verbose         be verbose when installing packages
Package: rvfln
RVFLNA Python implementation of Random Vector Functional Link Networks and Broad Learning Systems using the Sklearn APIInstallationpip install rvflnUsageSince the API is based on that of sklearn the usage is very similar.
The package contains:An rvfln module containing a regressor and a classifier estimatorA bls module containing a regressor and a classifier estimatorExample:from rvfln.bls import BLSClassifier

clf = BLSClassifier(
    n_z = 10,
    n_z_features = 400,
    n_h = 2000,
    alpha = 1
).fit(x_train, y_train)

print(clf.score(x_test, y_test))YOH-HAN PAO, STEPHEN M. PHILLIPS & DEJAN J. SOBAJIC (1992) Neural-net computing and the intelligent control of systems, International Journal of Control, 56:2, 263-289, DOI: 10.1080/00207179208934315
Package: rvfont
#Fontchooser for python GUI or tkinterTo install module : pip install rvfontLatest version = "1.0.3"#Example code:from rvfont.rvfontchooser import FontDialogget_font=FontDialog()print(get_font)It will give output like:
{'font': 'Arial', 'size': 10, 'weight': 'normal', 'slant': 'roman', 'underline': True, 'strike': False}Developed byRavikirana BEmail:ravikiranb36@gmail.com
Package: rvgeocoder
Reverse Geocoder takes a latitude / longitude coordinate and returns the nearest town/city.
This library improves on existing libraries called reverse_geocode developed by Richard Penman & reverse_geocoder by Ajay Thampi in the following ways:support init non-singleton instance of RGeocoder to support different stream simultaneously (creating RGeocoderImpl class to support that)added the capability change the header columns when loading custom stream and loaded different schemasadded query_dist to support returning distance in addtion to the reverse geocoding data itselfadded do_extract to trigger extraction for any Geonames file, e.g: 1000, 15000 etcremoved win32 and python2 support. added utility function to load data from files/buffersExample usage:>>> import rvgeocoder as rvg
>>> coordinates = (41.852968, -87.725730), (48.836364, 2.357422)
>>> rvg.search(coordinates)
[OrderedDict([('lat', '41.84559'),
          ('lon', '-87.75394'),
          ('name', 'Cicero'),
          ('admin1', 'Illinois'),
          ('admin2', 'Cook County'),
          ('cc', 'US')]),
 OrderedDict([('lat', '48.85341'),
          ('lon', '2.3488'),
          ('name', 'Paris'),
          ('admin1', 'Ile-de-France'),
          ('admin2', 'Paris'),
          ('cc', 'FR')])]
Package: rvid
Copyright (c) 2020 Hiroki AsanoPermission 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.Description: # Replace Value in Dict on Python[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)This is a small Python package to replace a target value in dict with an expected value.## Author
[ashnoa](https://twitter.com/ashnoa)Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Package: rvid.tex-runner
rvid.tex-runnerA small utility to ease programmatic usage of LaTeX from Python.Calling XeLaTeX on outputIf you just run thexelatexcommand, you'll get a bunch of temp files output
to your current working directory. You also get a few screenfulls of debug out that
you only really want to see if something goes wrong. No big deal, but a bit of faff.The functionrvid.tex_runner.make_pdf_at_path()finds the xelatex-command, creates a
temp-directory, runs the command, moves the PDF-file into the location you
specified and then cleans up all the temp files.def make_pdf_at_path(
    tex_content=a_string_that_holds_tex_source,
    target_path="/home/apa/bepa.pdf"
)If you want the resulting PDF returned as a bytestream instead written to disk, just
uservid.tex_runner.make_pdf_as_bytestream()instead.When there is an errorXeLaTeX is run in nonstop mode and will not drop to an interactive prompt if there is a
problem. If a non-zero exit code is returned, the XeLaTeX output will be dumped to
stdout, even in silent mode.Handling paths to external resourcesTo handle external resources that are needed to build your PDF files, tex-runner has a
concept ofExternalResource. This is a Python object that contains a sequence of
absolute file paths and a relative target path (basedir) where your .tex files expect
to be able to include them from. For example:ExternalResource(
    basedir="images",
    files=[
        "/Users/sean.banan/tex/img1.png",
        "/Users/sean.banan/tex/img2.png",
    ]
)This concept also comes in handy if you have differing paths in different deployment
environments, since it allows you to abstract that away programmatically.Auto-generating ExternalResource-librariesThere is a utility function for auto-generating ExternalResource-objects from filesystem
paths:>>> make_external_resource_library(source_directory="c:/pix", relative_target_directory="img")
ExternalResource(basedir="img", files=["c:/pix/q1.jpg"])DebuggingChangervid.tex_runner.latex:make_pdf_in_tempdir()so that it doesn't delete
the tempdir after finishing the run.
Package: rvlm.entrypoint
This module may be helpful in writing small and clear scripts, with no ugly
command line parsing code, as it has the following features:Automatically generate argument parsers basing on “main” function signature
and docstring.Automatically run the “main” function when a script is called directly,
but not when it is included as a module.Right after this module was written, its author discovered for himself
theentrypointmodule (https://pypi.python.org/pypi/entrypoint). But it
appeared to be that originalentrypointbehaves sometimes in a strange
way. So, it was decided to continue development, and also to rename this module
torvlm.entrypointfrom formerrvlm.argmap, becase this name
sounds better still doesn’t introduce names conflict by having a prefix.
Package: rv-ltl
rv-ltlrv-ltlis a Python package that implements Runtime Verification Linear Temporal Logic (RV-LTL), which was presented in A. Bauer, M. Leucker and C. Schallhart, "Comparing LTL Semantics for Runtime Verification," in Journal of Logic and Computation, vol. 20, no. 3, pp. 651-674, June 2010, doi: 10.1093/logcom/exn075.
Package: rvnewop
riscv-newopA RISC-V New Instruction Recommender SystemInstallation# preferably inside of a venv
python3 -m pip install rvnewopUsagefromrvnewopimportRV32frombitarrayimportbitarrayisa_model=RV32("32I")print(isa_model.decodeHex("00e787b3"))outputadd a5,a5,a4
Package: rvnn
PyTreeimplements tree-structured neural networks in PyTorch.
The package provides highly generic implementations as well as efficient batching methods.InstallationTo install please run:pipinstallgit+https://github.com/AntoineSimoulin/pytreeUsagePrepare constituency tree dataData must be in thestrformat as detailed in the example below:frompytree.dataimportprepare_input_from_constituency_treeparse_tree_example='(TOP (S (NP (_ I)) (VP (_ saw) (NP (_ Sarah)) (PP (_ with) (NP (_ a) (_ telescope)))) (_ .)))'input_test,head_idx_test,head_idx_r_test,head_idx_l_test=prepare_input_from_constituency_tree(parse_tree_example)print(input_test)# ['[CLS]', 'I', 'saw', 'Sarah', 'with', 'a', 'telescope', '.', '[S]', '[S]', '[VP]', '[VP]', '[PP]', '[NP]']print(head_idx_test)# [0, 9, 11, 11, 12, 13, 13, 8, 0, 8, 9, 10, 10, 12]print(head_idx_r_test)# [0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0]print(head_idx_l_test)# [0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1]Prepare dependency tree dataData must be in theconll-Xformat as detailed in the example below:frompytree.dataimportprepare_input_from_dependency_treeparse_tree_example="""1	I	_	_	_	_	2	nsubj	_	_2	saw	_	_	_	_	0	root	_	_3	Sarah	_	_	_	_	2	dobj	_	_4	with	_	_	_	_	2	prep	_	_5	a	_	_	_	_	6	det	_	_6	telescope	_	_	_	_	4	pobj	_	_7	.	_	_	_	_	2	punct	_	_"""input_test,head_idx_test=prepare_input_from_dependency_tree(parse_tree_example)print(input_test)# ['[CLS]', 'I', 'saw', 'Sarah', 'with', 'a', 'telescope', '.']print(head_idx_test)# [0, 2, 0, 2, 2, 6, 4, 2]Prepare dataYou may encode the word with GloVe emebddings :frompytree.data.glove_tokenizerimportGloveTokenizerglove_tokenizer=GloveTokenizer(glove_file_path='./glove.6B.300d.txt',vocab_size=10000)input_test=glove_tokenizer.convert_tokens_to_ids(input_test)print(input_test)# [1, 1, 824, 1, 19, 9, 1, 4]Then prepare the data:frompytree.data.utilsimportbuild_tree_ids_n_arytree_ids_test,tree_ids_test_r,tree_ids_test_l=build_tree_ids_n_ary(head_idx_test,head_idx_r_test,head_idx_l_test)inputs={'input_ids':torch.tensor(input_test).unsqueeze(0),'tree_ids':torch.tensor(tree_ids_test).unsqueeze(0),'tree_ids_r':torch.tensor(tree_ids_test_r).unsqueeze(0),'tree_ids_l':torch.tensor(tree_ids_test_l).unsqueeze(0)}And apply the model:frompytree.modelsimportNaryConfig,NaryTreeconfig=NaryConfig()tree_encoder=NaryTree(config)(h,c),h_root=tree_encoder(inputs)print(h)# tensor([[[ 0.0000,  0.0000,  0.0000,  ...,  0.0000,  0.0000,  0.0000],#          [ 0.0113, -0.0066,  0.0089,  ...,  0.0064,  0.0076, -0.0048],#          [ 0.0110, -0.0073,  0.0110,  ...,  0.0070,  0.0046, -0.0049],#          ...,#          [ 0.0254, -0.0138,  0.0224,  ...,  0.0131,  0.0148, -0.0143],#          [ 0.0346, -0.0172,  0.0281,  ...,  0.0140,  0.0198, -0.0267],#          [ 0.0247, -0.0126,  0.0201,  ...,  0.0116,  0.0162, -0.0184]]],#        grad_fn=<SWhereBackward>)print(h_root.shape)# torch.Size([150])We also provide a full demonstration with the SICK dataset and batched processing in theexamples folder.
Package: rvp
Reverse ProxyA very simple reverse proxy for websites and APIs.
Quite easy to set up.Why?Censorship circumvention:create a mirror of almost any website in seconds!Privacy:hide your IP address from the website you're mirroring!specifyexpose-client-ip: trueif you want the target website to know the IP address of the clientSecurity:hide your server's IP address from the public!Supported platformsMicrosoftWindows10 and higherMost newer Debian-basedLinuxdistributionsHow?Install:python -m pip install --upgrade -r requirements.txtConfigure:editconfig.jsonRun:python revproxy
Package: rvr-base
rvr.baseThis is Roberts personal base module. Currently it provides the following functionality:Logging to Azure log analyticsSending notifications usinghttps://notify.run/Querying configuration from a single configuration (.ini) file.PrerequistesYou'll need an Azure log analytics workspace. This is where the logs are send to.
This module is developed for Linux and tested on:Ubuntu 20.04 using Python 3.8.10.Raspberry Pi OS using Python 3.9.2The configurationfileThe configuration file is used for some configuration settings like the Log analytics workspace and password... it's a bad practice I know... Perhaps I'll improve the security later on. The file is located in '/etc/rvr/config.ini'.The file requires the following content:[AZ GENERAL]
tenant = 83ebf573-f6a0-4a5a-a14e-323ba97ec356

[AZ_LOG_ANALYTICS_WORKSPACE]
workspace_id = 'log analytics workspace_id'
primary_key = 'log analytics primary key'
powerstatistics_workspace_id = 'log analytics workspace_id'
powerstatistics_primary_key = 'log analytics primary key'

[AZ SERVICE PRINCIPAL LOGANALYTICSREADER]
service_principal_loganalyticsreader_id = 'service principal'
service_principal_loganalyticsreader_secret = 'secret'

[HOME_WIZARD_P1]
hwip = IPInstalling the moduleJust install the module withpip3 install rvr-base.Using the moduleAn example says more than 1000 words in my opinion. Please see the example.py file in this project for examples.BuildingPrerequistes for buildingMake sure you'll have the following PIP packages installed:wheelsetuptoolstwineBuild the moduleMake sure the cursor is the root folder of the project and run:python3 -m buildDistributing the modulepython3 -m twine upload dist/* --verbose -uTesting the build moduleYeah I know, this isn't proper testing. But for now I've got to do with it.
Here is an example:# create a Python virtual environment:python3-mvenvvenv# Make the environment activesourcevenv/bin/activate# Install the build modulepip3install./dist/rvrbase-<VERSIONANDTHERESTOFTHEFILE>.whl#Run the example scriptpython3example.pySources usedhttps://packaging.python.org/en/latest/tutorials/packaging-projects/https://medium.com/slalom-build/reading-and-writing-to-azure-log-analytics-c78461056862DisclaimerThis module has been written for my personal use. Feel free to use it but at your own discression. There is no support or whatsoever on my part.
Package: rvsearch
reverse video searchRVSearch is a tool to do a reverse video search on YouTube.The comparison is done using pHash and Linear search algorithm,
thus it is fast and precise to findexactsimilar frames between any videos,
but not smart enough to findsome whatsimilar frames when the video is distorted, swinged, transitioned and overall,
changed, enough
to escape YouTube own copyright detection algorithm.Finding similarity betweendistortedandchangedimages can be done using basic object detection algorithms, but when importing them
to compare videos it will be unbearably slow.RequirementsPython 3 or greaterFor other missing packages first you need to install them usingpip:pip install pandas youtube_dl opencv-python numpy setuptools scikit-video PyQt5 Pillow pip pytz scipy python-dateutil sixInstallation:python3 pip install rvsearchUsage:You can work directly with RVSearch's command line interface:rvsearch input.csvInput:For input you only need to provide the URLs for source and target videos in
a.csvformat file, under columnsCompilationandSource.For example:i|Compilation|Source|----------------------------------------------------------0|https://you.tube/video|https://you.tube/video|----------------------------------------------------------1||https://you.tube/video|----------------------------------------------------------2||https://you.tube/video|Note: OnlyONEcompilation per file is supported for now.If you want to give multiple inputs, you can.for example:rvsearch input1.csv input2.csv input3.csvBut note that output file name will be redundant. If you want to manually specify the output file's name, see Advance Usage.Output:The output will be saved as a.csvfile on current working directory. To see where a similarity
between two videos happened, checkout the timestamp of both videos.Below you can see an example of output format:|    Cmpl_url   |  Cmp_name | Cmp_chnl |   Source_url  | Source_name | Source_chnl | Cmp_TimeStamp | Source_TimeStamp |
-----------------------------------------------------------------------------------------------------------------------
|  https://...  |    Name   |   Name   |  https://...  |    Name     |    Name     |     12:34     |      1:23        |Cmpl_url: Web URL for the compilation videoCmp_name: Title of the compilation videoCmp_chnl: Channel name (uploader) of the compilation videoSource_url: Web URL for the Source videoSource_name: Title of the Source videoSource_chnl: Channel name (uploader) of the Source videoCmp_TimeStamp: The timestamp on compilation video where similarity foundSource_TimeStamp: The timestamp on source video where similarity foundAdvance Usage:ArgumentExplanation-hDisplays help message listing all command-line arguments-qBe quiet. Doesn't show anything about what you do-vBe verbose. Output everything, used mostly for debugging the program.-oSpecifies the name for output fileFor example:rvsearch input1.csv input2.csv -o results.csv -qLicenseCopyright (c) 2021 bysadiqush. All rights reserved.RVSearchis licensed under the GPLv3 License as stated in theLICENSE file.