Saravanan666/pypi-org huggingface dataset:
Package: rollcred
SummaryA package to help replace AWS credentials from the sso window. When you click
on an AWS credential, the text is copied to the clipboard. This package reads
the clipboard buffer and replaces the correct profile credentials in your~/.aws/credentialsfile.Installationpip install rollcredUsageGoto to your AWS SSO login screen. Select the account and profile you would like to roll
credentials for, click on the link that sayscommand line or programmatic access.
Under the section labeledOption 2click the box with the credentials. Clicking
the box will copy the contents to the clipboard.Open a terminal window and typerollcred. The credential will be replaced in your
creds file. If the credential does not exist it will be appended to the end of the
file. If the file does not exist, it will be created at~/.aws/credentials
Package: rolldecay-estimators
# Rolldecay-estimators Package
- Transformers and estimators for scikit-learn
rolldecay-estimators is a scikit-learn compatible extension.It aids development of estimators that can be used in scikit-learn pipelines and (hyper)parameter search,
while facilitating testing (including some API compliance), documentation, open source development, packaging, and
continuous integration.Refer to the documentation to modify the template for your own scikit-learn contribution.Thank you for cleanly contributing to the scikit-learn ecosystem![Github: rolldecay-estimators](https://github.com/martinlarsalbert/rolldecay-estimators)
Package: rollercoaster
Bravo! You have received a Mercantilism Diploma in "carabiner" from
the Orbital Convergence University International Air and Water Embassy of the Tangerine Planet (the planet that is one ellipse further from the Sun than Earth's ellipse).You are now officially certified to include "carabiner" in your practice.--carabinertaps (OCHLV)taps.season_3.super_hero_trend🎭stats (options)stats.aggregate_break_evenstats.aggregate_PC_ratio🌩️cloudsclouds.Coinbase.API.products.candles
Package: rollet
RolletRolletcollects, standardizes and completes from various sources.InstallationPypiThe safest way to installrolletis to go through pippython-mpipinstallrolletHow to use?Command scriptrollet{extract-txt,extract-csv,extract-json} path[-h][-o [OUTFILE]] [-l [LINK]] [-f [FIELDS]] [--start [START]][--size[SIZE]] [-t [TIMESLEEP]] [--timeout [TIMEOUT]][--blacklist[BLACKLIST]]positional arguments:{extract-txt,extract-csv,extract-json} Choose file type option extractionpath                                   file pathoptional arguments:-h, --help                    show this help message and exit-o [OUTFILE], --outfile       output file path-l [LINK], --link             link field if csv or json-f [FIELDS], --fields         fields to keep separated by comma--start [START]               number of rows to skip--size [SIZE]                 max number of rows to keep-t [TIMESLEEP], --timesleep   sleep time in seconds between two pulling--timeout [TIMEOUT]           Max GET request timeout in second--blacklist [BLACKLIST]       0 (do not use), 1 (use), path (one column domain blacklist file)PythonBasic usagefromrolletimportget_contentfromrollet.extractorimportBaseExtractorurl='https://example.url.com/content-id'content_dict=get_content(url)content_object=BaseExtractor(url)content_object.title# Titlecontent_object.abstract# Abstractcontent_object.lang# Languagecontent_object.content_type# Type (pdf, json, html, ...)content_object.to_dict()# Same as get_contentCustom extractorsclassCustomExtractor(BaseExtractor):@propertydeftitle(self):returnself._page.find('title')PDF extractorsPDF extraction requireGrobid service.Assuming Grobid API runs onhttp://localhost:8070fromrolletimportgrobid_service,get_contentfromrollet.extractorimportPDFExtractorgrobid_service('localhost','8070')url='https://example.url.com/pdf-content-id'content_dict=get_content(url)pdf_content_object=PDFExtractor(url)Reading PDF withBaseExtractorwill instanciate PDFExtractor object.And More!
Package: roll-for-initiative
Roll for Initiative!What is this?This is a terminal-based initiative tracker primarily aimed at Dungeons & Dragons 5th edition.
I use the term "initiative" mostly for being recognizable, and most systems have something similar: a queue of actions
that happen in order given a numeric value.Jump to installation instructionsMotivationAll initiative trackers I found only are bloated. They cram as many features as possible with little to no regards to UX.
I'm going back to the basics: a CLI tool to manage initiative. No "create encounter". No "what is this creature's initiative bonus?" popup.I hate the "create encounter" feature of these initiative trackers. I admit, this might be due to my GM style,
but I don't want to plan every single encounter the night before. I don't know what my players will do, I need the
flexibility to improvise.The main motivation for me to create this, really, is just so I have a clean interface with really shallow menus
andno setup time. This is the project philosophy.Quick tipsTypehelporhelp commandif you have any doubts.Tab completion is your friend. After beginning to type a command, press tab to cycle through the suggestions.FlowThis is a TL;DR. You can find more information after this.Runadd name initiativeas many times as you like.initiativemay be a number or a diceroll expression.Entries are ordered by their decreasing initiative value.If there is a tie, you can reorder them usingmove lower_entry_name upormove upper_entry_name down.Any time you want to see the queue but it's not visible, runshow.Runstart.Press enter when the input field is empty to advance to next entry.When a creature dies or for some other reason its entry is no longer relevant to the queue, typeremove dead_creature_name.That's pretty much what you need to know to use it at a basic level.Advanced usageTodoInstallationTo install therficommand to your user scope, run:pip install --user --upgrade roll-for-initiativeIf you want to install directly from source, you can do:cd /path/to/target/source/dir
git clone https://github.com/wqferr/RFI
cd RFI
pip install --user --upgrade flit
flit install -sRunning itAfter installing it with either method, you can run it withrfion linux, or withpython -m rfi.appon any platform if that doesn't work.Special thanksThis application is made using the following libraries and tools:flit(build system)pipenv(virtual environment)texttable(pretty text tables)dice(dice rolling foraddandchinit)
Package: rolling
rollingis a collection of computationally efficient
rolling window iterators for Python.Many useful arithmetical, logical and statistical functions are implemented
to allow the window to be computed in sub-linear time (and in many instances
constant time). These include:SumMin and MaxAll and AnyMean, Median and ModeVariance and Standard deviationThere’s also a more general ‘apply’ mode where any specific function can be
applied to the window. Both fixed-length and variable-length windows are supported.
Package: rolling-backup
rolling-backupcreate rolling backups of a fileinstallation$ pip install rolling-backupUsagefromrolling_backupimportbackupbackup(filename,num_to_keep=12)returns True on success otherwise FalseCreates up to 12 rolling backups of filefilenameby appending zeroes to the filename.Example Usage>>>importos>>>fromrolling_backupimportbackup>>>os.listdir(".")['file.txt']>>>backup('file.txt',num_to_keep=12)True>>>os.listdir(".")['file.txt','file.txt.00']
Package: rolling-checksum-py-mod
Chop a file into variable-length, content-based chunks.Example use:
.. code-block:: python>>> import rolling_checksum_mod
>>> with open('/tmp/big-file.bin', 'rb') as file_:
>>>     for chunk in rolling_checksum_mod.min_max_chunker(file_):
>>>         # chunk is now a piece of the data from file_, and it will not always have the same length.
>>>         # Instead, it has the property that if you insert a byte at the beginning of /tmp/big-file.bin,
>>>         # most of the chunks of the file will remain the same.  This can be nice for a deduplicating
>>>         # backup program.
>>>         print(len(chunk))
Package: rolling-checksum-pyx-mod
Chop a file into variable-length, content-based chunks.Example use:
.. code-block:: python>>> import rolling_checksum_mod
>>> # If you have both rolling_checksum_pyx_mod and rolling_checksum_py_mod installed, the software will
>>> # automatically prefer the pyx version.  Both py and pyx versions require rolling_checksum_py_mod, but
>>> # only the pyx version requires rolling_checksum_pyx_mod.
>>> with open('/tmp/big-file.bin', 'rb') as file_:
>>>     for chunk in rolling_checksum_mod.min_max_chunker(file_):
>>>         # chunk is now a piece of the data from file_, and it will not always have the same length.
>>>         # Instead, it has the property that if you insert a byte at the beginning of /tmp/big-file.bin,
>>>         # most of the chunks of the file will remain the same.  This can be nice for a deduplicating
>>>         # backup program.
>>>         print(len(chunk))
Package: rolling-in-the-deep
pythonProject介绍{以下是 Gitee 平台说明，您可以替换此简介Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台（同时支持 SVN）。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业，都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看https://gitee.com/enterprises}软件架构软件架构说明安装教程xxxxxxxxxxxx使用说明xxxxxxxxxxxx参与贡献JasonZheng特技使用 Readme_XXX.md 来支持不同的语言，例如 Readme_en.md, Readme_zh.mdGitee 官方博客blog.gitee.com你可以https://gitee.com/explore这个地址来了解 Gitee 上的优秀开源项目GVP全称是 Gitee 最有价值开源项目，是综合评定出的优秀开源项目Gitee 官方提供的使用手册https://gitee.com/helpGitee 封面人物是一档用来展示 Gitee 会员风采的栏目https://gitee.com/gitee-stars/
Package: rolling-quantiles
Rolling Quantiles for NumPyHyper-efficient and composable filters.Simple, clean, intuitive interface.Supports streaming data or bulk processing.Python 3 bindings for a compact library written in pure C.A Quick Tourimportnumpyasnpimportrolling_quantilesasrqpipe=rq.Pipeline(# rq.Pipeline is the only stateful object# declare a cascade of filters by a sequence of immutable description objectsrq.LowPass(window=200,portion=100,subsample_rate=2),# the above takes a median (100 out of 200) of the most recent 200 points# and then spits out every other onerq.HighPass(window=10,portion=3,subsample_rate=1))# that subsampled rolling median is then fed into this filter that takes a# 30% quantile on a window of size 10, and subtracts it from its raw input# the pipeline exposes a set of read-only attributes that describe itpipe.lag# = 60.0, the effective number of time units that the real-time output#   is delayed from the inputpipe.stride# = 2, how many inputs it takes to produce an output#  (>1 due to subsampling)input=np.random.randn(1000)output=pipe.feed(input)# the core, singular exposed method# every other output will be a NaN to demarcate unready valuessubsampled_output=output[1::pipe.stride]See theGithub repositoryfor more details.
Package: rollingrank
rollingrankrollingrank is a fast implementation of rolling rank transformation (described as the following code).importpandasaspd# x is numpy arraydefrollingrank(x,window=None):defto_rank(x):# result[i] is the rank of x[i] in xreturnnp.sum(np.less(x,x[-1]))returnpd.Series(x).rolling(window).apply(to_rank).valuesMotivationRolling rank is a good tool to create features for time series prediction.
However, rolling rank was not easy to use in python.
There were no exact methods to do it.
The simple implementation using pandas and numpy is too slow.PerformanceImplementationComplexityrollingrankO(n * log(w))pandas rolling + numpyO(n * w)n: input length
w: rolling window sizeInstallpipinstallrollingrankExampleimportnumpyasnpimportrollingrankx=np.array([0.1,0.2,0.3,0.25,0.1,0.2,0.3])y=rollingrank.rollingrank(x,window=3)print(y)# [nan nan  2.  1.  0.  1.  2.]y=rollingrank.rollingrank(x,window=3,pct=True)print(y)# [nan nan 1.  0.5 0.  0.5 1. ]rciRCI is also implemented because fast implementation is not found.https://docs.anychart.com/Stock_Charts/Technical_Indicators/Mathematical_Description#rank_correlation_indexKaggle Examplehttps://www.kaggle.com/bakuage/rollingrank-exampleDevelopmenttestpython-munittestdiscovertestsbuild/uploadpythonsetup.pysdist
twineupload--repositorypypitestdist/*
twineupload--repositorypypidist/*TODOsupport axis
Package: rolling-replacer
Rolling ReplacerRolling replacer is an utility to deploy your AWS EC2 cluster.Installation$pipinstallrolling-replacerUsage$rolling-replacer<strategy><asg-blue><tg-blue><asg-green><tg-green><alb-name>ContributingTo contribute, please open a PR, make sure that the new code is properly tested and all the steps performed in the CI pipeline are completed successfully.We follow the Conventional Commits specification.Publish$poetryversion<x.y.z>
$poetrypublish
Package: rolling-snapshot-proposal-editor
Rolling Snapshot Proposal EditorThis package contains routines to edit HST Proposal 16882: UV Spectroscopy of Astronomical Transients through Rolling Snapshots weekly during the program in Cycle 29.Installation: pip install rolling_snapshot_proposal_editorDemo: package_path/demo/demo.ipynbBasic use cases:Downloading Google Sheet directly -- see GoogleSheetReader class.Updating the target list given the sheet -- see update_targetlist_from_sheet function.Updating visits given the sheet -- see update_visits_from_sheet function.Update Notes:1.2.0prepare_targetinfo.py: added a list of keywords for different transient types.
Package: rolling-token-auth
Rolling Token AuthenticationUsageInitializationfrom rolling_token_auth import RollingTokenManager

manager = RollingTokenManager("secret", interval=3600)Theintervaldefines how long a token is valid in seconds. Shorter = more secure.
Bothsecretandintervalmust match between generation and verification.Generationmanager.generate_token()This generates a token for the current timestamp. Optionally aoffsetcan be declared.Verificationmanager.is_valid(token)This checks if the given token is valid for the current timestamp. Themanager.toleranceparameter defines how many token from the past and future are still valid (default: 1 in each direction).
Package: rolling-window
# Rolling Window## A generic rolling window function for analyticsInstall with:```pip install rolling_window```(To be expanded on)Example of use (see test files for some more details):```from dataclasses import dataclassimport random@dataclassclass PressureData:time: intpressure: floatwindow = RollingWindow(window_type = 'sliding', datastructure=PressureData, sort=False, persistance=False, window_options=window_options)for ii in range(0,N):data = PressureData(time=ii, pressure=round(random.uniform(2,20),2) )await rolling_window.add_data(id = window_id, data=data)data_to_process = rolling_window.send(id=window_id)```when data is available to the processed 'data_to_process' will return a numpy representation of the data in a structured array## LicenseThis project is licensed under the MIT License
Package: rollme
# rollme
Python Script for Tossing the Dice## Requirements
* Python 2.7 or greater
* Python Library - Inflect (pip install inflect) or usemake install## Install
*make install## Usage Locally with Makefile
*make roll4*make roll6*make roll8*make roll10*make roll12*make roll20*make rollcustom*make rollgroup GROUP=3-4ormake rollgroup GROUP=4,6,8*make rollcustomgroup GROUP=3-custom X=1 Y=99ormake rollcustomgroup GROUP=4,6,custom X=1 Y=99## Usage as PIP installed Library
* Use (Sample Script)[sample.py]## Custom Dice Types
* Make a copy of (Example Config)[config.example.json]
* Load with the -c argument, use -z to override the default dice types
Package: rollnw
rollNWrollNW is an homage to Neverwinter Nights in C++ and Python.  See thedocsandtestsfor more info, or open an IDE in browser in the quickstart section below.This library is a work-in-progress.  There will be serious refactoring and until there is a real release, it should be assumed the library is a work-in-progress.FeaturesThe beginnings of a novelRules Systemdesigned for easily adding, overriding, expanding, or removing any rule and reasonable performanceAcombat enginebuilt on the above that's nearing being able to simulate melee battles.Objects (i.e. Creatures, Waypoints, etc) are implemented at a toolset level.  Or in other words their features cover blueprints, area instances, with support for effects and item properties.  They are still missing some new EE things.  Player Characters are read only, for now.A recursive decentNWScript ParserImplementations of pretty much everyNWN File FormatAnModel Parser.  See themudlmodel viewer side project.A Resource Manager that can load all NWN containers (e.g. erf, key, nwsync) and also Zip files.An implementation of NWN'sLocalization Systemfocused on utf8 everywhere.Goalsaims to implement an RPG engine inspired by NWN, excluding graphics and networking.focuses on usage, instead of doing things the Aurora Engine Way.followsutf8 everywhere.hews as close toC++ Core Guidelinesas possible.aims to be as easily bindable as possible to other languages.  I.e. only library specific or STL types at API boundaries.Quickstart - Open VS Code in your BrowserGithub Codespacesis available to those in the beta.HistoryA lot of what's here was written in the 2011-2015 range as part of personal minimalist toolset, modernized and with new EE stuff added.  In some sense, it's a work of historical fiction -- it's what I'd have suggested at the start of NWN:EE: get the game and the community on the same set of libraries.  Similarly to an older project that asked"what if Bioware had stuck with Lua?".  The answer to that was pretty positive: a decade ahead, at least, of nwscript.CreditsBioware,Beamdog- The game itselfvcpkg- Package Managementabseil- FoundationalCatch2- Testingglm- Mathematicsloguru,fmt- Loggingstbi_image,NWNExplorer,SOIL2- Image/Texture loading.inih- INI, SET parsingnholmann_json- JSONtoml++- For settings.tmllibiconv,boost::nowide- i18n, string conversiondoxygen,sphinx,breathe- documentation
Package: rollo
ROLLO (Reactor evOLutionary aLgorithm Optimizer)ROLLO is a Python package that applies evolutionary algorithm techniques to optimize nuclear reactor design.

    Documentation on the usage of ROLLO is hosted at: ## INSERT WEBSITE ##

    ## Installation 
    `python -m pip install rollo`

    ## Running ROLLO 
    `python -m rollo -i <input file> -c <checkpoint file>`

    Command line flags: 
    | Flag | Description | Mandatory ? |
    | ----------- | ----------- | ----------- |
    | -i | name of input file | Yes |
    | -c| name of checkpoint file | No |

    The checkpointfile holds the results from the ROLLO simulation and also acts
as a restart
file. Thus, if a ROLLO simulation ends prematurely, the checkpoint
file can be used to restart the code from the most recent population and
continue the simulation.## To build documentation 
    `cd docs` 

    `make html`

    ## To upload to PyPI
    `python3 -m build`

    `python3 -m twine upload dist/*`

    ## License 
    ROLLO is distributed under the 3-Clause BSD License.
Package: rollyourown_commerce
Roll Your Own is a series of frameworks that help Django developers have their
perfection by rolling their own apps instead of plugging someone else’s.  Each
framework promotes customised, modular and efficient ecommerce apps.Philosophyuse frameworks and tools, not appswrite highly customised apps/siteslive only in the now, write for today’s requirementsavoid using apps that have fixed opinions/decisionsdeveloper free to have/make their own opinions/decisionsDjango itself does exactly that, but many of the “reusable apps” that are
developed on top of django don’t continue this philosophyCommerce Framework  (rollyourown.commerce)A framework to help caluclate totals for financial statements and organise
self rolled applications that do this.
Package: rolo
Rolo HTTP: A Python framework for building HTTP-based server applications.Rolo HTTPRolo is a flexible framework and library to build HTTP-based server applications beyond microservices and REST APIs.
You can build HTTP-based RPC servers, websocket proxies, or other server types that typical web frameworks are not designed for.Rolo extendsWerkzeug, a flexible Python HTTP server library, for you to use concepts you are familiar with likeRouter,Request,Response, or@route.
It introduces the concept of aGatewayandHandlerChain, an implementation variant of thechain-of-responsibility pattern.Rolo is designed for environments that do not use asyncio, but still require asynchronous HTTP features like HTTP2 SSE or Websockets.
To allow asynchronous communication, Rolo introduces an ASGI/WSGI bridge, that allows you to serve Rolo applications through ASGI servers like Hypercorn.UsageDefault router examplefromroloimportRouterfromwerkzeugimportRequestfromwerkzeug.servingimportrun_simple@route("/users")defuser(_:Request,args):assertnotargsreturnResponse("user")@route("/users/<int:user_id>")defuser_id(_:Request,args):assertargsreturnResponse(f"{args['user_id']}")router=Router()router.add(user)router.add(user_id)# convert Router to a WSGI app and serve it through werkzeugapp=Request.application(router.dispatch)run_simple('localhost',8080,app,use_reloader=True)Gateway & Handler ChainA roloGatewayholds a set of request, response, and exception handlers, as well as request finalizers.
Gateway instances can then be served as WSGI or ASGI applications by using the appropriate serving adapter.
Here is a simple example of a Gateway with just one handler that returns the URL and method that was invoked.fromwerkzeugimportrun_simplefromroloimportResponsefromrolo.gatewayimportGateway,HandlerChain,RequestContextfromrolo.gateway.wsgiimportWsgiGatewaydefecho_handler(chain:HandlerChain,context:RequestContext,response:Response):response.status_code=200response.set_json({"url":context.request.url,"method":context.request.method})gateway=Gateway(request_handlers=[echo_handler])app=WsgiGateway(gateway)run_simple("localhost",8080,app,use_reloader=True)Serving this will yield:curl http://localhost:8080/hello-world{"url": "http://localhost:8080/hello-world", "method": "GET"}DevelopQuickstartto install the python and other developer requirements into a venv run:make installFormat codeWe use black and isort as code style tools.
To execute them, run:make formatBuild distributionTo build a wheel and source distribution, simply runmake dist
Package: rolumns
RolumnsRolumnsis a Python package for squishing data into rows and columns.Full documentation is online atrolumns.dev.Installationpip install rolumnsContributingPlease readCONTRIBUTING.mdbefore raising an issue or submitting a pull request. Thank you!AuthorHello! 👋 I'mCariad Eccleston, and I'm a freelance Amazon Web Services architect, DevOps evangelist, and infrastructure and backend engineer by the beach in the United Kingdom.You can find me atcariad.earth,github/cariadandlinkedin/cariad.
Package: rolypoly
Structure└── RolyPoly
    ├── rolypoly
    │   ├── bin
    │   ├── include
    │   └── pyvenv.cfg
    ├── docker_manager.py
    ├── main.py
    └── setup.pyFeaturesRollbackLogging{"level": "INFO", "message": "Stopped and removed container container_test"}
{"level": "INFO", "message": "Started new container container_test with image image_test"}
{"level": "ERROR", "message": "Failed to start new container container_test with image image_test"}UseThis will rollback your image to whichever image you have chosen:rolypoly my-container my-image  --preserve-volumesParams:
my-container: container that you ran in your dockermy-image: target image that you want to rollback topreserve-volumes: preserve volume during rollbackExample:rolypoly test-nginx nginx:1.17 --preserve-volumesIf you want to force the container to stop immediately, you can use the flags below:rolypoly test-nginx nginx:1.17 --force --preserve-volumesLinkhttps://pypi.org/project/rolypoly/0.1/