Saravanan666/pypi-org huggingface dataset:
Package: riip
RII_Pandas (refractiveindex.info-pandas)Python 3 +Pandaswrapper for therefractiveindex.info databasedeveloped byMikhail Polyanskiy.Pandas DataFrame creation was made with modified versions ofdboperations.pyfromrefractiveindex.info-sqlite packagedeveloped byHugo Guillén.FeaturesCreate Pandas DataFrame by parsing database files cloned from Polyanskiy'sGitHub repository.Drude-Lorentz model (formula 21) and Brendel-Bormann model (formula 22) are available to describe metallic dielectric function.InstallInstall and update using pip$ pip install -U riipInstall using conda$ conda install -c mnishida riipUsage>>> import riip
>>> ri = riip.RiiDataFrame()Polyanskiy's 'refractiveindex.info database' is cloned fromGitHub repository,
and three csv files, 'catalog.csv', 'raw_data.csv' and 'grid_data.csv' are created.
They are located in 'data' folder under the installation directory.
This process may take a few minutes, but it will happen only the first time you start it after installation.>>> ri.search("Al")                      # search material contains the string
>>> ri.select(
      "2.5 < n < 3 and 0.4 < wl < 0.8"
    )                                    # select materials that fullfill the condition
>>> print(ri.show([23, 118]))            # show catalog
>>> print(ri.read(23))                   # read the data book
>>> ri.references(23)                    # see references
>>> ri.plot(23, "n")                     # plot wavelength dependence of refractive index

>>> Al = ri.material(
  {"book": "Al", "page": "Mathewson"})   # create material with book and page
>>> Al = ri.material({"id": 23})         # create material with id numberIt may not be safe to use "id" in your application importing this package.
The id number may be changed when an update is done on your local database.>>> import numpy as np
>>> wls = np.linspace(0.5, 1.6)          # wavelength from 0.5 μm to 1.6 μm
>>> Al.n(wls)                            # refractive index
>>> Al.k(wls)                            # extinction coefficient
>>> Al.eps(wls)                          # complex permittivityFor more information, seeRII_Pandas User's Guide.Update databaseIfrefractiveindex.info databaseis updated, you can pull it to the local database by>>> import riip
>>> ri = riip.RiiDataFrame()
>>> ri.update_db()Uninstall$ pip uninstall riipor$ conda uninstall riipDependenciespython 3numpyscipypandaspyyamlgitpythonVersion0.7.0
Package: riitag-sdk
RiiTag PythonAn SDK to easily work with theRiiTag APIInstallVia Pippipinstallriitag-sdkUsagefromriitagimportRiiTagriitag=RiiTag()tag=riitag.tags.get("206054190127120386")Available MethodsDescriptionriitag.tags.get(username)Retrieve aTagdict with details about a tag.Change logPlease seeCHANGELOGfor more information on what has changed recently.Testinghatchshell

hatchruntestSecurityIf you discover any security related issues, please emailsecurity@voke.devinstead of using the issue tracker.CreditsOwen VokeAll ContributorsLicenseThe MIT License (MIT). Please seeLicense Filefor more information.TreewareYou're free to use this package, but if it makes it to your production environment you are required to buy the world a tree.It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you support this package and contribute to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.You can buy treeshere.Read more about Treeware attreeware.earth.
Package: rijenkii-aiorwlock
Read write lock forasyncio. ARWLockmaintains a pair of associated
locks, one for read-only operations and one for writing. The read lock may be
held simultaneously by multiple reader tasks, so long as there are
no writers. The write lock is exclusive.Whether or not a read-write lock will improve performance over the use of
a mutual exclusion lock depends on the frequency that the data isreadcompared to beingmodified. For example, a collection that is initially
populated with data and thereafter infrequently modified, while being
frequently searched is an ideal candidate for the use of a read-write lock.
However, if updates become frequent then the data spends most of its time
being exclusively locked and there is little, if any increase in concurrency.Implementation is almost direct port from thispatch.ExampleRequires Python 3.5.3+importasyncioimportaiorwlockrwlock=aiorwlock.RWLock()asyncdefgo():# acquire reader lock, multiple coroutines allowed to hold the lockasyncwithrwlock.reader_lock:print('inside reader lock')awaitasyncio.sleep(0.1)# acquire writer lock, only one coroutine can hold the lockasyncwithrwlock.writer_lock:print('inside writer lock')awaitasyncio.sleep(0.1)loop=asyncio.get_event_loop()loop.run_until_complete(go())Fast pathBy defaultRWLockswitches context on lock acquiring. That allows to
other waiting tasks get the lock even if task that holds the lock
doesn’t contain context switches (await futstatements).The default behavior can be switched off byfastargument:RWLock(fast=True).Long story short:  lock is safe by  default, but if you  sure you have
context switches (await,async with,async fororyield fromstatements) inside  locked code  you may want  to usefast=Truefor
minor speedup.TLA+ SpecificationTLA+ specification ofaiorwlockprovided in this repository.Licenseaiorwlockis offered under the Apache 2 license.Changes1.3.0 (2022-1-18)Dropped Python 3.6 supportPython 3.10 is officially supportedDrop deprecatedloopparameter fromRWLockconstructor1.2.0 (2021-11-09)Fix a bug that makes concurrent writes possible under some (rare) conjunctions (#235)1.1.0 (2021-09-27)Remove explicit loop usage inasyncio.sleep()call, make the library forward
compatible with Python 3.101.0.0 (2020-12-32)Fix a bug with cancelation during acquire #170 (thanks @romasku)Deprecate passing explicitloopargument toRWLockconstructorDeprecate creation ofRWLockinstance outside of async function contextMinimal supported version is Python 3.6The library works with Python 3.8 and Python 3.9 seamlessly0.6.0 (2018-12-18)Wake up all readers after writer releases lock #60 (thanks @ranyixu)Fixed Python 3.7 compatibilityRemoved oldyield fromsyntaxMinimal supported version is Python 3.5.3Removed support for none async context managers0.5.0 (2017-12-03)Fix corner cases and deadlock when we upgrade lock from write to
read #39Use loop.create_future instead asyncio.Future if possible0.4.0 (2015-09-20)Support Python 3.5 andasync withstatementrename.reader_lock->.reader,.writer_lock->.writer. Backward compatibility is preserved.0.3.0 (2014-02-11)Add.lockedproperty0.2.0 (2014-02-09)Make.release()non-coroutine0.1.0 (2014-12-22)Initial release
Package: rijksdriehoek
# python-rijksdriehoekConverts Rijksdriehoek coordinates to WGS’84, and vice versa.Example usage:``
from rijksdriehoek import rijksdriehoek
rd = rijksdriehoek.Rijksdriehoek()
print(“Original coordinates in WGS’84: {},{}”.format(str(52.3761973), str(4.8936216)))
rd.from_wgs(52.3761973, 4.8936216)
print(“Rijksdriehoek: {},{}”.format(str(rd.rd_x), str(rd.rd_y)))
lat, lon = rd.to_wgs()
print(“WGS’84 coordinates converted from RD: {},{}”.format(str(lat), str(lon)))
``Please be aware that every conversion from WGS->RD->WGS has shown to introduce a inaccuracy of up to 0.0000001 degrees. Please take that into consideration when deciding whether this tool is useful for usage in your project.
Package: rijksplotlib
A datavizualization compliance library for RWS DatalabThe goal of this package is to easily transform your standardmatplotlibfigures (left) to better, recognizable and accessible ones (right).With just a few lines of code, the text in the figure is aligned with the text in an RWS report and the graph dimensions are optimized. Furthermore, the colors and other styling elements are updated to conform to the Rijkshuisstijl and RWS huisstijl.InstallationTo install therijksplotlibpackage, you need to have Python 3.10
or higher installed.pipinstallrijksplotlibWant to install the Pylint rules included in rijksplotlib in your CI/CD pipeline?
Have a look at theCI/CD setup guide.Installing from sourceIf you want to work on therijksplotlibcodebase, you’ll probably want to install from source.
Or if you simply want to try out the latest features before they are released.
To install rijksplotlib from source, run this command in your terminal:gitclonehttps://gitlab.com/rwsdatalab/public/codebase/tools/rijksplotlib.gitcdrijksplotlibpipinstall.Run tests (including coverage) with:pipinstall".[dev]"pytestDocumentation and examples can be generated with:pipinstall".[doc]"make--directory=dochtml# if using Windows use .\doc\make.bat htmlWarningThe documentation dependencies requirepydantic < 2.0.0, which is incompatible with the latest version ofrijksplotlib.
Therefore, after installing the documentation dependencies, you need to upgradepydanticto the latest 2.x version.Getting startedPlot your figure in the way you are used to. Then, userlt.show()orrlt.savefiginstead of usingplt.show()orplt.savefig()to show or save the figure.importrijksplotlib.pyplotasrlt# plot your graph here #rlt.show()# or #rlt.savefig()This package helps you optimize your figures for RWS reports. Using therijksplotlib.pyplot.showorrijksplotlib.pyplot.savefighelper functions, it provides feedback when you are missing elements necessary for a good figure. Furthermore, the resulting figure fits precisely within the RWS report preset margins. When you place your figure in a report, the font sizes of all elements are readable and fit in with the rest of the text well.For more background information on making representative and good figures, see theStijlgids Datavisualisatie RWS(intranet).LicenseCopyright 2023 Rijkswaterstaat

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 at

   http://www.apache.org/licenses/LICENSE-2.0

Unless 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: rika
rikaThis is a python library that make it easy to use technical analysis stock market in China.Free software: MIT licenseDocumentation:https://rika.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-04-28)First release on PyPI.
Package: rikafirenet
Rika FirenetPython package that dialogs with Rika pellet stoveFree software: MIT licenseUsageimportrequestsfromrikafirenetimportStovesession=requests.session()stove=Stove(session,"username","password","stove_id")ifnotstove.connect():sys.exit(1)else:print('Target temperatrue: ',stove.get_stove_thermostat())print('Room temperature: ',stove.get_room_temperature())print('Burning: ',stove.is_stove_burning())CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.0.5 (2022-11-28)Added fan 1 & 2Added back temperature0.0.4 (2022-11-27)Cleaned code with pylint.0.0.3 (2022-11-22)Added more states and actions.0.0.1 (2022-11-17)First release on PyPI.
Package: rikai-yolov5
Yolov5 support for Rikairikai-yolov5integrates Yolov5 implemented in PyTorch with Rikai. It is based
on thepackaged ultralytics/yolov5.NotebooksUsing Rikai to analyze an image from Jay Chou's Mojito.UsageThere are two ways to userikai-yolov5.rikai.mlflow.pytorch.log_model(model,"model",OUTPUT_SCHEMA,registered_model_name=registered_model_name,model_type="yolov5",)Another way is setting the model_type in Rikai SQL:CREATE MODEL mlflow_yolov5_m
MODEL_TYPE yolov5
OPTIONS (
  device='cpu'
)
USING 'mlflow:///{registered_model_name}';Available OptionsNameDefault ValueDescriptionconf_thres0.25NMS confidence thresholdiou_thres0.45NMS IoU thresholdmax_det1000maximum number of detections per imageimage_size640Image widthHere is a sample usage of the above options:CREATEMODELmlflow_yolov5_mOPTIONS(device='cpu',iou_thres=0.5)USING'mlflow:///{registered_model_name}';
Package: riker
You’re the captain, and Riker is your “Number One”Heroku-like application deployments to Amazon Web Services.Installpip install rikerConfigureriker configUsageDeploy a sample app to AWS with a single command:# Get Python sample app
git clone git@github.com:heroku/python-sample.git
cd python-sample

riker deploy
riker openThis will launch an EC2 instance running the python-sample app, and open it in
your default web browser.The first time this is run in your AWS account, it will take some time, as it
needs to provision a base AMI which all EC2 instances will be launched from.
Subsequent deploys to the same app will be very quick, and new application
deployments will only need to wait for a new EC2 instance to boot.Since Riker uses Heroku Buildpacks, the app can be written in any language.You can also deploy a static website to S3 with the same command:# Generate simple website
mkdir static-website && cd static-website
echo "Hello, World" > index.html
touch .s3 # indicates deployment to Amazon S3
git init && git add -A && git commit -m "Initial commit"

riker deploy
riker openThe.s3file indicates that this app should be deployed to S3.Riker also supports a production deploy mode, which ensures zero-downtime for
the application being deployed, and a configuration which supports auto-scaling.
Usually, Riker will deploy changes directly to existing instances. However, for
a production deployment, Riker will deploy changes to new instances, and only
swap old instances out for new instances when the new instances become healthy,
and the old instances no longer have active connections.riker deploy --scaleThis will deploy the app behind a load-balancer and auto-scaling group.ContributingPlease report bugs, suggest features, and ask questions on GitHub:https://github.com/jschementi/riker/issuesPull requests welcome!https://github.com/jschementi/riker/pullsAdditional ResourcesRiker - Heroku-like app deployments for AWSBrooklynJS talk: Get Your Infrastructure Right
Package: rikerbot
A C++20/Python Minecraft bot under heavy development. If you don’t like what
you see today, come back tomorrow! Features are arriving fast!Things Riker can do today:Full protocol support, including authentication, targeting the latest
protocol supported byminecraft-data(currently 1.16.5)Parse world updates and provide an accessible interface to block dataWhy build Riker and not work on an existing project?:Built from the ground up around code generation. This makes the maintenance
burden of keeping up with Mojang much lower than some other projects.Fun and Accessible Python API when you want it, High Performance C++ API
when you need it.If you want to build a modern Minecraft bot using only open source
technology (not modding the Mojang client, Malmo-style), your only option
today isMineflayer. Mineflayer and all of PrismarineJS are excellent
projects, but maybe you’re not a NodeJS programmer. RikerBot brings much
needed diversity to the Minecraft bot ecosystem.Feature Roadmap:Physics :running:PathfindingFramework Nice-To-Haves (things to work on when features are done):Multi-threaded job systemMore packets accessible in PythonHousekeeping (Good projects for new people!):Spin mcd2cpp out into its own projectDefault settings parserCI builds and push to PyPIDocs, Docs, Docs, Docs, Docs!UsagePlease refer tothe documentationfor building and installing RikerBot.
The project is still extremely young and changes are happening daily, so the
documentation, where it exists, may lag actual usage.The best way to get started once you have installed RikerBot is to refer tothe ExamplePlugin.Get InvolvedPlease open issues or better yet, a pull request for things you would like to
see in Riker. You can findmeon Freenode
#mcdevs asnickelproor reach out to me through email or social media.Special ThanksLots of people have contributed to the third-party Minecraft community, too
many to list here. These are some people who’s work I interact with everytime
I work on Minecraft.TkTech,Grand Poobah of Third-Party
Minecraft, keeps the lights on for us lesser devs.Pokechu22,Master Scribe and Artisan,
documents all things Minecraft great and small and maintains irreplacable
infrastructure like Burger.rom1504,Chairman of the Prismarine, this
project literally doesn’t exist without the hard work of Rom and all the
other Prismarine contributors.And thanks to my friendsgjum, andgamingrobot. SpockBot walked so that
RikerBot could run and knowing that people liked my little block game robot
enough to so significantly improve it meant and means a lot.
Package: rikiri
Copyright (c) 2017 Sathya NarrayananPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.Description: ## RikiriRikiri let's you to compose html presentations with markdown files or another static files, although it's scope is currently restricted to markdown for now.## Installation```pip install rikiri```## Usage```usage: rikiri [-h] [-t TITLE] [-o OUTDIR] [-s SOURCEDIR]Make github HTML presentation like a bossoptional arguments:-h, --help            show this help message and exit-t TITLE, --title TITLEtitle of the presentation-o OUTDIR, --outdir OUTDIRoutput directory-s SOURCEDIR, --sourcedir SOURCEDIRSource directory```If you have markdown files stored in a particular directory then you can convert it into html presentation with a help of below command.```.├── source│   ├── file11.md│   └── file12.md└── README.md``````rikiri -t <title_of_presentation> -s <source_dir>```## LICENSEMITPlatform: UNKNOWNClassifier: License :: OSI Approved :: BSD LicenseClassifier: Development Status :: 5 - Production/StableClassifier: Programming Language :: Python :: 2.7Classifier: Programming Language :: Python :: 3Classifier: Environment :: Console
Package: rikka
rikkaLet you visit localhost behind NAT or FirewallIt need Python 3.6 and aboveUsagerun master in you server which have public ip address (for example134.233.56.79)$rkserver-t0.0.0.0:25362-b0.0.0.0:8080run slave in localhost$rklocal-t134.233.56.79:25362-dlocalhost:80Then, visit134.233.56.79:8080, you will see the same page aslocalhost:80Of course, it's just forwarding TCP traffic transparently. You can use any application layer protocol at will.Why rikkarikka a word from Japanese that means "snow".LicenseMIT
Package: ril
ril-pyRustImagingLibrary for Python: Python bindings forril, a performant and high-level image processing library written in Rust.What's this?This is a python binding aroundrildesigned to provide an easy-to-use, high-level interface
around image processing in Rust. Image and animation processing has never been
this easy and fast before.Support⚠ This package is a work in progress and it heavily depends on the progress ofrilBy the first stable release, we plan to support the following image encodings:Encoding FormatCurrent StatusPNG / APNGSupportedJPEGSupportedGIFSupportedWebPNot yet supportedBMPNot yet supportedTIFFNot yet supportedInstallationPrebuilt wheelsThere will be prebuilt wheels for these platforms:Linux x86-64: Cpython 3.7, 3.8, 3.9, 3.10, PyPy 3.7, 3.8, 3.9MacOS x86-64: Cpython 3.7, 3.8, 3.9, 3.10, PyPy 3.7, 3.8, 3.9Windows x86-64: Cpython 3.7, 3.8, 3.9, 3.10, PyPy 3.7, 3.8, 3.9Linux i686: Cpython 3.7, 3.8, 3.9, 3.10, PyPy 3.7, 3.8, 3.9MacOS aarch64: Cpython 3.8, 3.9, 3.10If you want another platform to have prebuilt wheels, please open an issue.CPython 3.11 support will be available once its ABI has been stabilized.If your platform has prebuilt wheels, installing is as simple aspip install rilBuilding from SourceIn order to build from source, you will need to have the Rust compiler available in your PATH. See documentation onhttps://rust-lang.orgto learn how to install Rust on your platform.Then building is as simple aspip install rilor from Githubpip install git+https://github.com/Cryptex-github/ril-pyPip will handle the building process.ExamplesOpen an image, invert it, and then save it:fromrilimportImageimage=Image.open("example.png")image.invert()image.save("example.png")Create a new black image, open the sample image, and paste it on top of the black image:fromrilimportImage,Pixelimage=Image.new(600,600,Pixel.from_rgb(0,0,0))image.paste(100,100,Image.open("sample.png"))image.save("sample_on_black.png","PNG")# You can also specify format if you like
Package: rilacs
RiLACSThis package implements the martingales and confidence sequences from"RiLACS: Risk-limiting audits via confidence sequences"and contains code for reproducing all of the plots therein.InstallationWe currently support Python 3.7--3.10 on macOS (Intel/x86_64 and Apple Silicon) and Linux (x86_64).pipinstallrilacsInstallation on other platforms may still be possible, but in that case, the dependencyconfseqwould need to be installed manually. If you would like to see an additional platform supported, please open anissue at confseq, not RiLACS.Compute a confidence sequenceimportnumpyasnpfromrilacs.confseqsimportsqKelly# Create some datax=np.random.binomial(1,0.5,1000)# Compute the confidence sequencel,u=sqKelly(x,N=1000)Run unit tests# Clone the repositorygitclonehttps://github.com/WannabeSmith/RiLACS.git# Run unit tests via pytestpytestRiLACSReproduce the paper's plotsTo generate all plots, we've created a shell script atRiLACS/paper_plots/generate_plots.sh:# Enter the plots directorycdRiLACS/paper_plots# Execute the script with your shell, e.g.:zshgenerate_plots.shAlternatively, you can produce each plot one-by-one:pythonRiLACS/paper_plots/distKelly_distributions/distributions.py
pythonRiLACS/paper_plots/relationship_to_testing/cs_testing_plots.py# and so on.App to audit Canada's 2019 federal electionThecanada_auditfolder contains code to produce a web application which allows for interactive auditing of Canadian ridings in the 2019 federal election.For more details, view the README incanada_auditContributingIf you find a bug, pleaseopen an issueand we'll try to fix it as soon as possible.CitingThe algorithms in this codebase are based on "RiLACS: Risk-limiting audits via confidence sequences" by Ian Waudby-Smith, Philip B. Stark, and Aaditya Ramdas. The BibTeX entry is provided here.@inproceedings{waudby2021rilacs,
title={RiLACS: Risk Limiting Audits via Confidence Sequences},
author={Waudby-Smith, Ian and Stark, Philip B and Ramdas, Aaditya},
booktitle={International Joint Conference on Electronic Voting},
pages={124--139},
year={2021},
organization={Springer}
}
Package: rileytest69
AlexFlipnote.pyAn easy to use Python Wrapper for the AlexFlipnote APIRequirementsPython 3.6 or aboveaiohttp (python3 -m pip install -U aiohttp)InstallationInstall the package by doing one of the following commands:Using pip (recommended):pip install alexflipnote.py -Upython -m pip install alexflipnote.py -UDocumentationSee the full and detaileddocs hereLinksAPI|Changelogs|ExamplesMade byThis wrapper is made bySoheab#6240, DM me on Discord or joinmy server herefor anything
related to this wrapper.You can joinAlexFlipnote's server hereto suggest or report anything on the API.