Saravanan666/pypi-org huggingface dataset:
Package: ringity
ringity is a Python package to analyze various data structures with respect to their ring structure.Source:https://github.com/ClusterDuck123/ringityBug reports:https://github.com/ClusterDuck123/ringity/issuesContact Person:mk.youssef@hotmail.comDocumentation:Not available yet.NotesThis package is still under construction!Simple network exampleCalculate ring score as described in [1]:>>>importringityasrng>>>importnetworkxasnx>>>G=nx.Graph()>>>G.add_edges_from([(i%100,(i+1)%100)foriinrange(100)])>>>dgm=rng.diagram(G)>>>dgm.ring_score()1[1]: Paper not available yet.Simple point cloud exampleCalculate ring score as described in [2]:>>>importnumpyasnp>>>importringityasrng>>>t=np.linspace(0,2*np.pi,100)>>>X=np.array((np.cos(t),np.sin(t))).T>>>rng.ring_score(X)1[2]: Paper not available yet.InstallInstall the latest version of ringity:$ pip install ringityLatest ChangesChanged foldernamedatato_dataThe persistent diagram classPersistenceDiagramhasring_scorenow as a method, not as a property. As a result, the function is now called viadgm.ring_score()insted ofdgm.ring_score! (Notice the change in brackets) We appologize if this is breaking old code; such changes will be avoided in the future.Integration of various ring-score “flavours”.Extended usage for point clouds.BugsPlease report any bugs that you findhere.
Or, even better, fork the repository onGitHuband create a pull request. All inputs, suggestions and changes are more than welcome!LicenseReleased under the MIT License (seeLICENSE.txt):Copyright (c) 2019 Markus K. Youssef <mk.youssef@hotmail.com>How to citeIf you want to cite this package, please use the DOI:10.5281/ZENODO.4908927
Package: ringmaster
# ringmasterCircus Ringmaster. A Tcl/Tk Control Panel for Circus.[Circus](http://github.com/circus-tent/circus) is a program that runs andwatches processes and sockets.Circus Ringmaster is a Tck/Tk interface to monitor, start and stop thoseprocesses.![Ringmaster in action](in_action.png)To the left, on the image above, are the Circus watchers. In the center, agreen string indicates the number of processes of the watcher, the current useof CPU, and memory. To the right, command buttons – **incr**/**decr** fornormal watchers; and **start**/**stop** for singleton watchers.## RequirementsRingmaster is built on top of Python 3.4 (**asyncio**) and[aiozmq](https://github.com/aio-libs/aiozmq).Circus itself is not a code dependency, but without it this program does nothave much use.## InstallationLatest release.pip install ringmasterLatest commit on the master branch of the project's Git repository.mkdir ringmastercd ringmastercurl -L https://github.com/viotti/ringmaster/tarball/master | tar -xz --strip 1python setup.py sdistpip install dist/ringmaster-*.tar.gz## Installation (OS X)1. Download and install ActiveTcl from http://www.python.org/download/mac/tcltk.Pay atention to the recommended version on the web page.2. Download and Install Python 3.4 from http://www.python.org/downloads.3. Install Ringmaster./Library/Frameworks/Python.framework/Versions/3.4/bin/pip3 install ringmasterThis install order is important. It will make Python link with the ActiveTcllibrary, instead of linking with the library shipped with OS X.Optionally, put the Python 3 binaries in your **PATH**.export PATH=/Library/Frameworks/Python.framework/Versions/3.4/bin:$PATH## Basic UseJust type **ringmaster**. There is no command line option.ringmasterThe program will establish communication with the Circus daemon and displaythe watchers on its GUI.## Troubleshooting### MacPorts on OS XThe Python 3.4 MacPorts distribution present a series of dificulties to runRingmaster on a OS X computer.First, it does not come with the **tkinter** library, which is provided as aseparate pacakge.Second, it will install the Ringmaster executable script in a nonstandardlocation (`/opt/local/Library/Frameworks/Python.framework/Versions/3.4/bin`).To prevent issues, use the following installation steps.sudo port selfupdatesudo port install py34-tkinter py34-pipsudo pip-3.4 install ringmaster --install-option='--install-scripts=/usr/local/bin'Finally, if you install Ringmaster on a virtual environment created with**virtualenv-3.4** from MacPorts, it will abort with a **ImportError: No modulenamed '_tkinter'** exception. This is because the virtual environmentinsultates itself from Python packages installed in the system. The solutionhere is to link the Tkinter shared object to the **site-packages** directoryof the environment.ln -s $(port -q contents py34-tkinter | grep _tkinter.so) $VIRTUAL_ENV/lib/python3.4/site-packages## TODO* Implement command line options for the connection endpoints.* Improve the watcher details dialog.
Package: ringmaster.show
Ringmaster_
       _[_]_
       _(_)______.-'`-.
      /, >< ,----'     `-._.-'*
      \\|::|  Welcome to the Circus
        |/\|  We already got enough Clowns,
        ||||  You got any experiance with
        ||||  Being shot from a canon??
     __(_/\_)
    /`-..__.,-'\
   /   __/\__   \
   `._ \    / _.'MJP
      ``|/\|-'Ringmaster organises a bunch of other tools on your behalf so that you don't
have to. The aim is you can create, updated and delete entire stacks crossing
cloudformation, EKS, kubectl, helm and random Python/BASH scripts with a single
command.Ringmaster helps you create and share your automation scripts with others, so
you can get up and running as quick as possible. There are no agents, hubs,
gits or daemons - unless you add them yourself.There is also no custom DSL or new programming language to learn, althoughjinja2is used for templating.Ringmaster is just files on a disk and calls to other systems made in an order
you decide.How does it work?You create a directory of scripts to process, like this:stack/
├── 0010-iam
│     ├── AWSLoadBalancerController.iam_policy.json
│     ├── Certbot.iam_policy.json
│     ├── EksDeploy.iam_policy.json
│     ├── EksExternalSecrets.iam_policy.json
│     ├── ExternalDns.iam_policy.json
│     └── metadata.yaml
├── 0020-efs
│     ├── efs.cloudformation.yaml
│     └── metadata.yaml
├── 0030-vpc
│     ├── metadata.yaml
│     ├── vpc.remote_cloudformation.yaml
│     └── vpc.yaml
...Then you runringmasterlike this:ringmaster stack upRingmaster will carry out thecreateaction of each script, running each
script in alphabetical order bydirectoryand thenfileringmaster stack downRingmaster will carry out the delete action of each script, inreversealphabetical orderTheupanddownactions areidempotentso you can run them as many times as you likeWhat's in the scripts? do I have to learn a new language?No! The scripts use the languages and tools you already know and love, eg:CloudformationBashPythonKubernetes deployment descriptors...etcRingmaster uses adatabagto give each script the
right inputs and collects outputs that may be required later. Combined with a
simple built-in variable substitution system, this makes gluing completely
different systems together easy, eg:cloudformation -> ekscl -> more cloudformation -> heml -> kubectl -> ...To reduce dependency on ringmaster and allow easy debugging and repeatable
deployments, substitution results are stored adjacent to their input files, so
they can be added to git or use directly by tools such askubectl.ReferenceConceptsSetupAuthenticationHandlersScriptsVariablesWorked Example
Package: ringo_news
# News extension for the Ringo webframework
This extension can be used to extend a Ringo based web application with a
newsboard. News can be displayed in the application. News can be administrated
either throuh the webinterface or a command line client.## Installation
For details on how to install this extension in your application please refer
to [The ringo documentation for extensions](http://ringo.readthedocs.org/en/latest/development/extension.html)## CLI
The extension provides some additional CLI options to manage new directly on
the server:ringo-admin news add<jsonfile>(The add command can be used to either add new or update existing news
items.)ringo-admin news delete<id>JSON:`json {"subject": "Foo", "date":"YYYY-MM-DD","text": "Foo text the body of the message"} `If the json contains anidthen the command will try to load the item with
the given id and update the news in the database. In all other cases
(including giving no id at all) will create a new news item with a newidwill be generated.On default the added news will be added  to all users in the system. Later
enhancements might be giving a list of usernames, filtering by groups and
roles etc.As this command basically utilize the import of ringo like theringo-admin db
loadatacommand it is capable of doing almost the same things (e.g defining
relation)
Package: ring-seq-py
RingSeqPyA library that adds new operations to Pythonlist,tupleandstrfor when such a sequence needs to be consideredcircular,
its elements forming a ring.Working for Python3.10and above.Installationpip install ring-seq-pyGet startedfrom ring_seq import RingSeq>>>RingSeq('RING').rotate_right(1)'GRIN'>>>RingSeq([0,1,2,3]).start_at(2)[2, 3, 0, 1]>>>RingSeq((1,3,5,7,9)).reflect_at(3)(7, 5, 3, 1, 9)or alternatively, without theclass RingSeqwrapper:from ring_seq.methods import rotate_right, start_at, reflect_at>>>rotate_right('RING',1)'GRIN'>>>start_at([0,1,2,3],2)[2, 3, 0, 1]>>>reflect_at((1,3,5,7,9),3)(7, 5, 3, 1, 9)NeedWhenever data are structured in a circular sequence,
chances are you don't want to locally reinvent the wheel (pun intended).SolutionRingSeqPyis a small, purely functional, self-contained library,
where most of the circular use cases are already solved
and building blocks provided for the others.Other languagesThe same library is available also for the Scala language, checkRingSeq (Scala version).
Package: ringserverstats
ringserverstatsParse ringserver reports, compute statistics and store in influxdb.Installationringserverstats is distributed on PyPIhttps://pypi.orgas a universal wheel.$pipinstallringserverstatsPostgresql preparationCREATEROLEresifstatsWITHLOGINPASSWORD'md5xxxxxxxxxx';CRATEDATABASEresifstatsOWNERresifstats;\cresifstatsCREATEEXTENSIONtimescaledbThen go for the migrations :$yoyoapply--databasepostgresql://resifstats@resif-pgdev.u-ga.fr:5433/resifstats-mmigrationsDockerdocker build -t ringserverstats:latest
docker run --rm -p 8000:8000 -e DATABASE_URI=postgresql://resifstats@resif-pgdev.u-ga.fr:5433/resifstats ringserverstats:latestUsageTo work properly, this program needs the environment variableDATABASE_URIpointing to a valip postgresql URICommand line interface$pipinstall--userringserverstats
$ringserverstatstxlogs.logWeb applicationFor development :cd webapp
FLASK_ENV=development FLASK_APP=webapp.py flask runIn production, use with gunicorn :pip install gunicorn
cd ringserverstats
gunicorn -b 0.0.0.0:8000 webappTo send date :http localhost:8000 < txlogs.log
wget --post-file txlogs.log localhost:8000ExplanationsThe TX logs from ringserver are metrics suitable for a timeserie database. The idea is to parse the logs, as in the exemple below, and to generate values to insert into an influxdb timeseries database.The filegrafana-dashboard.jsoncan be imported into grafana to visualize this timeserie.EventsThe ringserverevents measure has several tags :network, station, location, channel : which data was requestedgeohash : location of the client in geohash formathosthash : a hash of the client ip (usefull to correlate the clients requests)city : an english city nameGrouping and downsamplingTo achieve downsampling, we use timescaledb's continuous query.Licenseringserverstatsis distributed under the terms of the GPL v3 or later. See LICENSE file.Buildpython3setup.pysdistbdist_wheelTesttox
Package: rInject
rInjectA flexible (annotations or keys) but simple dependency injection library for Python 3.Installationpip install rinjectUsagefromrinjectimportInjectorfromdatetimeimportdatetimeinjector=Injector()classA:def__init__(self,greeting:str):self.greeting=greetingdef__call__(self,name:str):print(f"{self.greeting}{name}")classB:def__init__(self,a:A,name:str):self.a=aself.name=namedef__call__(self):self.a(self.name)if__name__=="__main__":injector.register_value("greeting","Hello")injector.register_instance(A,A)injector.register_instance(B,B)injector.register_factory("name",lambda:"Steve@"+datetime.utcnow().isoformat())b=injector.resolve(B)b()# outputs => Hello Steveb2=injector.resolve(B)assertbisb2
Package: rinkrat
rinkratRinkrat is a command line tool to query the NHL's public API for statistics.InstallYou can install rinkrat from PyPipython -m pip install rinkratIt is supported by python 3.8 and above.Usagerinkrat [ command ] [ sub-command ] { parameters }Rinkrat uses the command line interface to get statistics from the public NHL api. With the current version you can access team standings data and rank it based on several criteria:CommandsCommands give you access to different data. Sub-commands determine how that data is organized and presented. For command snippits and descriptions, please see thecommandsdirectory.
Package: rinnaicontrolr
rinnaicontrolr - Python interface for the Rinnai Control-R APIPython library for communicating with theRinnai Control-R Water Heaters and control devicesvia the Rinnai Control-R cloud API.Rinnai's API is completely insecure. We recommend that you disconnect your water heater
from the Control-R system until Rinnai fixes these basic issues.This library is community supported. Please submit changes and improvements.Support Forreading and setting the temperature setpointreading whether heating or recirculation is in progressstarting recirculationLimited Support Forreading schedules, vacation statereading flow rates and service parametersreading intake temperature, outlet temperaturereading the address of the device as entered into Control-RNo Support Forcreating schedulessetting vacation statePlease submit pull requests to add support for your favorite values.Installationpip install rinnaicontrolrExamplerinnai=RinnaiWaterHeater(username,password)fordeviceinrinnai.get_devices():rinnai.set_temperature_setpoint(device,90)# make it annoyingly coldrinnai.start_recirculation(device,15)# start recirculation for 15 minutesifrinnai.is_heating(device):print(f'heater is heating to a setpoint of{rinnai.get_temperature_setpoint(device)}degrees.')Known IssuesRinnai's API performs no authentication. Sorry, we can't fix this, we don't work for Rinnai.Future PlansPerform authentication once Rinnai's API requires it.asyncio interface.
Package: rinoh-mscorefontinstaller
This is a helper package to download and extract Microsoft’sCore fonts for the
Web. The fonts cannot be distributed as part of plain Python packages due the
restrictions imposed by theEULAfor these fonts.This package is set as a build/install-time requirement for the font packages,
so you should never need to install this package manually.Therepository for this packagecontains a script to create the distribution
packages for the fonts. SeeDEVELOPING.rst`for more information.
Package: rinoh-typeface-notosanscjk
This package provides theNoto Sans CJKtypeface for use withrinohtype.
Noto Sans CJK comprehensively cover Simplified Chinese, Traditional Chinese, Japanese, and Korean in a unified font family.
This includes the full coverage of CJK Ideographs with variation support for 4 regions,
Kangxi radicals, Japanese Kana, Korean Hangul, and other CJK symbols and letters in the Basic Multilingual Plane of Unicode.
It also provides limited coverage of CJK Ideographs in Plane 2 of Unicode as necessary to support standards from China and Japan.
Package: rinokeras
RinokerasDocumentationRead our docs:https://rinokeras.readthedocs.io/en/latest/index.htmlInstallationYou can install in development mode usingpip install -e .RequirementsPythonPython >= 3.4Core requirementsnumpy >= 1.14.3scipy >= 1.1.0pytest >= 3.7.3tqdm >= 4.26.0h5py >= 2.8.0packaging >= 17.1Compatabilitydeprecation >= 2.0.6typing >= 3.6.6Coveragecoverage >= 4.5.2codecov >= 2.0.15pytest-cov >= 2.6.1Tensorflowtensorflow >= 1.12About the NameKeras is Greek for 'horn', and rhinoceroses have horns, thus the name, rinokeras
Package: rin-proj1
command usage (CLI)See list of commands withrin_proj1 --helpError logging is only compatible withexec-based-on-envread_csv_and_insert_to_db :Adds contents of provided csv to a .db fileexport_db_to_csv :Adds contents of provided db to a .csv fileset-configExecutes read_csv_and_insert_to_db and export_db_to_csv functions with the given config file.
If no path is provided, tries to open config.yaml in the current directory.rin_proj1 set-config --path path/to/config.yamlfor default/config in current directory, userin_proj1 set-configset-dbExecutes read_csv_and_insert_to_db and export_db_to_csv functions with the db_name provided by user.rin_proj1 set-dbsaves data.db in current directoryrin_proj1 set-db db_namesaves to db_name in current directory. Will create a file if not presentexec-based-on-envExecutes read_csv_and_insert_to_db and export_db_to_csv functions with csv file depending on the environment typerin_proj1exec-based-on-envIf you want to run the command in a different environment, open/spawn the shell where command is to be run:exportAPP_MODE=env_name
rin_proj1exec-based-on-envenv_name options:development,
testing,
productionSuccessful execution should print confirmation message in terminal. If there is no output, check for ampj1_error.logfile to determine the error.Expected yaml file layout (minimum):LOG_LEVEL:log_level (see below for valid options)env_name:csv_file:path/to/data.csvdb_file:path/to/data.dbtable_file:your_table_namelog_level options:critical,
error,
warning,
info,
debug
Package: rinse
Rinseis a Python SOAP client usinglxml,requestsanddefusedxml.Rinseworks with both Python 2 and Python 3.  Continuous integration
testing is performed against the latest python 2.7, python 3.3 and
python 3.4 releases.The name “rinse” refers to its dictionary meaning, such as the act of
removing soap suds from something using water.The goal of rinse is to be a SOAP client that focuses on the minimum set
of features required to make SOAP calls to services over HTTP/HTTPS.
Support for common SOAP extensions including WSA (WS-Addressing) and
WSSE (WS-Security) is provided.  Rinse supports the WS-I Basic Profile
Version 2.0 specificationin principle, but takes a pragmatic approach
to achieving compliance based upon further goals and constraints
outlined below.Using rinse as part of a SOAP service (SOAP server) isnot supported.
We recommend servers should use JSON for data interchange over RESTful
HTTP(S) rather than providing SOAP services.  And we’re not the only
ones - Google announced its plans to abandon SOAP way back in 2009.Security is improved by using thedefusedxmllibrary to parse XML data
thereby minimising risks associated with parsing and processing data
from untrusted sources.  TODO: SSL certificate pinning to ensure that
clients using rinse only disclose information to and parse information
from intended servers.Rinse has support for validating SOAP messages against the schema
specified in XSD (XML schema definition) format within a given WSDL
file, but is not capable of generating SOAP service bindings at runtime.
Future development may provide support for generating bindings from WSDL
in the form of Python source files.  Dynamic (runtime) binding is
unlikely to be supported.
Package: rinstall
rinseA CLI for installing R.Currently works with:Repos: CRANInstallation Methods: SourceSupported OS: LinuxPermission Level: Sudo, Non-sudoWill work with:Repos: Microsoft R OpenInstallation Methods: Spack, LocalSupported OS: MacOS, WindowsInstallationCurrently, rinse is in the alpha stage of development.  The latest release can be installed from PyPI
or the development version can be installed from thedev-masterbranch on GitHub.Latest Release[ $ ] pip install rinstallDevelopment VersionCreate a VE calledrinseusing your tool of choice:pyenvpoetrypipenvvirtualenvvirtualenvwrappercondapewpython -m venvAfter making a VE install poetry into it:[ $ ] python -m venv ~/.env/rinse[ $ ] source ~/.env/rinse/bin/activate(rinse)[ $ ] pip install poetry...(rinse)[ $ ] mkdir GitHub; cd Github(rinse)[ ~/Github $ ] git clone -b dev-master https://github.com/datasnakes/rinse.git(rinse)[ ~/Github $ ] cd rinse(rinse)[ ~/Github/rinse $ ] poetry install...Initialize RinseBefore you do anything, rinstall must be initialized or you will get an error:(rinse)[ ~/Github/rinse $ ] rinse initSimple UsageYou can install the latest version of R into your home directory with a single short command:(rinse)[ ~/Github/rinse $ ] rinse install#or(rinse)[ ~/Github/rinse $ ] rinse install latest#or(rinse)[ ~/Github/rinse $ ] rinse install 3.5.3Note:Be aware that R can take around 20 minutes to install.Alternate UsageFirst note:(rinse)[ ~/Github/rinse $ ] rinse configure --help # configure script help (./configure --help)#isdifferentfrom(rinse)[ ~/Github/rinse $ ] rinse configure --chelp # rinse cli helpHere's how you can work through various installation steps:(rinse)[ ~/Github/rinse $ ] rinse configure 3.5.3(rinse)[ ~/Github/rinse $ ] rinse make --check 3.5.3(rinse)[ ~/Github/rinse $ ] rinse make --install 3.5.3(rinse)[ ~/Github/rinse $ ] rinse make --install-tests 3.5.3(rinse)[ ~/Github/rinse $ ] rinse test --check --check-devel --check-all 3.5.3MaintainersKristen BystromRob GilmoreBruno GrandeShaurita Hutchins
Package: rin-string-manip
Perform string manipulation operations using a single command.Usagerun the following commandrin_string_manip--OPTIONSOPTIONS that can be provided are:config-path: path/to/config.yaml
file-path: path/to/file.txtConfig file formatEnsure your config/yaml file follows the following format:pipline:-func1-func2-func3Default sequence is (if no path is provided)pipeline:-remove_stop_words-coalesce_spaces-stair_case-append_date-prepend_numberRefer below for available functions.Functions availableremove_stop_wordsRemoves stop_words from given string. Stop words are taken from stopwords.yamlcoalesce_spacesConverts multiple spaces into one spacestair_caseConverts first letter upper, second lower, third upper and so on.prepend_numberAdds numbers to the lines. Here, the line number is prepended.append_dateAppends the date+time at the end of the string.
Package: rio
rio(WIP)How to contribute?Start from scratch:$ virtualenv venv
$ source venv/bin/activate
(venv) $ python setup.py develop
(venv) $ rio db upgrade
(venv) $ rio runworker
(venv) $ rio runserverPlease usegpgto sign your commits.How to Test?Test:(venv) $ pip install -r tests-requirements.txt
(venv) $ venv/bin/py.test testsHISTORYv0.3.2support PUT && DELETE methodv0.3.1support multiple graphv0.3.0support template format webhook urladd cli command: syncprojectadd cli command: runworkeradd cli command: dbbugfixv0.2.4optimize webhook indexv0.2.2add Migration resourcesadd cliadd cache for sqlalchemyadd event uuidsupport form and json payloadsupport header for webhookv0.2.0add SQLALchemy as graph backendv0.1.0initial Release