Saravanan666/pypi-org huggingface dataset:
Package: rio-terrain
Rio-terrain provides a set of rasterio CLI plugins to perform common raster operations, and can write slope, aspect and curvature rasters.InstallationTo install from the Python Package Index:$pipinstallrio-terrainTo install from Anaconda Cloud:If you are starting from scratch the first thing to do is install the Anaconda Python distribution, add the necessary channels to obtain the dependencies and install rio-terrain.$condaconfig--appendchannelsconda-forge$condainstallrio-terrain-cmrahnisTo install from the source distribution execute the setup script in the rio-terrain directory:$pythonsetup.pyinstallExamplesTODOLicenseBSDDocumentationLatesthtml
Package: riotgen
riotgenis a command line interface helper tool that is used to bootstrapRIOTsource files for standalone applications,
board supports, driver modules, system modules, packages and example/test applications.riotgenisPython 3.7+compatible.InstallationInstallriotgenusingpip:pip install riotgenInstalling from sourceClone this repository:git clone git://github.com/aabadie/riot-generator.gitInstall usingpipfrom the source directory:cd riot-generator
pip install .Usageriotgenuses subcommands for generating the code for applications,
tests, packages and board support:riotgen --help
Usage: riotgen [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  application  Bootstrap a RIOT application
  board        Bootstrap a RIOT board support
  driver       Bootstrap a RIOT driver module
  example      Bootstrap a RIOT example application
  module       Bootstrap a RIOT system module
  pkg          Bootstrap a RIOT external package
  test         Bootstrap a RIOT test applicationExamplesGenerate an application in the current directory that build against the RIOT
source located in /opt/RIOT and using the interactive wizzard:riotgen application -i -r /opt/RIOTor:RIOTBASE=/opt/RIOT riotgen application -iThe command line wizard will ask for questions about the new
application: target board, RIOT base directory, author name, etc.Generate an application using a configuration file (see thesamplesprovided in the source code):riotgen application --riotbase /opt/RIOT --config path/to/config/file.cfgIn both cases, once complete, the new application can be built using:makeexample,driver,module,pkg,testandboardsubcommands generate
the skeleton code directly in the RIOT base directory:riotgen example --riotbase /opt/RIOT -i
riotgen driver --riotbase /opt/RIOT -i
riotgen module --riotbase /opt/RIOT -i
riotgen pkg --riotbase /opt/RIOT -i
riotgen board --riotbase /opt/RIOT -i
riotgen test --riotbase /opt/RIOT -iTestingTesting is performed using theToxautomation tool. You can install Tox using pip:pip install toxTo run the whole tests and checks, use:toxTo only run the tests, use:tox -e testsTo only run the static checks (flake8,black,twine--check), use:tox -e checkTo reformat your code following theblacktool, use:tox -e format
Package: rio-tiler-mvt
rio-tiler-mvtA rio-tiler plugin to translate tile array to MVT (using python-vtzero).More onCOG Talkblog postsInstallRequirementsrio-tiler-mvt usepython-vtzerowrapper to encode point and polygons to MVT. Because VTZERO is a C++ library, python-vtzero is written in Cython, thus cython is required to compile this library.$pipinstallcython# see https://github.com/tilery/python-vtzero#requirements$pipinstallrio-tiler-mvtOr$gitclonehttp://github.com/cogeotiff/rio-tiler-mvt
$cdrio-tiler-mvt
$pipinstall-e.Rio-tiler + Mapbox Vector tilesAPIpixel_encoderpixels_encoder(
    data: numpy.ndarray,
    mask: numpy.ndarray,
    band_names: list = [],
    layer_name: str = "my_layer",
    feature_type: str = "point"
)Inputs:data: raster tile data to encodemask: mask databand_names: Raster band's nameslayer_name: Layer namefeature_type: Feature type (point or polygon)Returns:mvt : Mapbox Vector Tile encoded data.Examples:fromrio_tiler.ioimportCOGReaderfromrio_tiler_mvtimportpixels_encoderwithCOGReader("fixtures/test.tif")ascogimg=cog.tile(72,63,7,resampling_method="nearest")mvt=pixels_encoder(img.data,img.mask,layer_name="test",feature_type="point")shapes_encodershapes_encoder(
    data: numpy.ndarray,  # 1D array (height, width)
    mask: numpy.ndarray,
    layer_name: str = "my_layer",
    colormap: dict = {},
    class_names: dict = {}
)Inputs:data: raster tile data to encodemask: mask datalayer_name: Layer namecolormap: GDAL colormap. If provided acolorvalue will be added to the feature propertiesclass_names: Dictionary mapping pixel value with class names. If provided anamevalue will be added to the feature properties.Returns:mvt : Mapbox Vector Tile encoded data.Contribution & DevelopmentIssues and pull requests are more than welcome.dev install$gitclonehttps://github.com/cogeotiff/rio-tiler-mvt.git
$cdrio-tiler-mvt
$pipinstall-e.[dev]pre-commitThis repo is set to usepre-committo runisort,flake8,pydocstring,black("uncompromising Python code formatter") and mypy when committing new code.$pre-commitinstallLinkssatellite-3d:http://github.com/developmentseed/satellite-3d.gittitiler-mvt:http://github.com/developmentseed/titiler-mvt.gitrio-viz:http://github.com/developmentseed/rio-viz.git
Package: riotpy
riotpyriotpy is a Python library for Riot API. Currently this is for onlySUMMONER-V4,SPECTATOR-V4, andMATCH-V5.How to useFirst of all, you need to get Riot API key fromhttps://developer.riotgames.com/.Setriotvariable withriot = riotpy.Riot('my_api_key')Use functions with it likeriot.summoner(summonerName='hide on bush').Plus, use query strings by kwargs like `riot.match(puuid=puuid, start=0, count=1)
Package: rio-vrt
OverviewA simple librairy to build a vrt from multiple raster source relying only on rasterio.fromrio_vrtimportbuild_vrtraster_files=["example.tif","example2.tif","...","examplen.tif"]vrt_file=build_vrt("example.vrt",raster_files)CreditsThis package was created withCookiecutterand the12rambau/pypackage <https://github.com/12rambau/pypackage>project template.
Package: rioxarray
rasterio xarray extension.DocumentationStable:https://corteva.github.io/rioxarray/stable/Latest:https://corteva.github.io/rioxarray/latest/Bugs/QuestionsReport bugs/feature requests:https://github.com/corteva/rioxarray/issuesAsk questions:https://github.com/corteva/rioxarray/discussionsAsk developer questions:https://gitter.im/rioxarray/communityAsk questions from the GIS community:https://gis.stackexchange.com/questions/tagged/rioxarrayCreditsThereprojectfunctionality was adopted fromhttps://github.com/opendatacube/datacube-coreSource file:geo_xarray.pydatacube is licensedunder the Apache License, Version 2.0.
The datacube license is included asLICENSE_datacube.Adoptions fromhttps://github.com/pydata/xarray:open_rasterio:rasterio_.pyset_options:options.pyxarray is licensedunder the Apache License, Version 2.0.
The xarray license is included asLICENSE_xarray.RasterioWriter dask write functionality was adopted fromhttps://github.com/dymaxionlabs/dask-rasterioSource file:write.pyThis package was originally templated with withCookiecutter.
Package: ripa
Resolve Installations using Pip and AnacondaThis tool helps you handle requirements.txt installations (e.g. in CI) which use Anaconda for packages if that package and version are available, otherwise falls back to pip installing packages through PyPI.Free software: GNU General Public License v3Documentation:https://ripa.readthedocs.io.InstallInstallation can be done via PyPI:pip install ripaOr through this repository by:python setup.py installUsageThe intention is to reproduce thepip installsyntax.Pointripaat yourrequirements fileand then let ‘er rip:ripa -r requirements.txtIt will then check each requirements and install prefarably though Anaconda, otherwise through pip.You can also install individual packages:ripa pip==10.0
ripa wheelHistory0.1.0 (2018-04-18)First release on PyPI.
Package: ripcord
RipcordREST APIs, written in python, for Kamailio.Official Ripcord documentation <https://ripcord.readthedocs.org>LicenseCopyright 2013 PolyBeacon, Inc.Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: ripdb
Package Descriptionripdb is a wrapper around the IPython debugger that enables one to connect to
and control the debugger remotely via a socket handler. It combines
the functionality ofipdbandrpdbin a single package.UsageAfter installation, include the following in your code:import ripdb
ripdb.set_trace()This will start the debugger on port 4444 by default; to use a different port
instantiate the debugger as follows:import ripdb
ripdb.set_trace(port=12345)Connect to the debugger using telnet, netcat, or socat. If you want to enable
line completion and editing, you need to disable several terminal features
before connecting:SAVED_STTY=`stty -g`; stty -icanon -opost -echo -echoe -echok -echoctl
-echoke; nc 127.0.0.1 4444; stty $SAVED_STTYDevelopmentThe latest release of the package may be obtained fromGitHub.AuthorsSee the includedAUTHORSfile for more
information.LicenseThis software is licensed under theBSD License.  See the includedLICENSEfile for
more information.
Package: ripe
# ripe  [![Build Status](https://travis-ci.org/shaunvxc/ripe.svg?branch=master)](https://travis-ci.org/shaunvxc/ripe) [![PyPI version](https://badge.fury.io/py/ripe.svg)](https://badge.fury.io/py/ripe) [![forthebadge](https://img.shields.io/badge/warning-NSFW-orange.svg)](http://forthebadge.com)
An unnecessary micro-optimization for those who (like me) spend too much time using–force-reinstallorpip uninstall/installwhile testing every little incremental change to their packages.## Why?
If you find yourself in a workflow where you are continuously reinstalling local copies of your packages to test out changes, you might findripeto be a useful little hack.Whilepipitself offers equivalent functionality with its–force-reinstallflag,ripewill accomplish the same thing in fewer keystrokes.## UsageRun from the root-level of a package to uninstall the currently installed version, and reinstall using your local changes:$ ripeYou can also point ripe to the package you wish to reinstall with your local changes:$ ripe packagenameFor more complicated paths:$ ripe /path/to/local/packageIn all cases,ripewill automatically passyto theProceed (y/n)prompt for uninstalling.*Note*ripemust either be run from or pointed to apip-installablelocation (it checks forsetup.py. If it is run from elsewhere, it will tell you as much before exiting)## Installation$ pip install ripe#### Disclaimer
This is a little tool that usesos.system()topip uninstallandpip installthe local copy of your package onto your system (or current virtual environment).  As such this package shouldonlybe used locally and properly.
Package: ripe-algorithm
RIPEImplementation of a rule based prediction algorithm called RIPE (Rule Induction Partitioning Estimate). RIPE is a deterministic and interpretable algorithm, for regression problem. It has been presented at the International Conference on Machine Learning and Data Mining in Pattern Recognition 2018 (MLDM 18). The paper is available in arXivhttps://arxiv.org/abs/1807.04602.Getting StartedThese instructions will get you a copy of the project up and running on your
local machine for development and testing purposes. See deployment for notes
on how to deploy the project on a live system.PrerequisitesRIPE is developed in Python version 2.7. It requires some usual packagesNumPy (post 1.13.0)Scikit-Learn (post 0.19.0)Pandas (post 0.16.0)SciPy (post 1.0.0)Matplotlib (post 2.0.2)Seaborn (post 0.8.1)Seerequirements.txt.sudo pip install package_nameTo install a specific versionsudo pip install package_name==versionInstallingThe latest version can be installed from the master branch using pip:pip install git+git://github.com/VMargot/RIPE.gitAnother option is to clone the repository and install usingpython setup.py installorpython setup.py develop.UsageRIPE has been developed to be used as a regressor from the package scikit-learn.Trainingfrom sklearn import datasets
iris = datasets.load_iris()
X, y = iris.data, iris.target

ripe = RIPE.Learning()
ripe.fit(X, y)Predictripe.predict(X)Scoreripe.score(X,y)Inspect rules:To have the Pandas DataFrame of the selected rulesripe.selected_rs.to_df()Or, one can useripe.make_selected_df()To draw the distance between selected rulesripe.plot_dist()To draw the count of occurrence of variables in the selected rulesripe.plot_counter_variables()NotesThis implementation is in progress. If you find a bug, or something witch could
be improve don't hesitate to contact me.AuthorsVincent MargotSee also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the GNU v3.0 - see theLICENSE.mdfile for details
Package: ripe-api
The Python based RIPE Core API client.ConfigurationNameTypeDefaultDescriptionRIPE_BASE_URLstrhttp://localhost/api/The base URL to be used in the remote API calls.RIPE_USERNAMEstrNoneThe username to be used in the authenticated remote calls.RIPE_PASSWORDstrNoneThe password to be used in the authenticated remote calls.RIPE_SECRET_KEYstrNoneThe secret key to be used for stateless (no session) authentication.LicenseRIPE API is currently licensed under theApache License, Version 2.0.Build Automation
Package: ripe-atlas-monitor
RIPE Atlas MonitorA Python tool to monitor results collected byRIPE Atlasprobes and verify they match against predefined expected values.How does it work?On the basis of aRIPE Atlasmeasurement previously created, you define amonitorby declaring which results you expect that probes should produce:rulesare used to map probes and theirexpected results. Depending on whether the collected results match the expectations, customactionsare performed: to log the result, to send an email, a syslog message or to run an external program.descr:Check network reachabilitymatching_rules:-descr:Probes from France via AS64496src_country:FRexpected_results:ViaAS64496actions:EMailToNOC-descr:RTT from AS64499 and AS64500 below 50mssrc_as:-64499-64500expected_results:LowRTTactions:EMailToNOCexpected_results:ViaAS64496:upstream_as:64496LowRTT:rtt:50actions:EMailToNOC:kind:emailto_addr:noc@agreatcompany.orgsubject:"ripe-atlas-monitor:unexpectedresults"measurement-id:123456789Full documentationAquick startguide,commandsreferences, monitors’configuration,syntaxand everything else can be found onReadTheDocs:https://ripe-atlas-monitor.readthedocs.org/StatusThis tool is currently inbeta: some field tests have been done but it needs to be tested deeply and on more scenarios.Moreover, contributions (fixes to code and to grammatical errors, typos, new features) are very much appreciated. More details on the contributing guide.Bug? Issues?But also suggestions? New ideas?Please create an issue on GitHub athttps://github.com/pierky/ripe-atlas-monitor/issuesAuthorPier Carlo Chiodi -https://pierky.comBlog:https://blog.pierky.comTwitter:@pierkyChangelog0.1.10fix packaging issue0.1.9improvementsanalyzecommand, add the--show-all-dns-answersargument0.1.8improvementsdst_respondedcriterion can be used for SSL measurements too (and is considered in analysis reports too)fixescosmetic0.1.7improvementsanalyzecommand:JSON outputshow unique probes count for DNS measurementsnew check and analysis of DNS RCODEsfixesanalyzecommand, DNS answers analysis for records with no name and no typebug in IP addresses cache0.1.6improvementsnew checks and analysis for EDNS NSID optionDNS answers analysisprobes filter forrunandanalyzecommands now accepts probe IDs and country codes0.1.5improvementsmore options for theanalyzecommand:show probes (up to 3) beside resultsdestination AS and upstream AS resultsshow common sequences/patterns among resultsadd--probesargument torunandanalyzecommands to filter resultsemail logging of error messagesfixesfix empty resultset handling inanalyzecmd0.1.4new featuresPython 3.4 supportimprovements-margument foranalyzecommand, to gather msm id and auth key from the monitor itself--dont-waitargument forruncommandfixeserror handling for null RTT results inanalyzecommand0.1.3improvementsbetter RTT results formatting inanalyzecommandno stdout logging when used indaemonizemodefixeserror handling for IXPs networks info unavailability0.1.2new featuresanalyzecommand to show elaborated results from a measurementbash autocompletefixescontinous monitors didn’t run continously0.1.1improvementsbetter results and actions logging0.1.0First release (beta)
Package: ripe-ip-search
ripe-ip-searchTool to search ip addresses using RIPE DB. It usesfulltext search APIand help to find ip addresses owned by companies. Useful for port scanning and etc.Installation:# latest pypi versionpipxinstallripe-ip-search# latest github commitpipxinstall--forcegit+https://github.com/s3rgeym/ripe-ip-search.gitExample:❯ripe-ip-search--detailsalfabank--no-banner-vv[D]searchparams={'facet':'true','format':'xml','hl':'true','q':'("alfa bank") AND (object-type:inetnum OR object-type:inet6num)','start':0,'wt':'json'}[D]{'primary-key':'5985055','object-type':'inetnum','lookup-key':'82.208.88.232 - 82.208.88.239','inetnum':'82.208.88.232 - 82.208.88.239','netname':'ALFABANK-NN-NET','descr':['Personal network for OAO ALFA-BANK','',''],'country':['RU'],'admin-c':['VP1858-RIPE'],'tech-c':['VP1858-RIPE'],'status':'ASSIGNED PA','notify':['VPypin@AlfaBank.ru'],'mnt-by':['NMTS-MNT'],'created':'2007-11-16T06:31:17Z','last-modified':'2018-01-22T06:12:09Z'}{"networks":["82.208.88.232/29"],"num_addresses":8,"details":{"primary-key":"5985055","object-type":"inetnum","lookup-key":"82.208.88.232 - 82.208.88.239","inetnum":"82.208.88.232 - 82.208.88.239","netname":"ALFABANK-NN-NET","descr":["Personal network for OAO ALFA-BANK","",""],"country":["RU"],"admin-c":["VP1858-RIPE"],"tech-c":["VP1858-RIPE"],"status":"ASSIGNED PA","notify":["VPypin@AlfaBank.ru"],"mnt-by":["NMTS-MNT"],"created":"2007-11-16T06:31:17Z","last-modified":"2018-01-22T06:12:09Z"}}Used flagDescription--detailsoutput results in JSON instead list of cidrs-vvdebugSee more:ripe-ip-search-hIf you are looking for self-hosted ripe db search, you can trythis.
Package: ripemd-hash
RipemdGiven headache openssl devs gave to everyone, this is tiny ripemd module for python 3. Shamelesslystolenextracted frompycryptodome.UsageSingle call:fromripemd.ripemd160importripemd160# import functionripemd160(b'abc').hex()=='8eb208f7e05d987a9b044a8e98c6b087f15a0bfc'ripemd160(b'a'*1000000).hex()=='52783243c1697bdbe16d37f97f68f08325dc1528'Update mode:fromripemdimportripemd160# import moduleh=ripemd160.new()h.update(b'abc')h.digest().hex()=='8eb208f7e05d987a9b044a8e98c6b087f15a0bfc'
Package: ripe.tinyurl
==========RIPE TinyURL==========This is a simple package which contains a BrowserView which allows Site Admins to easily create and maintain a short url/tinyurl.You can access the BrowserView by going to a folder and adding 'ripe-tinyurl' to the URL.Once you add a URL to the input, then you will receive a hashed URL in return. A link object is created on the CMS.For example-----------Adding the URL http://adam.ploud.com will return"The shortened URL is http://localhost:8080/r/FrFk"------------Any comments and feedback are welcome.=========Full Documentation=========The ripe.tinyurl package works on any folder.The idea is to have a folder (or folders) at the root of the site. Within these folder we can host link objects which are in fact acting as short URLs.Enabling Access--------------Firstly have to enable a user access to the TinyURL management screen. As a site administrator you will be able to access the screen.Access can be granted via the Sharing tab.The user will require to add and review content. The reason for this is that the application immediately creates and then publishes a link.The Management Screen--------------To view the TinyURL Management screen, you will have to navigate to the required hosting folder and type @@ripe-tinyurl at the end of the URL.localhost:8080/Plone/r/@@ripe-tinyurlCreating a TinyURL--------------Add a URL to the input and click submit, you may, if you wish change the length on the URL which is returned.If the URL already exists then you will be given the previous TinyURL.Editing the URL--------------If the Contributor wants to change the URL then they can click on the Edit button. This will then trigger the default Plone Rename Object form.
Package: ripflow
ripflow Python middle layer analysis frameworkIntroductionripflow provides a framework to parallelize data analysis tasks in arbitrary data streams.The package contains the Python classes to build a middle layer application that reads data from various sources and applies arbitrary analysis pipelines onto the data using overlapping worker processes. The processed data is then published via programmable sink connectors.For more information, see thedocumentation.Installationwith pipThe ripflow package is published as a Python package and can be installed with pip:pipinstallripflowwith poetryYou can also add ripflow to a project that is managed with poetry:poetryaddripflowfrom sourceTo install the package from source, clone therepositoryand install the package with poetry:poetryinstall
Package: ripgreppythonfiles
Search for code in your env using ripgrepTested against Windows / Python 3.11 / Anacondapip install ripgreppythonfilesA script to search for code in your env using ripgrephttps://github.com/BurntSushi/ripgrepExample:(mainenv) C:\ProgramData\anaconda3\envs\mainenv>rgtt import\ numpy    #SPACES MUST BE ESCAPED!!

call python -c "from ripgreppythonfiles import rfile;rfile(r'''import\ numpy''')"
C:\ProgramData\anaconda3\envs\mainenv\bstackbin.py:1:1:import numpy as np
C:\ProgramData\anaconda3\envs\mainenv\bstackbin.py-2-import regex # pip install regex
C:\ProgramData\anaconda3\envs\mainenv\bstackbin.py-3-

C:\ProgramData\anaconda3\envs\mainenv
C:\ProgramData\anaconda3\envs\mainenv\anyarray.pyx-12-from cython.parallel cimport prange
C:\ProgramData\anaconda3\envs\mainenv\anyarray.pyx-13-cimport cython
C:\ProgramData\anaconda3\envs\mainenv\anyarray.pyx:14:1:import numpy as np
C:\ProgramData\anaconda3\envs\mainenv\anyarray.pyx:15:2:cimport numpy as np
C:\ProgramData\anaconda3\envs\mainenv\anyarray.pyx-16-import cython
C:\ProgramData\anaconda3\envs\mainenv\anyarray.pyx-17-

C:\ProgramData\anaconda3\envs\mainenv
C:\ProgramData\anaconda3\envs\mainenv\cmdaxs.py-50-
C:\ProgramData\anaconda3\envs\mainenv\cmdaxs.py-51-import pymem
C:\ProgramData\anaconda3\envs\mainenv\cmdaxs.py:52:1:import numpy as np
C:\ProgramData\anaconda3\envs\mainenv\cmdaxs.py-53-from pdmemedit import Pdmemory
C:\ProgramData\anaconda3\envs\mainenv\cmdaxs.py-54-# pass either pid or filename, but not both

.... 

Output written to: C:\Users\hansc\AppData\Local\Temp\tmpbmfm5sdo.txtrfile(args:str):Runsripgrepwiththeprovidedarguments,printingthesplitargumentsandcalling`run_ripgrep`.Parameters:-args(str):Theargumentstopasstoripgrep.Returns:NoneObs:Usefulwhenusingabatfile:Contentofrgtt.batcallpython-c"from ripgreppythonfiles import rfile;rfile(r'''%*''')"Callingthebatfile;rgtt.batimport\numpy51001120run_ripgrep(r:str="",c:int|str=2,m:int|str=1,s:int|str=1,l:int|str=80,f:str="py,pyx",):Runsripgrepwithspecifiedparameters.Parameters:-r(str):Theregularexpressiontosearchfor.-c(in,str):Thenumberoflinesofcontexttodisplay.-m(in,str):Themaximumsearchdepth.-s(in,str):If1,writestheripgrepoutputtoatemporaryfile.-l(in,str):Themaximumnumberofcolumnstodisplayintheoutput.-f(str):Astroffileextensionstosearchfor(e.g,py,pyx).Returns:subprocess.CompletedProcess:Theresultoftheripgrepsubprocess.