Saravanan666/pypi-org huggingface dataset:
Package: rapo
RAPORevenue Assurance Processes OptimizerRapo is a Python instrument based on relational databases to build Revenue Assurance controls and, as a result, cover critical business risks and detect revenue leaks.PrologueIf you are part of the Revenue Assurance Team, then you probably know that the core is a system of controls that allows you to perform your daily responsibilities and generate reports required by business.Usually, this system is implemented using third-party software.
Sometimes it is provided by special vendors, and sometimes it is packed with the billing system.Anyway, the license purchase is required, as is probably the recruitment of the integration team.
This causes an additional investment, which could not be confirmed by the business sponsors.In addition, such software is usually used in part because many of features are outdated or not required. Outdated design is also often encountered and can be a problem.So Rapo is created by RA engineers to solve such problems and provides a modern and simple alternative solution for the RA system.AdvantagesIf you are a young RA Team or looking for some alternatives, try Rapo because:Free to use right now and here.Easy start with low installation efforts.Easy control preparation based on SQL, which should not be a problem for RA experts.Open-source Python technology, so it won't be an issue to find an expert who can maintain or even improve the solution for your specific needs.Built-in Python interface that allows you to integrate the system, including control results, with some popular data science tools or machine learning modules.Ready-to-use REST API that allows you to interact with controls or send the control results to some Dashboard or reporting tool.This is a developing project with an open feature list and many plans.Last but not least, Rapo is created by RA specialists with more than 10 years of expiriens, hundreds of found incidents, and, in turn, millions in saved revenue for their company and investors.InstallationStart with install usingpip:pip install rapoDeploy the database schema using thescripts.Prepare the configuration filerapo.iniaccording to the documentation.Create a special file calledscheduler.pywithrapo.Scheduler()declared and execute it as followspython scheduler.py start.UsagePrepare your controls using the configuration table as described in the documentation.
Package: rapoc
RAPOC: Rosseland And Planck Opacity ConverterTheRAPOCcode is written by Lorenzo V. Mugnai and Darius Modirrousta-Galian and is the product
of a collaboration between Sapienza Università di Roma, Università degli Studi di Palermo and
INAF - Osservatorio Astronomico di Palermo. It uses molecular absorption measurements
(i.e. wavelength-dependent opacities) to calculate Rosseland and
Planck mean opacities that are commonly used in atmospheric modelling.RAPOCis designed to be simple, straightforward, and easily incorporated
into other codes. It is completely written in Python and documented with docstrings.
In addition, a Sphinx version of the documentation with a full user guide
that includes examples is available in html format.ReportsRAPOCis under development, please report any issues or inaccuracies
to the developers to support the implementation.CiteIf you use this code or its results, please citeRAPOC: the Rosseland and Planck opacity converterby Mugnai L. V. and Modirrousta-Galian D. (submitted).InstallationInstalling from PypiRAPOCcan be installed from the Pypi repository with the following script::pip install rapocInstalling from gitRAPOCmay also be cloned from the main git repository::git clone https://github.com/ExObsSim/Rapoc-public.gitThe next step is to move into theRAPOCfolder::cd /your_path/RapocThen::pip install .To check if one has the correct setup::python -c "import rapoc"UseRAPOCis designed to be used on its own or in conjunction with other Python
codes. Given an ExoMol file in the TauREx.h5 format, Rosseland and Planck mean opacities can be calculated.
For example, in order to estimate the mean opacities at a temperature (T) of 1000 K with a pressure (P) of
10,000 Pa in the wavelength range of  0.3-50 micron the following script is used,from rapoc import Rosseland, Planck

r_model = Rosseland(input_data='exomol_file.TauREx.h5')
opacity = r_model.estimate(P_input=10000 * u.Pa, T_input=1000 * u.K, band=(0.3 *u.um, 50*u.um))

p_model = Planck(input_data='exomol_file.TauREx.h5')
opacity = p_model.estimate(P_input=10000 * u.Pa, T_input=1000 * u.K, band=(0.3 *u.um, 50*u.um))InputsTo run the code you need measured data. The supported file formats are:ExoMol opacities (downloadablehere) with theTauREx.h5format.DocumentationThe full documentation is availablehereAlternatively,RAPOCaccepts user-defined documentation by usingsphinx. To install it runpip install sphinx sphinx_rtd_themeFrom theRapoc/docsfolder runningcd docs
make htmlThis will create a html version of the documentation inRapoc/doc/build/html/index.html.
Package: rappf
Replayable App FrameworkGoalsThe primary goal of this package is to facilitate building data processing apps with emphasis onFlexibility - the app can be reconfigured for debugging, development or different purposeIntelligibility - it is easy to understand what the app will doReplayability - the app behavior can be reproduced using data captured in previous runsUsageLook inexamples/simple.pyfor a toy simple app that demonstrates how the package can be used.ProblemsMany opportunities for improvement can be foreseen but have not been implemented becausea lack of time,insufficient value, orexcessive cost.This section documents what they are and some ideas around how to implement them.Shared, mutable stateIf a node mutates its inputs it may affect other nodes that also received the same input.
Sometimes this behavior is intentional (optimization, laziness) and sometimes it is accidental (bug).
It is hard in python to enforce immutability, so it may be hard for the framework to help prevent accidental mutation.
In the case of intentional mutation the framework could help by establishing patterns and providing utilities.
Ideas include:Declaring mutability as part of type, serving readers before any writer and refusing multiple writers.Providing read-write lock primitives for which the write lock cannot be released.LatencyLatency is a problem for a graph in which the nodes interact directly, not via the engine.
If the latency for one node exceeds the update interval then the graph cannot keep up.
When the engine mediates it can start the next update before the previous has completed while preserving causality.
It could even buffer the data if the latency is much higher than the interval.
However, concurrency increases the risk of bugs if functions have shared, mutable state.
Package: rapport
Writing work reports is tedious. Some people have custom hacks. This is meant
to be the last one. It’s Apache-2.0 licensed and written in Python, not
VimScript, not Bash, not Ruby, not C, …, you probably got it ;-)FeaturesAsynchronously collects data from various resources:BugzillaGerritGithubLaunchpadMediaWikiOpenBuildServiceTrelloTwitterSupports plugins for extendabilitySimple ini-style config file(Almost) comprehensive unit and functional testsuiteSupports creating work reports for arbitrary timeframes and provides some convenient ones:Current week / monthRecent daysWeek / month of of yearGenericInstallationTo install rapport from thePython Package Index, simply:$pipinstallrapportOr, if you absolutely must:$easy_installrapportBut, you really shouldn’t do that. Lastly, you can check your distro of choice
if they provide packages. For openSUSE, you can find packages in theOpen
Build Servicefor all releases. If you happen to use openSUSE:Factory (the
rolling release / development version), simply:$sudozypperinstallrapportUsageRapport allows to query various upstream resources for modifications you made.
So before creating your first work report, you should check rapport’s config
file and add your credentials to the resources you are interested in.By default, rapport creates a work report for the current weak, so from Monday
untilnow(And yes, i18n and i10n are on the TODO list). You can also set the
timeframe to consider explicitly. For instance, you could generate a work
report for the last 10 days:$rapportcreate--recent-days10Check the help of thecreatecommand for other options:$rapportcreate--helpYou can show a list of all previous work reports:$rapportlistAnd display details for a specific work report:$rapportshow2013-05-21T09:27:43Or display the latest work report by:$rapportshowIf you need further assistance, check rapport’s help:$rapporthelpHacking and contributingYou can test rapport from your git checkout by executing the rapport.cli module:$python-mrapport.cliAlternatively, you can invoke the convenience script wrapper:$./scripts/rapportForkthe repositoryon Github to start making your changes to themasterbranch (or branch off of it). Don’t forget to write a test for fixed issues or
implemented features whenever appropriate. You can invoke the testsuite from
the repository root directory via:$pythonsetup.pytestOr by runningnosedirectly:$nosetestsBoth assume you have the test dependencies installed (available on PYTHONPATH)
on your system. If that doesn’t work for you, you can create avirtual
environmentinstead:$virtualenv.venv$source.venv/bin/activate(.venv)$pipinstall-rtest-requirements.txt(.venv)$nosetestsLastly, if using virtualenv is too tedious or you want to test different
configurations (py26, py27, py33, pep8), you can also usetox:$tox
Package: rapptz-asqlite
asqliteThis package is a fork of rapptz's asqlite. asqlite is a simple and easy to use async wrapper forsqlite3.This is basically the same assqlite3except you useasync withandawaitin front of most operations.importasyncioimportasqliteasyncdefmain():asyncwithasqlite.connect('example.db')asconn:asyncwithconn.cursor()ascursor:# Create tableawaitcursor.execute('''CREATE TABLE stocks(date text, trans text, symbol text, qty real, price real)''')# Insert a row of dataawaitcursor.execute("INSERT INTO stocks VALUES ('2006-01-05','BUY','RHAT',100,35.14)")# Save (commit) the changesawaitconn.commit()asyncio.run(main())Differences fromsqlite3This module differs fromsqlite3in a few ways:Connections are created withjournal_modeset towal.Connections have foreign keys enabled by default.Implicit transactions are turned offTherow_factoryis set tosqlite3.Row.LicenseMIT
Package: rapt
RAPTRAPT uses a syntactic and semantic understanding of RA to transform input
statements into a variety of outputs, including LATEX formatted queries,
parse tree diagrams, and executable SQL statements.To use RAPT, create an instance ofrapt.rapt.Rapt, and use the desired methods.
Optionally, you can pass in keyword arguments that define the relational algebra
grammar and syntax.config/default.jsoncontains an example.AuthorsCurrent AuthorsNoel D’Souza (noel@noeldsouza.com)Olessia Karpova (olessia.karpova@gmail.com)Contributions byAndrew Petersen (http://individual.utoronto.ca/apetersen)Diane Horton (http://www.cs.toronto.edu/~dianeh)
Package: rapt-ble
RAPT BLEParser for the RAPT Pill hydrometer BLE packets.InstallationInstall this via pip (or your favourite package manager):pip install rapt-bleContributors ✨Thanks goes to these wonderful people (emoji key):This project follows theall-contributorsspecification. Contributions of any kind welcome!CreditsThis package was created withCopierand thebrowniebroke/pypackage-templateproject template.
Package: rapthor
Rapthor: LOFAR DDE PipelineRapthor is an experimental pipeline for correcting direction-dependent effects in LOFAR data. It uses DPPP and WSClean to derive and apply the corrections in facets or as smooth 2-D screens. It usesCWLfor the pipeline language andToilto run the pipelines.DocumentationExtensive documentation can be found onRead the Docs.InstallationTo install rapthor, follow the instructions below.DependenciesRapthor requires the following packages (beyond those installed automatically with rapthor):WSClean(version 2.9 or later; building withIDGandEveryBeamis required)DP3(version v4.1 or later; building withDyscoandEveryBeamis required)LSMTool(version 1.4.2 or later)LoSoTo(version 2.0 or later)PyBDSF(version 1.9.2 or later)Downloading and InstallingInstallation can be done in a number of ways. In order of preference (read:
ease of use):Install the latest release from PyPI:pip install rapthorInstall directly from the Rapthor git repository. This option is useful if you want to use one or more features that have not yet been released:pip install --upgrade pip
pip install git+https://git.astron.nl/RD/rapthor.git[@<branch|tag|hash>]If the optional@<branch|tag|hash>is omitted,HEADof themasterbranch will used.Clone the git repository, and install from your working copy. This option is mostly used by developers who want to make local changes:pip install --upgrade pip
git clone https://git.astron.nl/RD/rapthor.git
cd rapthor
git checkout [<branch|tag|hash>]  #optionally
pip install .NoteWhen installing Rapthor from source (options 2 and 3), you will needpipversion 23 or later. That is why you need to upgrade to the latest version ofpipbeforeyou install from source.UsageTherapthorexecutable can be used from the command line with
a parset that defines the parameters of the run. E.g.:$ rapthor rapthor.parsetThe parset defines the input and working directories, various options, etc. For details,
please see the example parset in the examples directory.
Package: raptorarima
Raptor ARIMA Model Python APIThis API Supports to model time series data using box-jenkins model.Python Installation:Command for installation: 'pip3 install raptorarima'UsageThe ARIMA Model is an implementation from scratch which using MA, AR and differencing to model the Data.Definethep,d,qparameters.q=1d=0p=3m=ARIMA(q,d,p)pred=m.fit_predict(x)Installationgitclonehttps://github.com/swaroop9ai9/Fintech/raptor_arima_api.gitcdraptorarima
pythonsetup.pyinstallRequirementspandasnumpyrandomNoteMake sure to use Time series Data Values.Steps to create pip packagePrepare directory with setup.py, packagename(apiname(init.py[with main code]),other py files which supports theinit.py file.)Upload the package to Gitcd packagenamechmod +x apiname #makes it an executablepython3 setup.py bdist_wheel
[build: build package information.dist: Contains your .whl file. A WHL file is a package saved in the Wheel format, which is the standard built-package format used for Python distributions. You    can directly install a .whl file using pip install some_package.whl on your systemproject.egg.info: An egg package contains compiled bytecode, package information, dependency links, and captures the info used by the setup.py test command when running tests.][Optional] to check install on local machine
python -m pip install dist/packagename-0.1-py3-none-any.whlpython3 -m twine upload dist/* [in order to upload the package] (Will ask your username and password in pypi)Login to pypi account to view the uploaded package
Package: raptorfinance
Yahoo Finance Python APIThis API Supports to retrieve data especially works for NSE/BSE stocks.Also can Retrieve Intraday 1min gradualar Data.UsageThis command returns a dataframe which can be further modified to add new columns , exported to excel etchdfc=RaptorFinance('HDFC.NS',result_range='1mo',interval='15m',dropna='True').resultInstallationgitclonehttps://github.com/swaroop9ai9/Fintech/raptor_finance_api.gitcdraptor_finance_api
pythonsetup.pyinstallRequirementsPandasRequestNoteMake sure to use TICKER symbol from yahoo finance websitehttps://in.finance.yahoo.com/
Package: raptorizemw
InstallationYou could install it yourself withpip:$ pip install raptorizemwOr you could addraptorizemwto the list of required packages in thesetup.pyfile of your project.Usage in PyramidEditmyapp/__init__.pyand replace thereturn config.make_wsgi_app()line with the following:import raptorizemw
app = config.make_wsgi_app()
app = raptorizemw.make_middleware(app)
return appRestart your app, but watch out for raptors!Usage in FlaskEdityourapp.pyand replace theapp.run()line with the following:import raptorizemw
app.wsgi_app = raptorizemw.make_middleware(app.wsgi_app)
app.run()ZOMG!Usage in TurboGears 2Simply editmyapp/config/middleware.pyand add the following tomake_app(...):# Wrap your base TurboGears 2 application with custom middleware here
import raptorizemw
app = raptorizemw.make_middleware(app)Usage in a PasteDeploy pipelineYou can also add raptors into your PasteDeploy pipeline like so:[pipeline:main]
pipeline =
    raptorize
    my-app

[filter:raptorize]
use = egg:raptorizemw
enterOn = konami-code
delayTime = 3000
random_chance = 0.25
only_on_april_1st = True

[app:myapp]
...Essentially, you’re able to specifyraportizemwas a filter within your
WSGI pipeline, and configure options accordingly as per theConfigurationsection below.Configurationmake_middleware(...)andRaptorizeMiddleware.__init__(...)both take
a number of configuration keywords:enterOncan be one of two actions: ‘timer’ or ‘konami-code’.  If ‘timer’
is specified, then the raptor is shown on page load.  If ‘konami-code’, then
the raptor is shown if the page-viewing user enters the sacred sequence.
Default is ‘timer’.delayTimemust be anintand is the number of milliseconds until the
raptor is shown.  Default is 2000.random_chancemust be a float between 0.0 and 1.0 representing a ‘percent
chance’ to load the raptor.  A value of 1.0 means the raptor will be injected
every time; a value of 0.0 means it will never be injected; a value of 0.5
will result in a 50% chance of raptors.  Default is 1.0.only_on_april_1stshould be aboolvalue that will restrict raptors
only to April Fool’s day. The configuration will coerce Boolean-like strings
(such ast,true,y,yes,onand1) into a suitable
format if provided in this manner (such as through a text-based pipeline
configuration). Default isFalse.For example:app = raptorizemw.make_middleware(
    app,
    enterOn='konami-code',
    delayTime=500,
    random_chance=0.5,
    only_on_april_1st=True
)will result in 50% of pages loaded with raptors on April Fool’s Day only.  These
raptors will only be displayed if the user also enters the konami code, and
quite quickly, after only a half a second.CreditsThis WSGI-fication of the raptorize jquery plugin was written
byRalph Bean.  Real credit goes to the people over at
ZURB who authored theoriginal jquery plugin.Get the sourceThe code and bug tracker live over athttp://github.com/ralphbean/raptorizemw.
Please fork and improve!
Package: raptus.article.accordion
ContentsIntroductionComponentsDependenciesInstallationCopyright and creditsDeveloper ManualCode overviewplone.belowcontentbodyContributorsChangelog1.0a2 (2013-07-03)1.0a1 (2013-07-01)Introductionraptus.article.accordion provides an accordion listing for Articles.The following features for raptus.article are provided by this package:ComponentsAccordionDependenciesraptus.article.coreraptus.article.nestingInstallationTo install raptus.article.accordion into your Plone instance, locate the file
buildout.cfg in the root of your Plone instance directory on the file system,
and open it in a text editor.Add the actual raptus.article.accordion add-on to the “eggs” section of
buildout.cfg. Look for the section that looks like this:eggs =
    PloneThis section might have additional lines if you have other add-ons already
installed. Just add the raptus.article.accordeon on a separate line, like this:eggs =
    Plone
    raptus.article.accordionNote that you have to run buildout like this:$ bin/buildoutThen go to the “Add-ons” control panel in Plone as an administrator, and
install or reinstall the “raptus.article.default” product.Note that if you do not use the raptus.article.default package you have to
include the zcml of raptus.article.accordion either by adding it
to the zcml list in your buildout or by including it in another package’s
configure.zcml.Copyright and creditsraptus.article is copyrighted byRaptus AGand licensed under the GPL.
See LICENSE.txt for details.Developer ManualNote: You find a developer manual for raptus.article atraptus.article.core.
Please have look there if you need more information.Code overviewComponentsplone.belowcontentbodyraptus.article.accordionContributorsRaptus AG, AuthorChangelog1.0a2 (2013-07-03)Added missing href attribute to read more buttonUpdated german translationsBackwards compatibility for jQuery < 1.71.0a1 (2013-07-01)Initial release
Package: raptus.article.additionalwysiwyg
IntroductionExtends the article by a second WYSIWYG text field to make it possible to split your text
into two parts and display it for example above and below another component.The following features for raptus.article are provided by this package:FieldsAdditional WYSIWYG text field for the articles.ComponentsAdditional text (displays your text above an image or a video)Additional text left (displays your text in a separate column on the left)Additional text right (displays your text in a separate column on the right)Dependenciesarchetypes.schemaextenderraptus.article.coreInstallationTo install raptus.article.additionalwysiwyg into your Plone instance, locate the file
buildout.cfg in the root of your Plone instance directory on the file system,
and open it in a text editor.Add the actual raptus.article.additionalwysiwyg add-on to the “eggs” section of
buildout.cfg. Look for the section that looks like this:eggs =
    PloneThis section might have additional lines if you have other add-ons already
installed. Just add the raptus.article.additionalwysiwyg on a separate line, like this:eggs =
    Plone
    raptus.article.additionalwysiwygNote that you have to run buildout like this:$ bin/buildoutThen go to the “Add-ons” control panel in Plone as an administrator, and
install or reinstall the “raptus.article.default” product.Note that if you do not use the raptus.article.default package you have to
include the zcml of raptus.article.additionalwysiwyg either by adding it
to the zcml list in your buildout or by including it in another package’s
configure.zcml.UsageAdd/Edit your articleIf you add or edit an article you get a new rich text field called additional text.
Insert the text you would like to have displayed by the additional wysiwyg component
and press save.ComponentsNavigate to the “Components” tab of your article and select one of the additional
wysiwyg components and press “save and view”.Copyright and creditsraptus.article is copyrighted byRaptus AGand licensed under the GPL.
See LICENSE.txt for details.Developer ManualNote: You find a developer manual for raptus.article in the docs folder ofraptus.article.core.
Please have look there if you need more information.Code overviewAdaptersfile: wysiwyg.pyWYSIWYG (Provider for an additional WYSIWYG text of an article)provides: IWYSIWYGadapts: IArticlegetAdditionalText - Function (Returns the additional WYSIWYG text)Componentsplone.abovecontenttitleraptus.article.wysiwyg.leftraptus.article.wysiwyg.rightplone.abovecontentbodyraptus.article.wysiwyg.fullChangelog2.0b7 (2013-07-01)Added two new components (additionaltext.top and additionaltext.bottom) which are
hidden by default2.0b6 (2010-11-10)Added French translations2.0b5 (2010-10-24)Set zip_safe flag to False2.0b4 (2010-10-21)Updated manual and readme2.0b3 (2010-10-20)First public release