Saravanan666/pypi-org huggingface dataset:
Package: aws-coco
AWS coco (console container)This tool allows you to manage AWS Console Sessions with Firefox ContainersQuickstartEnsure you've  met therequirements.$pipinstallaws-cocoUsage$coco-cgreen-ifingerprintYou should now have a new browser tab with your aws session!Continue reading for a more in-depth walkthrough of the setup.Ifcocois too generic, this package also exposesaws_coco.RequirementsIf using containers:FirefoxFirefox Multi-Account ContainersOpen URL in Container ExtensionIf you don't wish to install the extension through the marketplace, the source for the extension can be foundhere.If not:Any browser supported bywebbrowserPython >= 3.7If you do not wish to use containers, make sure to specify the--no-containerflag.Installation$pipinstallaws-cocoUsageThis section explains how to usecocoand covers some of the options available to you.Basic Usage$coco--colorgreen--iconfingerprint--nametestThis will open the url in agreenfirefox container tab namedtestwith afingerprinticon.This can be annoying to type, so it's recommended to build aliases for your accounts.Example alias:aliascoco-test=coco--colorgreen--iconfingerprint--nametestNow you can just run:$coco-testCredential ResolutionThis project usesboto3. You can learn more about howboto3resolves credentialshere.If you specify the--profileflag,cocowill pass that value into theboto3session and it will attempt to use the corresponding section in the~/.aws/credentialsfile for the session.OptionsThis section contains a description of the various options available to you. You can also pass the-hflag to print the help.FlagDescriptionDefaultRequired--color,-cThe container tab's colorfalse--container,--no-containerDetermines if the url should be opened in a firefox containertrue--destination,-dThe destination URL to open in the AWS consolefalse--icon,-iThe container tab's iconfalse--name,-nThe container tab's nameThe profile name if passedfalse--open,--no-openDetermines if the url should be automatically opened in the browsertrue--profile,-pThe AWS profile to usefalseAvailable ColorsvalueblueturquoisegreenyelloworangeredpinkpurpleAvailable IconsvaluefingerprintbriefcasedollarcartvacationgiftfoodfruitpettreechillcirclefenceDevelopment$gitclonehttps://github.com/wulfmann/aws-coco.git
$gitclonegit@github.com:wulfmann/aws-coco.gitInstall Dependencies$poetryinstallRun the command$poetryruncoco-cgreen-ifingerprintRun tests$poetryrunpytest
Package: aws-codeartifact-poetry
AWS CodeArtifact PoetrySonarCloud StatusAWS CodeArtifact Poetry CLI is a CLI designed to perform Poetry login with AWS CodeArtifact Private PyPi.MotivationAWS CodeArtifact is a fully managed artifact repository service that makes it easy for organizations of any size to securely store, publish, and share software packages used in their development process. CodeArtifact supports npm, Maven, and Python packaging formats and allows you to easily integrate with your existing build and deployment workflows.However, the AWS CLI does not support Poetry login with AWS CodeArtifact Private PyPi. This CLI was created to solve this problem.Installpip install aws-codeartifact-poetryUsageUsage: aws-codeartifact-poetry [OPTIONS] COMMAND [ARGS]...

  AWS CodeArtifact Poetry CLI.

Options:
  --loglevel [DEBUG|INFO|WARNING|ERROR|CRITICAL]
                                  Log level.  [default: WARNING]
  --log-file TEXT                 Log file name
  --help                          Show this message and exit.

Commands:
  login  Login to AWS CodeArtifactLoginUsage: aws-codeartifact-poetry login [OPTIONS]

  Login to AWS CodeArtifact

Options:
  --repository TEXT    Your CodeArtifact repository name  [required]
  --domain TEXT        Your CodeArtifact domain name  [required]
  --domain-owner TEXT  The AWS account ID that owns your CodeArtifact domain
                       [required]
  --profile TEXT       AWS Profile.
  --region TEXT        AWS Region name  [default: us-east-1]
  --help               Show this message and exit.ContributingSee ourContributing GuideChange LogSee ourChange Log
Package: aws-codebuild
Welcome toaws_codebuildDocumentationFeature:aws_codebuild.CodeBuildEventTypeEnum: codebuild trigger event type enumerationaws_codebuild.CodeBuildEvent: codebuild trigger event data classaws_codebuild.BuildJobRun: build job run data classaws_codebuild.start_build: better boto3 start_build APIaws_codebuild.start_build_batch: better boto3 start_build_batch APIaws_codebuild.BuiltinEnvVar: built in build job run environment variable accessorInstallaws_codebuildis released on PyPI, so all you need is:$pipinstallaws_codebuildTo upgrade to latest version:$pipinstall--upgradeaws_codebuild
Package: aws-codecommit
Welcome toaws_codecommitDocumentationaws_codecommitaim to extract more potential from AWS CodeCommit.aws_codecommitlibrary is the foundation to bringGitHub Action Trigger,CircleCI Workflow Trigger,Jenkins Multi branch trigger,GitLab Pipeline Triggerinto AWS CodeCommit, and give you the flexibility to create more advanced custom trigger.I createdone-click deployable, extentible CI/CD solutionusing AWS CodeCommit and AWS CodeBuild on top ofaws_codecommit.Features:Semantic commit parserSemantic branch parserCodecommit notification event parserbetter codecommit boto APIInstallaws_codecommitis released on PyPI, so all you need is:$pipinstallaws_codecommitTo upgrade to latest version:$pipinstall--upgradeaws_codecommit
Package: aws-codeseeder
aws-codeseederTheaws-codeseederproject enables builders to easily "seed" python code to AWS CodeBuild for execution in their cloud environments.The library and its CLI utility are typically used to simplify the development and deployment of complexInfrastructure as Codeprojects. These projects may have many dependencies and require multiple CLI utilities to orchestrate their deployments. For example, a project that deploys networking resources with theAWS CDK, an Amazon EKS Cluster with theeskctlCLI utility, and Kubernetes applications withkubectlandhelmCLI utilities.Theaws-codeseedereliminates the need to install and configure libraries and utilities locally or on a build system (i.e. Jenkins). Instead, the library enables builders to easily execute an AWS CodeBuild instance with the utilities they require, then seed local python code to, and execute it within, the CodeBuild instance. By bundling and executing local python code in AWS CodeBuild,aws-codeseedercan enable GitOps type deployments of complex, mixed technology projects.UsageSee theExample projectfor basic usage info and the documentation for more advanced usage.
Package: aws-codestarconnection
AWS CodeStar Connection Construct LibraryThis package contains constructs for working with Amazon CodeStar Connection.CodeStar ConnectionDefine a Codestar Connection by creating a new instance of CodeStarConnection. You can create a connection for different providersconstcodestartConnection=newCodeStarConnection(this,'CodeStarConnection',{connectionName:'github-connection',providerType:CodeStarConnectionProviderType.GITHUB,});
Package: aws-cognito-cli
AWS Cognito CLIA simple CLI tool to get the AWS Cognito Access Token, because it's currently far more complicated than it needs to beInstallationpipinstallaws-cognito-cliUsageusage: aws-cognito-cli [-h] -u USERNAME -p PASSWORD --pool-id POOL_ID --client-id CLIENT_IDExample Usageaws-cognito-cli-ujoeyism-psomePassword--pool-idus-east-1_abc123--client-idABCDEFGHIJKLMN1234567890Future FeaturesCache pool id and client idRead info from envAdd CI/CDDocumentationFree software: Apache Software License 2.0Documentation:https://aws-cognito-cli.readthedocs.io.CreditsThis package was created with Cookiecutter and theaudreyr/cookiecutter-pypackageproject template.Cookiecutteraudreyr/cookiecutter-pypackage=======
History1.0.0 (2022-11-19)First release on PyPI.
Package: aws-common-modules
IntroductionA python module which wraps boto3 functions to provide commonly used AWS operations.Example UsageService: Route53#get the aws zone_id, given the domain name, e.g example.com
zone_id = route53.get_route53_zone_id(domain_name)#update dns record with new ip
route53.update_route53_record_set(zone_id, domain_name, ip)Buildinghatch build -t wheel
twine upload --repository testpypi dist/*Running testscd src
python -m unittest test/test_route53.py
Package: awscon
AWSCONConnect to SSM console of any deployed instance.PrereqsSetup your profiles using the aws cliawsconfigure--profilePROFILE_NAMEYou can also leave out the--profile PROFILE_NAMEparam to set yourdefaultcredentialsRefer to this doc for more informationhttps://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.htmlThis code now has an external dependency on fzf please install it using your preferred package manager.Setuppippip install awsconsourcegit clone git@github.com:sergiopena/awscon.git
cd awscon
python setup.py installTestsNo test at the moment... SHAME!How to use?An exported env var named AWS_PROFILE is required, as this is the profile that will be used to retrieve running ec2 instancesProfile must include the region, currently we only support one region.Runawsconit will retrieve your EC2 running instances and display a menu to connect to them.ContributeContributions are more than welcomed!Distributepython setup.py sdist bdist_wheel
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
twine upload dist/*CreditsInspired by the AWS profile switcherawspLicenseBSD
Package: aws-configure
aws-configureA CLI to configure AWS named profiles in~/.aws/configand~/.aws/credentials filesUsagelist profiles:

      aws-configure list


  set profile options:

      aws-configure set [--profile/-p <profile_name>] [--clean/-c] [<config_options...>]

          --profile/-p <profile_name> : select profile ['default']
          <config_options>            : key=value pairs e.g. 'region=eu-central-1' 'source_profile=default'
          --empty/-e                  : empty all profile options before setting new options
          --empty-config              : empty profile config options before setting
          --empty-credentials         : empty profile credentials options before setting

  get profile options:

      aws-configure get [--profile/-p <profile_name>] [<config_options...>]

          --profile/-p <profile_name> : select profile ['default']
          <config_options>            : option key e.g. 'region' 'source_profile'

  delete profile:

      aws-configure delete [--profile/-p <profile_name>] [--config] [--credentials]

          --profile/-p <profile_name> : select profile ['default']
          --config                    : delete only profile config in '~/.aws/config'
          --credentials               : delete only profile credentials in '~/.aws/credentials'

  print help

      aws-configure helpSetup dev environmentInstall Dev Dependenciespip3 install -r requirements.txtpip3 install -r requirements-dev.txtCreate Packagepython3 setup.py sdist bdist_wheelLocal Installpip3 install --force-reinstall --no-deps dist/aws_configure-*-py3-none-any.whlDeploy to PiPytwine upload dist/*
Package: awsconnect
:orange_square: Getting StartedAWS Clientis python utility that use boto3 libraryto get information about EC2 instancesto put, get files from S3 bucketsto send, receive messages from SQSInstallingInstall viapippip install awsconnect:orange_square: RunExamples EC2Get information about instances in EC2python3 -m awsconnect ec2Examples S3Put files to S3 bucketspython3 -m awsconnect s3 put --filename test.json --bucket testGet files from S3 bucketspython3 -m awsconnect s3 get --filename test.json --bucket testExamples SQSSend messages from SQSpython3 -m awsconnect sqs send --queue test --filename example_sqs_messages.jsonReceive messages from SQSpython3 -m awsconnect sqs receive --queue test:orange_square: VersioningUsingSemVerfor versioning. For the versions available, see thetags on this repository.:orange_square: AuthorsZakhar Bengart-Initial work-ZeSee also the list ofcontributorswho participated in this project.:orange_square: LicenseThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation - see theLICENSEfile for details
Package: aws-consoler
AWS ConsolerA utility to convert your AWS CLI credentials into AWS console access.Free software: BSD LicenseDocumentation:https://aws-consoler.readthedocs.io.FeaturesLoad credentials from the command line or from boto3 sources (envvars, profiles, IMDS)Coordinate communication to AWS Federation endpointSelect appropriate endpoint based on partitionLoad resultant URL in user’s browser of choiceCreditsThanks to some of the bloggers at AWS (Jeff Barr, Kai Zhao) for the helpful guides on Federation in AWS.Thanks to Karl Fosaaen (@kfosaaen) for the inspiration to write this tool.This package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History1.1.0 (2020-04-13)Added logic to auto-detect partitionsAdded logic to override auto-detected endpoints, for corporate proxies1.0.0 (2020-03-14)Release to GitHub.0.1.0 (2020-02-24)Internal repository rehydration.
Package: aws-console-url
Welcome toaws_console_urlDocumentationaws_console_urlallow you to generate AWS console URL programmatically using AWS Resource Namespace (ARN) or aws resource id (like ec2 instance id, rds identifier, iam role name etc …). For quick start, you can check thisJupyter Notebook. Also, you can find the full list of public api inPublic API Full ListInstallaws_console_urlis released on PyPI, so all you need is:$pipinstallaws_console_urlTo upgrade to latest version:$pipinstall--upgradeaws_console_url
Package: aws-console-url-search
Welcome toaws_console_url_searchDocumentationaws_console_url_search (acs)is a cross-platform CLI tool for lightning-fast AWS Console URL opener. Say goodbye to hunting through tabs or bookmarks—acs instantly locates and opens your desired AWS Console URL in your default browser. It’s not just fast; it’s blazingly fast! With pinpoint accuracy and interactive features, acs redefines your AWS Console experience.DemoInstallaws_console_url_searchis released on PyPI, so all you need is:$pipinstallaws_console_url_searchTo upgrade to latest version:$pipinstall--upgradeaws_console_url_searchThen you can typeacsCLI command to enter the interactive UI:$ acsUsage - Search AWS Service or Menu URL$ acs
[Query (region = None)]: <--- type your query here
[x] 🌟 🪣 s3 (None)
      Store and retrieve any amount of data from anywhere
[ ] 🌟 👤 iam (None)
      Manage User Access and Encryption Keys
[ ] 🌟 🖥 ec2 (None)
      Virtual Servers in the Cloud
[ ] 🌟 🌐 vpc (None)
      Isolated Cloud Resources
[ ] 🌟 dynamodb (None)
      Managed NoSQL DatabaseUsage - Switch AWS Region$ acs
(AWS Region Query): !@ <--- type your aws region query here
[x] no region | Auto decide based on your AWS Console history
      Hit Enter set region and return to search
[ ] us-east-1 | US East (N. Virginia)
      Hit Enter set region and return to search
[ ] us-east-2 | US East (Ohio)
      Hit Enter set region and return to search
[ ] us-west-1 | US West (N. California)
      Hit Enter set region and return to search
[ ] us-west-2 | US West (Oregon)
      Hit Enter set region and return to search
Package: aws-container-launcher
PrerequisitesPython 3.7AWS CredentialsAWS Container Launcher (aws-container-launcher)AWS Container Launcher makes it easy to programmatically run a Docker container in AWS using the Python package for Batch processing, ML jobs, or fast Web server running.WARNING: After processing a job, you are in charge of destroying the infrastructure. Do not forget to call the "destroy" method; otherwise, the instance will continue to operate and you will be charged by Amazon.Instance type determinationYou can specify the instance type explicitly or set the CPU and memory, and the package will automatically select the optimal instance type for you.UsageTo better understand, familiarize yourself with the available methods and thestart_containermethod in particular.ClientClient configurationMethodsstart_containerget_container_statusget_container_recorddestroydelete_monitoring_tableStorageSSD instance storeEBSAmazon FSx for LustreEFSSpot instanceUsing spot instancesScaling optionsScaling in
Package: aws-control-tower-manifest-builder
AWS Control Tower Manifest BuilderPython package to automatically build the AWS Control Tower Manifest given Cloud Formation templates and SCPs as input.Free software: MIT licenseDocumentation:https://aws-control-tower-manifest-builder.readthedocs.io.FeaturesReads Cloud Formation templates and Service Control Policies from specified directories and produces the AWS Control Tower manifest.yaml file.Seehttps://s3.amazonaws.com/solutions-reference/customizations-for-aws-control-tower/latest/customizations-for-aws-control-tower-developer-guide.pdfQuick startRunpip installaws-control-tower-manifest-builderDownload sample template and SCPs from S3 “Add link”. Extract to directoryRunaws_control_tower_manifest_builder--input-cfsample_templates--input-scpsample_scp--outputoutput_manifestNote: the sample template includes incorrecly formatted templates.For Developers - before pushing a branchClone the repomake venvmake blackmake lintmake testmakelocal-testTo bump version:
1. Update HISTORY.rst
2.git fetchto fetch all tags
3.makebump-<patch-minor-major>4. Make a release in Github and add a tag.Cloud Formation templates require a metadata section with the following info:Metadata:manifest_parameters:# can be customized with --metadata-namename:detailed_template# Optional. Defaults to the file name. a-z, A-Z, 0-9, and "-"description:string# Required for SCPsdeploy_method:stackset# Optional. All file in the template directory use "stackset" and in policy directory use "scp".accounts:["123456789012","987456123989"]# Requires "accounts" and/or "organizational_unit". If accounts is used, enforce only account# IDs with --enforce-account-number-onlyorganizational_units:["dev","prod"]# Requires "accounts" and/or "organizational_unit".regions:["us-east-1","us-east-2"]# Optional. Defaults to us-east-1.parameters:# Optional. List of parameters [SSM, Alfred, Values]-parameter_key:parameter1parameter_value:value1-parameter_key:parameter2parameter_value:value2export_outputs:# Optional. list of ssm parameters to store output values-name:/org/member/test-ssm/app-idvalue:$[output_ApplicationId]History0.3.1 (2022-03-03)First release on PyPI.0.4.0 (2022-03-27)Change to mantain order, comments and support exclamation marks in Cloudformation0.4.1 (2022-03-27)Fix for the default region option0.5.0 (2022-03-29)Add argument to set schema version0.5.1 (2022-03-24)Fix issue when leaving region blank not picking default value0.5.2 (2022-04-08)Fail if files name or name in metadata dont match regex0.5.3 (2022-04-09)Fix in logging and update to Readme0.5.4 (2022-04-18)Exit with error when there is an issue in any manifest file0.6.0 (2022-05-18)Enforce description in SCP and correct extension0.7.0 (2022-08-28)Added 2 new options–metadata-name -> to customize the name in the metadata
–enforce-account-number-only ->  Allows to enforce use of 12 digit account numbers
The input scps folder is not mandatory anymore0.8.0 (2022-09-08)Added 1 new option–enable_stack_set_deletion -> defaults to False. Set to True to enable the CT pipeline to delete stacksets.
Package: aws-cost-report
aws-cost-reportusage: cost-report [-h] [-j] [-v]command line tool which will return total cost for the current month's AWS usage.oraganizations with multiple accounts will see a list of accounts.usage:$ cost-report$ cost-report -j # optionally output json/dictionaryexpected output:AWS Costs - 8378_ACCT_ID (July): $2.18optional arguments:-h, --help     show this help message and exit-j, --json     output json object-v, --version  show program's version number and exitinstallpip install aws-cost-report
Package: aws_crawler
OverviewCrawl through AWS accounts in an organization using master assumed role. You can specify a comma-separated string of account IDs for specific accounts, an Organizational Unit ID to crawl through all accounts therein, or a comma-separated string of account statuses to crawl through matching accounts in the organization.Crawling Precedence:Specific accountsOrganizational UnitAll matching accounts in the organizationUsageInstallation:pip3installaws_crawlerpython3-mpipinstallaws_crawlerExample:Get STS caller identitiesAlso featuring (installed with aws_crawler):Automated authenticationMultithreadingimportaws_crawlerimportboto3frommultithreaderimportthreadsfromaws_authenticatorimportAWSAuthenticatorasawsauthfrompprintimportpprintasppdefget_caller_identity(account_id:str,items:dict)->dict:"""Get AWS STS caller identities from accounts."""print(f'Working on{account_id}...')try:# Get auth credential for each account.credentials=aws_crawler.get_credentials(items['session'],f'arn:aws:iam::{account_id}:role/{items["assumed_role_name"]}',items['external_id'])# Get STS caller identity.client=boto3.client('sts',aws_access_key_id=credentials['aws_access_key_id'],aws_secret_access_key=credentials['aws_secret_access_key'],aws_session_token=credentials['aws_session_token'],region_name=items['region'])response=client.get_caller_identity()['UserId']exceptExceptionase:response=str(e)# Return result.return{'account_id':account_id,'details':response}if__name__=='__main__':# Login to AWS through SSO.auth=awsauth(sso_url='https://myorg.awsapps.com/start/#',sso_role_name='AWSViewOnlyAccess',sso_account_id='123456789012')session=auth.sso()# # Create account list from comma-separated string of IDs.# account_ids = aws_crawler.create_account_list(#    session,#    '123456789012, 234567890123, 345678901234'# )# Get account list for an Organizational Unit.account_ids=aws_crawler.list_ou_accounts(session,'ou-abc123-asgh39')# # Get matching account list for the entire organization.# account_ids = aws_crawler.list_accounts(#    session,#    'ACTIVE,SUSPENDED'# )# Execute task with multithreading.items={'session':session,'assumed_role_name':'MyOrgCrossAccountAccess','external_id':'lkasf987923ljkf2;lkjf298fj2','region':'us-east-1'}results=threads(get_caller_identity,account_ids,items,thread_num=5)# Print results.pp(results)
Package: aws-credentialer
AWS MFA Credentials UpdaterA convinient way to update AWS credentials for an AWS profile with MFA enforced.InstallationUsingpippipinstallaws-credentialerUsage ExampleRun the following command in your favorite terminal:python-maws_credentialernnnnnnHelp is available with the-hparameter.Release History0.1.2Updated packages.0.1.0The first proper release.
Package: awscreds
Store AWS credentials inside your KeychainInstallingThe easiest way to installawscredsis to use pip3:$ pip3 install awscredsor from sources:$ git clone https://github.com/DmitriyLyalyuev/awscreds.git
$ cd awscreds
$ python3 setup.py installGet helpawscreds -hStore credentials into Keychainawscreds addawscreds add -e prj_nameDelete credentials from Keychainawscreds deleteawscreds delete -e prj_nameGet credentials from Keychain in ready to use formatawscreds get -e prj_nameExport credentials into your shell sessioneval `awscreds export -e prj_name`