Saravanan666/pypi-org huggingface dataset:
Package: renovosolutions.aws-cdk-managed-instance-role
cdk-library-managed-instance-roleThis CDK Construct Library includes a construct (ManagedInstanceRole) which creates an AWS instance profile. By default this instance profile includes the basic policies required for instance management in SSM and the ability to Domain Join the instance.The purpose of this CDK Construct Library is to ease the creation of instance roles by not needing to code the inclusion of baseline management roles for evey single different role implementation every time. Instance profiles only support a single role so its important the role includes all required access. This construct allows making additions to those baseline policies with ease.The construct defines an interface (IManagedInstanceRoleProps) to configure the managed policies of the role as well as manage the inclusion of the default roles.DevPre-reqs:You will need:npm installed on your machineAWS CDK installed on your machinepython installed on your machinedotnet installed on your machinea github accountThis project is managed withprojen. Modify the.projenrc.jsfile and runnpx projen. You can also modify thisREADMEfile and thesrccode directory as needed. Github actions take care of publishing utilizing the automatically created workflows fromprojen.
Package: renovosolutions.aws-cdk-one-time-event
cdk-library-one-time-eventAn AWS CDK Construct library to create one time eventschedules.FeaturesCreate two types of eventscheduleseasily:On Deployment: An one time event schedule for directly after deployment. Defaults to 10mins after.At: A one time even schedule for any futureDate()API DocSeeAPIExamplesTypescript - run after deploy, offset 15minsimport * as cdk from '@aws-cdk/core';
import * as lambda from '@aws-cdk/aws-lambda';
import * as oneTimeEvents from '@renovosolutions/cdk-library-one-time-event';

export class CdkExampleLambdaStack extends cdk.Stack {
  constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    const handler = new lambda.Function(this, 'handler', {
      runtime: lambda.Runtime.PYTHON_3_8,
      code: lambda.Code.fromAsset(functionDir + '/function.zip'),
      handler: 'index.handler',
    });

    new events.Rule(this, 'triggerImmediate', {
      schedule: new oneTimeEvents.OnDeploy(this, 'schedule', {
        offsetMinutes: 15
      }).schedule,
      targets: [new targets.LambdaFunction(this.handler)],
    });Typescript - run in 24 hoursimport * as cdk from '@aws-cdk/core';
import * as lambda from '@aws-cdk/aws-lambda';
import * as oneTimeEvents from '@renovosolutions/cdk-library-one-time-event';

export class CdkExampleLambdaStack extends cdk.Stack {
  constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    const handler = new lambda.Function(this, 'handler', {
      runtime: lambda.Runtime.PYTHON_3_8,
      code: lambda.Code.fromAsset(functionDir + '/function.zip'),
      handler: 'index.handler',
    });

    var tomorrow = new Date()
    tomorrow.setDate(tomorrow.getDate() + 1)

    new events.Rule(this, 'triggerImmediate', {
      schedule: new oneTimeEvents.At(this, 'schedule', {
        date: tomorrow
      }).schedule,
      targets: [new targets.LambdaFunction(this.handler)],
    });
Package: renovosolutions.aws-cdk-renovo-microapi
Renovo Solutions Private Lambda Micro REST API (proxy) Infrastructure LibraryThis infrastructure construct library implements a private lambda backed REST API on AWS API Gateway usingproxy+.FeaturesUtilizes an internal Micro API project to provide an api via Lambda (withproxy+) and API GatewayConfigures the required VPC endpoint attachment automaticallyConfigures logging for API requestsConfigures the private gateways policy to restrict access to the VPC endpointExports the private DNS name to be used in the appWhat this construct does not doProvide the VPC endpoint with private DNS enabled. The user utilizing this construct should create a single VPC endpoint with private DNS enabled and share it across all projects utilizing this consturct.Private API Gateway traffic flow using VPC EndpointAPI gateways are a managed service that lives outside of our own VPC. Therefore when creating a private gateway this means that in order to access it additional configurations need to occur. Specifically a VPC endpoint must exist for traffic to route to the API Gateway. In addition the Lambda service itself also lives outside our VPC. This can seem a bit complex given that most of our Micro API projects then return to the VPC to route traffic to the database. To help visualize what this looks like here is a diagram of this traffic flow when routing through the api gateway for Micro APIs:The old setup, using public traffic flowWe used to deploy API gateways as public endpoints. For the sake of comparison here is what the old traffic flow would have looked like:ReferencesCreating a private API in Amazon API Gateway
Package: renovosolutions.aws-cdk-route53targets
Additional Route53 Targets for AWS CDKThis repo's intention is to add additional avenues for defining Route53 targets or adding targets that might not be available otherwise. See the (limited) feature list below:FeaturesAdd a load balancer target using the load balancers attributes instead of the resource classLoadBalancer. This is useful in cases where you need to add a Classic Load Balancer as a target, but the load balancer wasn't created in the same CDK app. Since theELBv2 package in theaws-cdkdoesn't implement aresource interface(ILoadBalancer) or other typical L2 concepts (abstract base class,"imports" usingfrommethods) for constructs theClassicLoadBalancerTargetrequires aLoadBalanceroutright. SinceLoadBalanceris a concrete resource class we can't redefine something we want to target from another CDK app. So, this feature allows us to use data we know about the load balancer to set it as a target more directly.Examplesconstzone=newr53.HostedZone(stack,'HostedZone',{zoneName:'example.com',});newr53.ARecord(stack,'AliasRecord',{zone,recordName:'publiclb.example.com',target:r53.RecordTarget.fromAlias(newLoadBalancerTargetFromAttributes({dnsName:'publiclb-1234567890.us-east-1.elb.amazonaws.com',hostedZoneId:'A1AAAA0A79A41A',})),});
Package: renovosolutions.aws-iam-access-key
AWS CDK Construct for IAM User Access KeysThis construct creates IAM user access keys securely.WarningThis is a WIP projectOverviewUses a custom resource to generate AWS credentialsUploads the resulting credentials to AWS Secrets ManagerUsage examplesSeeAPIdoc for full detailstypescript example:constuser=newiam.User(this,'exampleUser')newAccessKey(this,'iamUserAccessKeyExample',{user,});
Package: renovosolutions.aws-ses-smtp-credentials
AWS CDK Construct for Simple Email Service (SES) SMTP CredentialsThis construct creates SES SMTP CredentialsOverviewCreates an IAM user with a policy to send SES emailsUses a custom resource to generate then convert AWS credentials to SES SMTP CredentialsUploads the resulting SMTP credentials to AWS Secrets ManagerUsage examplesSeeAPIdoc for full detailstypescript example:newSesSmtpCredentials(stack,'SesSmtpCredentials',{iamUserName:'exampleUser',});Testing the generated credentials in the CLISeethis document from AWSfor full details
Package: renput
RenputA simple Python library for Windows, which replaces the default input function in order to add the functionality to automatically complete an input using the tab key.Featuresinput(prompt, auto_complete)prompt: The prompt given to the user before the input line.auto_complete: A list of auto completions that get input when thetab ↹key is pressedExample of usefromrenputimport*auto_complete=["apple","banana","cherry","pineapple"]print("Enter the first few letters of apple, banana, cherry or pinapple,\nthen press tab to see the functionality of Renput:")whileTrue:input(auto_complete=auto_complete)Please report any issues that you find when using the library, but only if you are on the newest version.
Optionally, you can report new issues onmy discord server.
Package: renpy-distribute-tools
Ren'Py Distribution ToolsThe Ren'Py Distribution Tools (RDT) is a set of utilities that make distribution of Ren'Py projects easier and more seamless programmatically.Getting StartedQuick Start: Install via PyPI/PoetryTo install via PyPI:pip install renpy-distribute-toolsOr, if you're using a Poetry project, just add the dependency:poetry add renpy-distribute-toolsBuilding from sourceRequirementsPython 3.7 or higherPoetry package managerRen'Py Distribute Tools is a Poetry project and can be built using Poetry'sbuildcommand.Clone the repository.In the root of the project, runpoetry install.Finally, runpoetry build.What's includedThe Ren'Py Distribution Tools set comes with utilities that make it easy to do the following:Modifying a visual novel'sInfo.plist.Code-signing the visual novel binaries in the Mac app with entitlements.Creating a ZIP copy of the Mac app and sending it to Apple's notarization servers.Verifying the notarization status of an app.Stapling the notarization ticket to a macOS app.Distributing app content through Itch.io.UsageThe documentation website covers all of the modules contained in the RDT package.View docs ›Example Usage: Notarizing a macOS buildimportrenpy_distribute_toolsasrdtauthor="Joe Smith"bundle_identifier="com.example.my-vn"code_sign_identity="Developer ID Application: Joe Smith (XXXXXXXXXX)"app_path="VN-1.0.0-dists/VN-1.0.0-mac/VN.app"apple_email="example.joesmith@icloud.com"apple_provider="XXXXXXXXXX"rdt.fix_plist(app_path+"/Contents/Info.plist",bundle_identifier,"©%s%s. All rights reserved."%(date.today().year,author))rdt.code_sign(code_sign_identity,app_path,entitlements="../../entitlements.plist",enable_hardened_runtime=True)try:rdt.upload_to_notary(app_path,bundle_identifier,apple_email,"@keychain:AC_PASSWORD",provider=apple_provider)exceptCalledProcessError:print("\033[31;1mNotarization request failed. Aborting.\033[0m")sys.exit(1)LicenseRDT is licensed under the MIT License, which is available in the LICENSE file in the source code repository.
Package: renpy-encyclopaedia
A plugin for theRen’py Visual Novel engineUse it to create an encyclopaedia, bestiary, glossary, codex or similar system.FeaturesSort entries by Number, Alphabetically, Reverse Alphabetically, by Subject, or by Unread status.Filter entries by Subject.Sub-page system for nesting entries. Allows an entry to be unlocked progressively.Locking/unlocking allows you to decide when entries should be accessible.Locked entries can be displayed with customizable placeholders or outright hidden.Entry Unlocks can be tied to individual save games or universal (using Ren’py persistent data).Default visual template is provided, but can be completely customized or replaced usingRen’py Screen Language.DocumentationDocumentation is available athttps://renpy-encyclopaedia.readthedocs.io/ContributingFor filing bugs or feature requests, please use theGitHub issue tracker
Package: renpyfmt
renpyfmtrenpyfmtis a source code formatter for Ren'Py script.Right now it only supports formatting blocks of Python code contained within Ren'Py script files, but the intent is to expand this to allow formatting of actual Ren'Py script as well.The contained Python source code is formatted viablack.All Python related statements are supported:$single-line statementspython:blocksinit python:blockspython early:blocksPhoto by Milad Fakurian on Unsplash
Package: rens-eqt
Secure Equality Testingpython3.8package for secure equality testing, implementation of the EQT-1 protocol ofthis paperExample usageWith predeterminedaandbfrom eqt.protocol import Protocol

p = Protocol(a=12313, b=12312, kappa=40)
p.start()
print(p.decrypted_result)

p = Protocol(a=12313, b=12313, kappa=40)
p.start()
print(p.decrypted_result)Usingaandbas inputfrom eqt.main import main
main()To see timing resultsfrom eqt.timing import timing
timing()
Package: rensha256
# rensha256Commandline to rename a file to it’s sha256 digest while keeping the file’s extension.## Example` find ~/Documents-maxdepth1-typef | rensha256 `### Installing` python setup.py install `## VersioningWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags).## AuthorsTaylor Monacelli-Initial work- [taylormonacelli](https://github.com/taylormonacelli)
Package: renson-endura-delta
Renson endura delta libraryAn unofficial library to get and control the Renson Endura Delta units.Following features are support:Getting data for most of the fields that can be found in the official 'Endura Delta' app.Override the auto mode and set a level manuallySet a timer for a levelSync the current time to the Renson ventilation unitSetup the breeze functionSetup the day and night timeSetup pollution settingsSet the filter clean timeCompare firmware version with online version
Package: rens-paillier
Paillier encryptionpython3.8package forPaillier encryption.Example usageSetupfrom paillier.keygen import generate_keys
from paillier.crypto import encrypt, decrypt

pk, sk = generate_keys()Basic encryption and decryptionm1 = 45336
ciphertext = encrypt(pk, m1)
assert m1 == decrypt(pk, sk, ciphertext)Homomorphic thingsfrom paillier.crypto import secure_addition, scalar_multiplication, secure_subtraction

n, _ = pk
m2 = 30381

# Secure addition
e1 = encrypt(pk, m1)
e2 = encrypt(pk, m2)
addition = secure_addition(e1, e2, n)
assert m1 + m2 == decrypt(pk, sk, addition)

# Scalar multiplication
k = 23  # some scalar
e1 = encrypt(pk, m1)
multiplied = scalar_multiplication(e1, k, n)
assert (m1 * k) % n == decrypt(pk, sk, multiplied)

# Secure subtraction
assert m1 > m2, "m2 should be bigger than m1 in order to subtract m2 from m1"
e1 = encrypt(pk, m1)
e2 = encrypt(pk, m2)
subtracted = secure_subtraction(e1, e2, n)
assert m1 - m2 == decrypt(pk, sk, subtracted)
Package: renspell
renspell is a utility for performing spelling and grammatical checking
onRen'Pyscripts.Installationrenspell can be installed by runningpip install renspell. It requires
Python 3.5+ and Java JRE 8.0+.LanguageTool will be automatically downloaded and installed upon the
first run.Usagerenspell is a command line utility. To use it, runrenspell PATH_TO_FILE_OR_DIR_TO_CHECK. For example, if I wanted to check a
script called 'script.rpy', I would do:renspellgame/script.rpyA full list of options can be found by runningrenspell --help.renspell supports all languages whichLanguageTooldoes. An abbreviated list is:LanguageLanguage CodeEnglish (USA) [DEFAULT]en-USEnglish (Australia)en-AUEnglish (United Kingdom)en-GBEnglish (Canada)en-CAEnglish (New Zealand)en-NZArabicarBelarusianbeCatalancaChinesezhDanishdaDutch (Belgium)nl-BEDutch (Netherlands)nl-NLFrenchfrGalicianglGermandeGreekelIcelandicisIrishgaItalianitJapanesejaKhmerkmLithuanianltMalayalammlPersianfaPolishplPortuguese (Angola)pt-AOPortuguese (Brazil)pt-BRPortuguese (Mozambique)pt-MZPortuguese (Portugal)pt-PTRomanianroRussianruSerbiansrSlovakskSlovenianslSpanishesSwedishsvTagalogtlTamiltaUkranianukGetting HelpIf one of your scripts is causing renspell to have errors, please openan issue. If
possible, please include the script file that is causing the errors. If
you don't feel comfortable doing that, open the issue and tag
@hlieberman in the issue to get information necessary for submitting it
privately.For more interactive, you may join theRen'Py
Discordand ask for help there.Contributingrenspell is free and open source software, and we happily accept
contributions of all sorts, including code, design help, and
documentation.Issues tagged
'newcomer'are good places to start. Before starting anything that requires
significant architecture, please open an issue or check in with
@hlieberman on theRen'Py Discord.Please sign-off on your commits (git commit -s). By doing so, you
certify that you have the right to submit the work under the license of
renspell (GPLv3), and that you agree to aDeveloper Certificate of
Origin.License and Copyrightrenspell is copyright 2020-2021, Harlan Lieberman-Berg
<hlieberman@setec.io> and renspell contributors.renspell is free software, licensed under the terms of theGNU General
Public License, version 3.0.
Package: rent-a-bot
Rent-A-Bot----------Rent-A-Bot, your automation resource provider!Rent-A-Bot is designed to help you lock your resources in your automation infrastructure.Setup`````.. code:: bash$ pip install rent-a-bot$ export FLASK_APP=rentabot$ export RENTABOT_RESOURCE_DESCRIPTOR=path/to/your/descriptor$ flask runLinks`````* `website <https://github.com/cpoisson/rent-a-bot>`_
Package: rentry
Rentry.cois a pastebin/publishing service with markdown support, preview, custom urls and editing.This repository contains a simple script that allows pasting and editing from command line interface.InstallationManually:wgethttps://raw.githubusercontent.com/radude/rentry/master/rentry-O./rentry&&chmod+x./rentryPyPI (Make sure you are using Python3 and pip3):pipinstallrentryUsage$rentry--helpUsage: rentry {new | edit | raw} {-h | --help} {-u | --url} {-p | --edit-code} text

Commands:
  new   create a new entry
  edit  edit an existing entry
  raw   get raw markdown text of an existing entry

Options:
  -h, --help                 show this help message and exit
  -u, --url URL              url for the entry, random if not specified
  -p, --edit-code EDIT-CODE  edit code for the entry, random if not specified

Examples:
  rentry new 'markdown text'               # new entry with random url and edit code
  rentry new -p pw -u example 'text'       # with custom edit code and url
  rentry edit -p pw -u example 'text'      # edit the example entry
  cat file | rentry new                    # read from pipe and paste it to rentry
  rentry raw -u example                    # get raw markdown text
  rentry raw -u https://rentry.co/example  # -u accepts absolute and relative urls
Package: rentrylib
rentrylibA python library for interfacing with the paste-sitehttps://rentry.orgInstallFrom PyPi:python -m pip install rentrylibFrom GitHub:python -m pip install git+https://github.com/yntha/rentrylibUsageCreate a new page with a custom URL and a custom edit code. Note that these are all optional parameters:page=rentrylib.RentryPage(text="Hello World! :)",custom_url='h3LLoW0RLd',edit_code='h*ll*w*rld')Edit the page:response=page.edit({'text':'Some new content.','edit_code':"This shouldn't be used!",'new_edit_code':'new password!!','new_url':'anewurl'})Delete this page:response=page.edit({'delete':True})# orresponse=page.delete()Misc:# Get the page URL# strpage_url=page.site# Get the page `edit_code`# stredit_code=page.code# Fetch the raw content of this page# strcontent=page.raw# Fetch the content of this page as a PNG image.# bytesimage=page.png# Fetch the content of this page as a PDF document.# bytesdocument=page.pdf
Package: renumics-spotlight
Renumics SpotlightSpotlight helps you toidentify critical data segments and model failure modes. It enables you to build and maintain reliable machine learning models bycurating a high-quality datasets.IntroductionSpotlight is built on the idea that you can only trulyunderstand unstructured datasetsif you caninteractively explorethem. Its core principle is to identify and fix critical data segments by leveragingdata enrichments(e.g. features, embeddings, uncertainties). We are building Spotlight for cross-functional teams that want to be incontrol of their data and data curation processes. Currently, Spotlight supports many use cases based on image, audio, video and time series data.QuickstartGet started by installing Spotlight and loading your first dataset.What you'll needPythonversion 3.8-3.11Install Spotlight viapippipinstallrenumics-spotlightWe recommend installing Spotlight and everything you need to work on your data in a separatevirtual environmentLoad a dataset and start exploringimportpandasaspdfromrenumicsimportspotlightdf=pd.read_csv("https://spotlight.renumics.com/data/mnist/mnist-tiny.csv")spotlight.show(df,dtype={"image":spotlight.Image,"embedding":spotlight.Embedding})pd.read_csvloads a sample csv file as a pandasDataFrame.spotlight.showopens up spotlight in the browser with the pandas dataframe ready for you to explore. Thedtypeargument specifies custom column types for the browser viewer.Load aHugging Facedatasetimportdatasetsfromrenumicsimportspotlightdataset=datasets.load_dataset("olivierdehaene/xkcd",split="train")df=dataset.to_pandas()spotlight.show(df,dtype={"image_url":spotlight.Image})Thedatasetspackage can be installed via pip.
Package: renumSeq
About renumseqrenumseqis a Unix/Linux command-line-utility for renumbering image-sequences
which are most
typically used in CG post-production.renumseqallows you to renumber sequences with an offset or give them a newstartframe.
It also allows you adjust the padding of the frame numbers.renumsequses the syntax of the native output oflsseqto specify
the sequence to be renumbered. Therefore it is recommended to
also installlsseqas it makes usingrenumseqeasier.For example, uselsseqto list a sequence, then
cut and paste its
output as the arguments torenumseqwith the appropriate
arguments for setting the offset.renumseqwas written to be safe in that it won't
unintentionally overwrite any existing files
during renumbering.Ifrenumseqfinds that by renumbering a sequence it will write over another frame
outside the range specified then it will skip renumbering that sequence
(printing a warning) and go onto the next sequence in the list.  Naturally
there is an option to forcerenumseqto overwrite those files if desired.renumseqdoesn't need to make temporary copies of files during the renumbering
(it does a move of the file), so it's fast.renumseqalso has a useful option, called--replaceUnderscorethat changes any underscore-separators (separating the filename from the
frame-number) with dot-separators, like this:filename_[n-m].extension->filename.[n-m].extensionProtip: If all you want to do is switch the separator from an underscore to a dot, then
use a zero offset, plus the--replaceUnderscoreargument.Installing renumseqpython3 -m pip install renumSeqTesting renumseqAfter installing try the following:$ cd ~
$ mkdir tmp
$ cd tmp
$ touch aaa.001.tif aaa.002.tif aaa.003.tif aaa.004.tif aaa.005.tif
$ lsseq -Z
aaa.[001-005].tif
$ renumseq --verbose --offset 10 'aaa.[001-005].tif'
aaa.005.tif -> aaa.015.tif
aaa.004.tif -> aaa.014.tif
aaa.003.tif -> aaa.013.tif
aaa.002.tif -> aaa.012.tif
aaa.001.tif -> aaa.011.tif
$ lsseq -Z
aaa.[011-015].tifNote that you may get an error from your
shell when you try to run therenumseqcommand above, without the
quotes around the sequence, that might look something like
this:% renumseq -o 10 aaa.[001-005].tif
renumseq: No match.In which case you need to "escape" the square brackets as they are special characters
as far as the shell is concerned. Escape them like this:% renumseq -v -o 10 aaa.\[001-005\].tif
aaa.005.tif -> aaa.015.tif
aaa.004.tif -> aaa.014.tif
aaa.003.tif -> aaa.013.tif
aaa.002.tif -> aaa.012.tif
aaa.001.tif -> aaa.011.tifAlternatively you can just enclose the argument in quotes
('aaa.[001-005].tif')
like we did in the example above.Type this:$ renumseq --help...for much more useful info.