Saravanan666/pypi-org huggingface dataset:
Package: rgmining-synthetic-dataset
This package provides a method to load a synthetic review dataset.The synthetic review dataset has been introduced in the following paper:Kazuki Tawaramoto,Junpei Kawamoto,Yasuhito
Asano, andMasatoshi
Yoshikawa,
“A Bipartite Graph Model and Mutually Reinforcing Analysis for
Review
Sites,”
Proc. ofthe 22nd International Conference on Database and Expert
Systems
Applications(DEXA 2011),
pp.341-348, Toulouse, France, August 31, 2011.InstallationUsepipto install this package.pipinstall--upgradergmining-synthetic-datasetUsageThis package providesloadmethod which takes a graph object and
addsreviewers, products and reviews to the graph.# `graph` is an instance of a graph class.importsyntheticsynthetic.load(graph)This package also provides an executable script,synthetic-evaluation.See thedocumentfor more information.LicenseThis software is released under The GNU General Public License Version
3,seeCOPYINGfor more detail.
Package: rgmining-tripadvisor-dataset
For theReview Graph Mining project,
this package provides a loader of theTrip Advisor
datasetprovided byDr.
Wang.InstallationUse pip to install this package.$pipinstall--upgradergmining-tripadvisor-datasetNote that this installation will download a big data file from theoriginal web site.This package usesbz2internally. If your python doesn’t have that
package (tryimport bz2), rebuild python before installation.UsageThis package provides moduletripadvisorand this module providesloadfunction. Theloadfunction takes a graph object which
implements thegraph
interfacedefined inReview Graph Mining
project.For example, the following code constructs a graph object provides theFRAUDARalgorithm, loads the Trip Advisor dataset, runs the algorithm, and then
outputs names of anomalous reviewers. Since this dataset consists of
huge reviews, loading may take long time.importfraudarimporttripadvisor# Construct a graph and load the dataset.graph=fraudar.ReviewGraph()tripadvisor.load(graph)# Run the analyzing algorithm.graph.update()# Print names of reviewers who are judged as anomalous.forringraph.reviewers:ifr.anomalous_score==1:printr.name# The number of reviewers the dataset has: -> 1169456.len(graph.reviewers)# The number of reviewers judged as anomalous: -> 147.len([rforringraph.reviewersifr.anomalous_score==1])Note that you may need to install the FRAUDAR algorithm for the Review
Mining Project bypip installrgmining-fraudar.LicenseThis software is released under The GNU General Public License Version
3, seeCOPYINGfor more detail.The authors of the Trip Advisor dataset, which this software imports,
requires to cite the following papers when you publish research papers
using this package:Hongning Wang,Yue
Lu, andChengXiang
Zhai, “Latent Aspect Rating
Analysis without Aspect Keyword
Supervision,”
In Proc. of the 17th ACM SIGKDD Conference on Knowledge Discovery and
Data Mining (KDD’2011), pp.618-626, 2011;Hongning Wang,Yue
Lu, andChengxiang
Zhai, “Latent Aspect Rating
Analysis on Review Text Data: A Rating Regression
Approach,”
In Proc. of the 16th ACM SIGKDD Conference on Knowledge Discovery and
Data Mining (KDD’2010), pp.783-792, 2010.
Package: rgn
Rank Gaussian NormalizationThis python implementation is built on a fork ofhttps://github.com/michaeljahrer/rankGauss/blob/master/rankGaussMain.cpp, thanks Michael Jahrer shared this. Python source code:https://github.com/RogerZhangsc/Porto-Seguros-Safe-Driver-Prediction/blob/master/Rank_Gaussian_Normalization.py
Package: rgov
rgov - Recreation.gov Campground Checkerrgovis a command line program to check for campground availability on Recreation.gov. It is intended to be easy to use, and provides an interactive mode for easily searching for and checking multiple campgrounds for availability at once. It can also be used as a unix daemon that sends push notifications to your phone or other device when available sites are found.InstallationRequires: Python 3.6+From pypi:$pip install rgovManually:$git clone https://github.com/jsbmg/rgov$cd rgov$pip install . pyproject.tomlIn order to receive notifications, you will need to make an account with Pushsafer and configure it for use with your phone or device of choice.https://www.pushsafer.com/Quick StartThe easiest way to run rgov is with theruncommand. Use it to build a list of campgrounds, enter your dates of stay, and start checking for available sites:$ rgov runThesearch,check, anddaemoncommands provide the same functionality as above but non-interactively.Run $rgovto see a list of all commands, and $rgov help <command>to see more information about each one.
Package: rgpio
rgpio Packagergpio is a module for Linux Single Board Computers (SBC) which allows control of the General Purpose Input Outputs (GPIO) over a network.Each SBC must be running the rgpiod daemon.Featuresreading and writing GPIO singly and in groupssoftware timed PWM and wavescallbacks on GPIO level changenotifications via pipe on GPIO level changeI2C wrapperSPI wrapperserial link wrapperaccess controlfile handlingcreating and running scriptsnetwork access
Package: rgpubsub
rgpubsubSimple helper utility to send Google Pubsub messages easily.Simple usage exampleimport rgpubsub
from rgpubsub import Publisher

publisher = Publisher.default_instance()

topic_name = rgpubsub.topic('testtopic')

message = {
    'foo': 'bar'
}

attributes = {
    'baz': 'bar'
}

publisher.publish(topic_name, message, attributes)

print('Sent message')
Package: rgpvApi
RGPV APIRGPV API wrapper, written in Python.InstallationInstall using Pypi:pipinstallrgpvApiUsageExample code to get Main Result:importrgpvApienrollId=ENROLLMENT_NUMBERcourseId=COURSE_IDsem=SEMESTERstu_result=rgpvApi.result(enrollId,courseId)print(stu_result.getMain(sem))ContactChiragcro@chirag.software
Package: rgr
rgr.py – A graph database built on Redis.Yea, another one…I’m not sure if my module is better than the other ones that I found by searching Pypi, and I highly doubt that it’s more memory efficient. What can I say? I’m a hacker, not a computer scientist. But, It’s probably easier, and simpler, if nothing else. For what it’s worth, I’d like this to be the best ;)This is my first package, so I’m looking for feedback. If you use it, feel free to email me or make suggestions on my github page for ths project. Please tell me why I suck, and how much ;)I’m still working on it actively, I just wanted to put it out there in hopes of getting feedback.
Package: rgrpc
rgprcA simple to use, reflection only - grpc client.FeaturesMake GRPC calls against reflection enabled serversHow to installpipinstallrgrpcHow to usetry:rgrpc_client=Client('localhost:50051')response=rgprc_client.request('myserver.myservice','mymethod',{'field1':'value1'})exceptExceptionase:logger.error(f"Failed to initialize rgrpc client:{e}")Developer SetupEnvironment Setuppython3 -m venv /where/you/like/to/store/venvssource /venv/bin/activatepip install -r dev-requirements.txtpre-commit installRunning testsRunningtests.shwill execute the following actions:ruff check ./rgrpc- will run therufflinter over core source filesruff format ./rgrpc- will run theruffformatter over core source filesmypy rgprc/*.py- will runmypyover core source files.pytest --cov=rgrpc tests/- will run tests and generate a short coverage reportMaintainersViridianForge
Package: rgtfs
rGTFSTool to compare planned GTFS with real GTFS (rGTFS) extracted from GPS data.Working APIimport rgtfs

# Generage Realized Trips from GTFS
rgtfs.generate_realized_trips_from_gtfs(gtfs_path)

# Treat Rio de Janeiro BRT realized trips
rgtfs.helpers.treat_rj_brt_realized_trips(brt_raw_realized_trips_path)New Tables DocumentationRealized TripsField NameTypeRequiredDescriptionvehicle_idID referencing vehicles.vehicle_idRequiredidentifies vehicledeparture_datetimeDatetimeRequiredTime at which the vehicle departs from the first stoparrival_datetimeDatetimeRequiredTime at which the vehicle departs from the stopdeparture_idID referencing stops.stop_id or garages.garage.idRequiredDeparture unique identifier. Can be a stop_id or a garage_id.arrival_idID referencing stops.stop_id or garages.garage.idRequiredArrival unique identifier. Can be a stop_id or a garage_id. Can be empty if trajectory_type is garage_to_stop.distanceFloatRequiredDistance travelled in the trajectory in secondselapsed_timeIntegerRequiredTrajectory duration in secondsaverage_speedFloatRequiredTrajectory average speed in km/htrajectory_typeEnumRequiredOne of the followin trajectory types: 1. complete_trip: A complete one-way trip. Departure stop and Arrival stop should map to the first and last stop of the trip respectively. 2. not_complete_trip: An incomplete one-way trip. Departure stop should map to the first stop of the trip, but the trip was sundelly aborted so it has no Arrival. 3. garage_to_stop: A trajectory between a garage and a stop or otherwise. One of the stops should map to a garage_id.trip_idID referencing trips.trip_idOptionalTrip unique identier. Only applicable for trajectory_type: complete_trip and not_complete_triptrip_short_nameTrip nameOptioanlPublic facing text used to identify the trip to riders, for instance, to identify train numbers for commuter rail trips. If riders do not commonly rely on trip names, leave this field empty. A trip_short_name value, if provided, should uniquely identify a trip within a service day; it should not be used for destination names or limited/express designations. It can be used if trip_id is not available.How to go about itSet standards of how the GPS data should look like. What are the accepted columns? How should the feed be structured? What is the best fit with GTFS?What are the expected results?Retrospective GTFS, rGTFS, which is a GTFS of what actually happend on date YYYY-MM-DDFully dependend on GPS. It'd have to create the shapes, stops, lines, etcBased on planned GTFS. It'd use the current GTFS shapes, stops and lines to support the algorithmComparisson between GTFS and rGTFSDifference in bus frequency/waiting timesDifference in the fleet. What are the lines larges fleet difference?Ponctuality score.How the module should look like?io (read and write to GTFS)GTFS objectrGTFS builder to GTFS objectSimilar ProjectsRelated projects by other people:https://github.com/CUTR-at-USF/retro-gtfs/tree/GTFS-Realtime(a fork of this code extending it to GTFS-realtime data sources)https://github.com/WorldBank-Transport/Transitime
Package: rgwadmin
rgwadminrgwadmin is a Python library to access the Ceph Object Storage Admin API.http://docs.ceph.com/docs/master/radosgw/adminops/API Example UsagefromrgwadminimportRGWAdminrgw=RGWAdmin(access_key='XXX',secret_key='XXX',server='obj.example.com')rgw.create_user(uid='liam',display_name='Liam Monahan',email='liam@umiacs.umd.edu',user_caps='usage=read, write; users=read',max_buckets=1000)rgw.set_user_quota(uid='liam',quota_type='user',max_size_kb=1024*1024,enabled=True)rgw.remove_user(uid='liam',purge_data=True)User Example UsagefromrgwadminimportRGWAdmin,RGWUserRGWAdmin.connect(access_key='XXX',secret_key='XXX',server='obj.example.com')u=RGWUser.create(user_id='test',display_name='Test User')u.user_quota.size=1024*1024# in bytesu.user_quota.enabled=Trueu.save()u.delete()Requirementsrgwadmin requires the following Python packages:requestsrequests-aws4authAdditionally, you need to have aCephObject Storage
instance with a user that has appropriate caps (capabilities) on the parts of
the API that you want to access.  See theCeph Object Storagepage for more
information.Version 2.3.1 was the last to support Python 2.  As of version 2.4.0 we support
using V4 signing for requests to the Ceph RGW Admin server only.Compatibilityrgwadmin implements all documented Admin API operations or recent versions of
Ceph.  We also implement some of the undocumented ones, too...Installationpip install rgwadminLicensergwadmin - a Python interface to the Rados Gateway Admin API
Copyright (C) 2015  UMIACS

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

Email:
    github@umiacs.umd.edu
Package: rh-1099
🍃 Robinhood 1099 ParserThis project converts Robinhood Securities 1099 tax document from PDF to CSV file. This tool will be helpful for those who need every transaction in a spreadsheet format for tax reporting purposes.Original WorkCopyright (c) 2021 Keun Park (kevin.park1217@gmail.com)🚀 Running LocallyPrerequisitesMake sure you have the following installed on your computer.LatestPython 3Must be version 3.8 or higher[Windows Only]Build Tools for Visual Studio 2019In the installer, selectC++ build toolstheWindows 10 SDKthe latest version ofMSVC v142 x64/x86 build tools.Installingpython-mpipinstallwheel
python-mpipinstall--upgraderh_1099Note: If commands above fail, try replacingpythonwithpython3Running➜rh_1099
usage:rh_1099[-h]--pdfFILE[--csvFILE][--silent][--check]Example and CheckingEnable--checkflag to print out total values for some columns. Make sure these values match with the PDF!➜rh_1099--pdfrh_1099.pdf--check
Pages:100%|██████████████████████████████████████████████████████████████|40/40[00:03<00:00,10.41it/s]>>>CalculatedTotals:MakesurethevaluesmatcheswiththePDFtotals!proceeds:77521.03,cost:80902.05,wash_sales_loss:3733.41,gain_loss:352.39
>>>Savedtooutput.csv🐞 Issues and BugsIf you have any issues with the tool, please open a GitHub Issue with as much as detail as you can provide.
Package: rhalphalib
rhalphalibQuickstart# check your platform: CC7 shown below, for SL6 it would be "x86_64-slc6-gcc8-opt"source/cvmfs/sft.cern.ch/lcg/views/LCG_96python3/x86_64-centos7-gcc8-opt/setup.sh# or .csh, etc.pipinstall--userhttps://github.com/nsmith-/rhalphalib/archive/master.zipTake a look attest_rhalphalib.pyfor examples of how to use the package.RequirementsStandalone model creation requires:Python 2.7+ or 3.6+numpy >= 1.14RooFit+combine rendering requires:ROOT < 6.18(i.e. LCG96 is too recent, CMSSW 8 combine cannot handle it.  LCG95a is fine)Use in combine requires, well,combine.
The CMSSW 10 (CC7)recipesatisfies the requirements, however the CMSSW 8 recipe has a too old version of numpy.There is a python 3 compatible standalone fork of combineavailable.
It is also possible to render the model folder using the quickstart recipe, and then move the folder or switch
environments to a CMSSW+combine environment and proceed from there.
Package: rhash-Rhash
RHashRHash is a Python library for computing various message digests, including
CRC32, CRC32C, MD4, MD5, SHA1, SHA2, SHA3, AICH, ED2K, DC++ TTH, Tiger,
BitTorrent BTIH, GOST R 34.11-94, GOST R 34.11-2012, RIPEMD-160, HAS-160,
BLAKE2s, BLAKE2b, EDON-R, and Whirlpool.InstallationRHash requires LibRHash library. The LibRHash sources or Windows binaries can
be downloaded from:http://rhash.sf.net/Linux and BSD users should install LibRHash from the official repository.To build LibRHash from sources use commands$ ./configure
$ make lib-shared install-lib-sharedIn order to be loaded by RHash Python module, the LibRHash library should be
placed in the appropriate directory or you can change required environment
variable.To install the RHash Python module use the package managerpip$ pip install rhash-RhashYou can also build the module from source$ python3 -m buildUsageHashing a file or a text message can be done using RHash hi-level interface>>> import rhash
>>> rhash.hash_file("input-file.txt", rhash.SHA3_256)
'a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a'
>>> rhash.make_magnet("input-file.txt", rhash.CRC32, rhash.TTH)
'magnet:?xl=0&dn=input-file.txt&xt=urn:crc32:00000000&xt=urn:tree:tiger:lwpnacqdbzryxw3vhjvcj64qbznghohhhzwclnq'
>>> message_digest = rhash.hash_msg("abc", rhash.SHA1)
>>> print("SHA1 (\"abc\") = {}".format(message_digest))
SHA1 ("abc") = a9993e364706816aba3e25717850c26c9cd0d89dThe Low-level interface allows to calculate several message digests at once
and output them in different formats>>> import rhash
>>> h = rhash.RHash(rhash.MD5, rhash.SHA1, rhash.BLAKE2S)
>>> h.update("abc")
<rhash.rhash.RHash object at 0x7fc512d90670>
>>> h.finish()
<rhash.rhash.RHash object at 0x7fc512d90670>
>>> h.hex(rhash.MD5)
'900150983cd24fb0d6963f7d28e17f72'
>>> h.HEX(rhash.MD5)
'900150983CD24FB0D6963F7D28E17F72'
>>> h.base32(rhash.SHA1)
'vgmt4nsha2awvor6evyxqugcnsonbwe5'
>>> h.base64(rhash.BLAKE2S)
'UIxejDJ8FOLhpyujTutFLzdFiyCe1jopTZmbTIZnWYI='The RHash object can be used within thewithoperatorimport rhash
with rhash.RHash(rhash.MD5) as ctx:
    ctx.update("a").finish()
    print(ctx.hash(rhash.MD5))ContributionTo contribute to the project, please read theContribution guidelinesdocument.LicenseThe code is distributed under theBSD Zero Clause License.
Package: rhasspy-asr-deepspeech
Rhasspy ASR DeepSpeechRhasspy ASR library that uses Mozilla's DeepSpeech 0.9.RequirementsPython 3.7Mozilla DeepSpeech 0.9.3generate_triein$PATHfromnative clientbuild_binaryin$PATHfromKenLMPre-built binariesInstallation$gitclonehttps://github.com/rhasspy/rhasspy-asr-deepspeech
$cdrhasspy-asr-deepspeech
$./configure
$make
$makeinstallDeployment$makedistSeedist/directory for.tar.gzfile.Running$bin/rhasspy-asr-deepspeech<ARGS>
Package: rhasspy-asr-deepspeech-hermes
Rhasspy ASR DeepSpeech HermesMQTT service for Rhasspy that uses Mozilla's DeepSpeech 0.9.3.RequirementsPython 3.7Mozilla DeepSpeech 0.9.3Pre-trained modelgenerate_scorer_packageinPATHfromnative clientbuild_binaryinPATHfromKenLMInstallingClone the repository and create a virtual environment:$gitclonehttps://github.com/rhasspy/rhasspy-asr-deepspeech-hermes.git
$cdrhasspy-asr-deepspeech-hermes
$./configure
$make
$makeinstallRunningRun script:bin/rhasspy-asr-deepspeech-hermes\--model/path/to/output_graph.pbmm\--language-model/path/to/lm.binary\--trie/path/to/trie\--host<MQTT_HOST>\--port<MQTT_PORT>\--debugUsingSet Rhasspy ASR system to "Hermes MQTT". Connect Rhasspy and DeepSpeech service to the same MQTT broker (use port 12183 for Rhasspy's internal broker).
Package: rhasspy-asr-kaldi-hermes
Rhasspy ASR Kaldi Hermes MQTT ServiceImplementshermes/asrfunctionality fromHermes protocolusingrhasspy-asr-kaldi.RequirementsPython 3.7KaldiExpects$KALDI_DIRin environmentOpengrmExpectsngram*in$PATHPhonetisaurusExpectsphonetisaurus-applyin$PATHSeepre-built appsfor pre-compiled binaries.Installation$gitclonehttps://github.com/rhasspy/rhasspy-asr-kaldi-hermes
$cdrhasspy-asr-kaldi-hermes
$./configure--enable-in-place
$make
$makeinstallRunning$./rhasspy-asr-kaldi-hermes<ARGS>
Package: rhasspy-asr-pocketsphinx
Rhasspy ASR PocketsphinxAutomated speech recognition inRhasspyvoice assistant withPocketsphinx.Requirementsrhasspy-asr-pocketsphinxrequires:Python 3.7PocketsphinxInstall as a Python moduleOpengrmExpectsngram*in$PATHPhonetisaurusExpectsphonetisaurus-applyin$PATHSeepre-built appsfor pre-compiled binaries.Pocketsphinx is installed usingpipfrom afork of the Python librarythat removes PulseAudio.Installation$gitclonehttps://github.com/rhasspy/rhasspy-asr-pocketsphinx
$cdrhasspy-asr-pocketsphinx
$./configure
$make
$makeinstallDeployment$makedistSeedist/directory for.tar.gzfile.
Package: rhasspy-client
Rhasspy ClientBasic client library for talking to a remoteRhasspyserver. Usesaiohttp.ExampleimportasyncioimportaiohttpfromrhasspyclientimportRhasspyClientasyncdefmain():asyncwithaiohttp.ClientSession()assession:client=RhasspyClient("http://localhost:12101/api",session)result=awaitclient.text_to_intent("what time is it")print(result)loop=asyncio.get_event_loop()loop.run_until_complete(main())Module CLIYou can run the module too:$python3-mrhasspyclient<COMMAND>[<ARG>,...]Use--helpto see available commands.
Package: rhasspy-dialogue-hermes
Rhasspy Hermes Dialogue ManagerImplementshermes/dialogueManagerfunctionality fromHermes protocol.Installation$gitclonehttps://github.com/rhasspy/rhasspy-dialogue-hermes
$cdrhasspy-dialogue-hermes
$./configure
$make
$makeinstallRunning$bin/rhasspy-dialogue-hermes<ARGS>Command-Line Optionsusage: rhasspy-dialogue-hermes [-h] [--wakeword-id WAKEWORD_ID]
                               [--session-timeout SESSION_TIMEOUT]
                               [--sound SOUND SOUND] [--host HOST]
                               [--port PORT] [--username USERNAME]
                               [--password PASSWORD] [--tls]
                               [--tls-ca-certs TLS_CA_CERTS]
                               [--tls-certfile TLS_CERTFILE]
                               [--tls-keyfile TLS_KEYFILE]
                               [--tls-cert-reqs {CERT_REQUIRED,CERT_OPTIONAL,CERT_NONE}]
                               [--tls-version TLS_VERSION]
                               [--tls-ciphers TLS_CIPHERS] [--site-id SITE_ID]
                               [--debug] [--log-format LOG_FORMAT]

optional arguments:
  -h, --help            show this help message and exit
  --wakeword-id WAKEWORD_ID
                        Wakeword ID(s) to listen for (default=all)
  --session-timeout SESSION_TIMEOUT
                        Seconds before a dialogue session times out (default:
                        30)
  --sound SOUND SOUND   Add WAV id/path
  --host HOST           MQTT host (default: localhost)
  --port PORT           MQTT port (default: 1883)
  --username USERNAME   MQTT username
  --password PASSWORD   MQTT password
  --tls                 Enable MQTT TLS
  --tls-ca-certs TLS_CA_CERTS
                        MQTT TLS Certificate Authority certificate files
  --tls-certfile TLS_CERTFILE
                        MQTT TLS certificate file (PEM)
  --tls-keyfile TLS_KEYFILE
                        MQTT TLS key file (PEM)
  --tls-cert-reqs {CERT_REQUIRED,CERT_OPTIONAL,CERT_NONE}
                        MQTT TLS certificate requirements (default:
                        CERT_REQUIRED)
  --tls-version TLS_VERSION
                        MQTT TLS version (default: highest)
  --tls-ciphers TLS_CIPHERS
                        MQTT TLS ciphers to use
  --site-id SITE_ID     Hermes site id(s) to listen for (default: all)
  --debug               Print DEBUG messages to the console
  --log-format LOG_FORMAT
                        Python logger format