Saravanan666/pypi-org huggingface dataset:
Package: boto3r
Boto3-resultLibrary that encapsulate Boto3 in option.ResultOne class for each AWS serviceReturning Result instead of throwing exceptionTested with library versions in requirements.txtSource ongithubRequirementspython3/pipA valid boto3 configuration as explained inboto3 configUsepipinstallboto3rExamplesfromboto3r.s3importS3importoss3=S3.create().unwrap()S3_BUCKET=os.environ['S3_TEST_BUCKET']key='test-key's='s3_test'r=s3.put_object(S3_BUCKET,key,s)\.flatmap(lambda_:s3.get_attributes(S3_BUCKET,key)).flatmap()print(r.unwrap()['LastModified'])Test runningRequirements:Env vars:S3_TEST_BUCKET with writing permission./bin/run_test.sh
Package: boto3_retry
boto3-retryA tool for easily retring failed AWS requests via boto3 based on the error codeFree software: MIT licenseDocumentation:https://boto3-retry.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2016-08-02)First release on PyPI.
Package: boto3-session
boto3-sessionA wrapper library for the boto3.session.Session class in Python.RequirementPython versions 3.9, 3.10, 3.11, 3.12Poetry (for development purposes)InstallationTo install boto3-session, run the following command:$pipinstallboto3-sessionUsageboto3_session.Session can be used similarly to boto3.Session:fromboto3_sessionimportSessionsession=Session()s3=session.resource("s3")bucket=s3.Bucket(...)...The some of parameters for boto3_session.Session are akin to those for boto3.Session:profile_name: The AWS profile name.aws_access_key_id: The AWS access key ID.aws_secret_access_key: The AWS secret access key.aws_session_token: The AWS session token.region_name: The AWS region name.Additionally, boto3_session.Session supports management of AssumeRole:role_arn: The AWS role ARN for AssumeRole. If set, aws_access_key_id, aws_secret_access_key, and aws_session_token are replaced with the AssumeRole credentials.session_name: The AWS session name, defaulting to "boto3_session".boto3_session.Session includesclientandresourcemethods, like boto3.Session. By default, the following configuration is passed to them:Config(retries={"max_attempts":self.max_attempts,"mode":self.retry_mode})In boto3, the default values formax_attemptsandmodeare 5 and legacy, respectively. In boto3_session, they default to 3 and "standard".These defaults can be overridden by passing the following parameters to boto3_session.Session:retry_mode: The retry mode for failed requests, defaulting to "standard".max_attempts: The maximum number of retry attempts for failed requests, defaulting to 10.SSO LoginFor configurations with SSO login, if the token is absent or expired, boto3_session.Session automatically executes aws sso login.Note: The aws command-line tool must be installed.Install or update the latest version of the AWS CLI - AWS Command Line InterfaceInstall or update the latest version of the AWS CLI - AWS Command Line Interface
Package: boto3-type
boto3-typeLightweight type check for boto3 service, resource instances.Install:pipinstallboto3_typeProblem:In[1]:importboto3In[2]:importbotocoreIn[3]:s3=boto3.client("s3")In[4]:type(s3)Out[4]:botocore.client.S3In[5]:isinstance(s3,botocore.client.S3)---------------------------------------------------------------------------AttributeErrorTraceback(mostrecentcalllast)<ipython-input-5-a7f37740cc80>in<module>---->1isinstance(s3,botocore.client.S3)AttributeError:module'botocore.client'hasnoattribute'S3'Usage:In[1]:importboto3In[2]:importboto3_typeasbtIn[3]:client=boto3.client("ecs")In[4]:resource=boto3.resource("s3")In[5]:bucket=resource.Bucket("test-bucket")In[6]:bt.is_client(client)Out[6]:TrueIn[7]:bt.client.istype(client,"ecs")Out[7]:TrueIn[8]:bt.is_resource(resource)Out[8]:TrueIn[9]:bt.resource.istype(resource,"s3")Out[9]:TrueIn[10]:bt.s3.istype(bucket,"bucket")Out[10]:TrueIn[11]:bt.is_resource(client)Out[11]:FalseIn[12]:bt.is_client(resource)Out[12]:False
Package: botobackoff
botobackoffbotobackoff provides a boto3 client wrapper and function decorator that automatically retries failed boto3 calls
with exponential backoff and jitter.The decorator and client wrapper include options to add additional error codes to catch and retry on and
error codes to ignore and fail silently returningNone.MotivationBoto3 provides limited retry functionality for failed calls. I wanted to create a simple way to retry boto3 calls
with exponential backoff and jitter as well as more flexibility as to what errors can be retried or ignored without
needing to add additional try/except blocks around boto3 calls.Installationinstall from PyPI:pip install botobackoffUsageExample with the client wrapper:frombotobackoffimportBotoBackoff# `BotoBackoff` can be instantiated with a boto3 client or service namewrapped_client=BotoBackoff("s3",max_retries=5)print(wrapped_client.list_objects(Bucket="my-bucket"))Example as context manager:frombotobackoffimportBotoBackoffwrapped_client=BotoBackoff("s3",max_retries=2)# use `with_options` to change any of the options for the context manager instancewithwrapped_client.with_options(max_retries=5)asclient:print(client.list_objects(Bucket="my-bucket"))Example with the decorator:frombotobackoffimportbotobackoffimportboto3@botobackoff(max_retries=5)deflist_objects():returnboto3.client("s3").list_objects(Bucket="my-bucket")print(list_objects())The boto3 errors that are retried by default are:ThrottlingExceptionTooManyRequestsExceptionServiceUnavailableExceptionRequestLimitExceededRequestThrottledRequestThrottledExceptionProvisionedThroughputExceededExceptionLimitExceededExceptionEndpointConnectionErrorConnectTimeoutErrorUnavailableInternalFailureInternalErrorto add additional errors to retry on use theadded_error_codesparameter:frombotobackoffimportbotobackoffimportboto3@botobackoff(added_error_codes=["NoSuchBucket"])deflist_objects():returnboto3.client("s3").list_objects(Bucket="my-bucket")
Package: botocore
A low-level interface to a growing number of Amazon Web Services. The
botocore package is the foundation for theAWS CLIas well asboto3.Botocore is maintained and published byAmazon Web Services.NoticesOn 2023-12-13, support was dropped for Python 3.7. This follows the
Python Software Foundationend of supportfor the runtime which occurred on 2023-06-27.
For more information, see thisblog post.Getting StartedAssuming that you have Python andvirtualenvinstalled, set up your environment and install the required dependencies like this or you can install the library usingpip:$gitclonehttps://github.com/boto/botocore.git$cdbotocore$virtualenvvenv...$.venv/bin/activate$pipinstall-rrequirements.txt$pipinstall-e.$pipinstallbotocoreUsing BotocoreAfter installing botocoreNext, set up credentials (in e.g.~/.aws/credentials):[default]aws_access_key_id=YOUR_KEYaws_secret_access_key=YOUR_SECRETThen, set up a default region (in e.g.~/.aws/config):[default]region=us-east-1Other credentials configuration method can be foundhereThen, from a Python interpreter:>>>importbotocore.session>>>session=botocore.session.get_session()>>>client=session.create_client('ec2')>>>print(client.describe_instances())Getting HelpWe use GitHub issues for tracking bugs and feature requests and have limited
bandwidth to address them. Please use these community resources for getting
help. Please note many of the same resources available forboto3are
applicable forbotocore:Ask a question onStack Overflowand tag it withboto3Open a support ticket withAWS SupportIf it turns out that you may have found a bug, pleaseopen an issueContributingWe value feedback and contributions from our community. Whether it’s a bug report, new feature, correction, or additional documentation, we welcome your issues and pull requests. Please read through thisCONTRIBUTINGdocument before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your contribution.Maintenance and Support for SDK Major VersionsBotocore was made generally available on 06/22/2015 and is currently in the full support phase of the availability life cycle.For information about maintenance and support for SDK major versions and their underlying dependencies, see the following in the AWS SDKs and Tools Reference Guide:AWS SDKs and Tools Maintenance PolicyAWS SDKs and Tools Version Support MatrixMore ResourcesNOTICEChangelogLicense
Package: botocore-a-la-carte
botocore-a-la-cartebotocore-a-la-carteis a re-packaging ofbotocoresuch that each service’s data JSON exists in a
separate package, and are opted-into through package extras.The packagebotocore-a-la-cartecontains the base code/resources forbotocoreto operate, and has
a package extra per service (referencing a package which contains just the JSON data for that service).Installation and Usage⚠️ The package extras must be installed in the same directory as this package (such as in a virtual environment).
This package does not support being installed in separate locations pointed to bysys.path.
This is a limitation of the corebotocorepackage and the Python packaging ecosystem. ⚠️Example:botocore-a-la-cartewith no extras allows you to use corebotocorefunctionality
(e.g. load credentials, sign requests, etc…).$pipinstallbotocore-a-la-carte...$python>>> import botocore
...If you require specific service support, specify the service names as an extras:$pipinstallbotocore-a-la-carte[s3,ec2]...$python>>> import botocore.session
>>> session = botocore.session.get_session()
>>> client = session.create_client('ec2')
>>> print(client.describe_instances())
Package: botocore-meiqia
A low-level interface to a growing number of Amazon Web Services. The
botocore package is the foundation for theAWS CLIas well asboto3.DocumentationDocumentation forbotocorecan be found onRead the Docs.Getting HelpWe use GitHub issues for tracking bugs and feature requests and have limited
bandwidth to address them. Please use these community resources for getting
help. Please note many of the same resources available forboto3are
applicable forbotocore:Ask a question onStack Overflowand tag it withboto3Come join the AWS Python community chat ongitterOpen a support ticket withAWS SupportIf it turns out that you may have found a bug, pleaseopen an issue
Package: botocore_paste
Utility forbotocore.session.get_session()Installfrom PyPI:pip install botocore_pastefrom source:$ pip install -e .How to useIf you usepyramid:import botocore_paste

def main(global_config, **settings):
    boto_session = botocore_paste.session_from_config(settings)
    config = Configurator(settings=settings)

    # Some your configuration

    return config.make_wsgi_app()Configuration KeysSeebotocore.session.Session’s Documents.Example ini-file:botocore.profile =
botocore.region =
botocore.data_path =
botocore.config_file = ~/.aws/config
botocore.ca_bunfle =
botocore.credentials_file = ~/.aws/credentials
botocore.metadata_service_timeout = 1
botocore.metadata_service_num_attempts = 1All keys are not mandatory.
If you don’t write any keys,botocore.session.Sessioninstances are
created bydefault.Change History0.2 - 2016-04-04botocore>=1.00.1.1 - 2015-04-01typo0.1 - 2015-04-01Initial release.
Package: botocore-stubs
botocore-stubsType annotations and code completion forbotocorepackage.
This package is a part ofmypy_boto3_builderproject.botocore-stubsInstallationUsageVersioningSupport and contributingInstallationpython-mpipinstallbotocore-stubsUsageUsemypyorpyrightfor type checking.Versioningbotocore-stubsversion is the same as relatedbotocoreversion and followsPEP 440format.Support and contributingPlease reports any bugs or request new features inbotocore-stubsrepository.
Package: botocore-tornado
This module provides subclasses ofbotocoreclasses that use the tornado AsyncHTTPClient to make requests. As far as
possible, the api is kept the same as the botocore api, the only difference is
that Operation.call returns a Future that is resolved when the http request is
complete.Installationpipinstallbotocore-tornadoExampleUploading a file to S3:importbotocore.sessionsession=botocore.session.get_session()s3=session.get_service('s3')endpoint=s3.get_endpoint(region)fp=open('./testfile.txt','rb')operation=s3.get_operation('PutObject')http_response,response_data=operation.call(endpoint,bucket=bucket,key=key+'/'+filename,body=fp)Using botocore-tornado:fromtornado.ioloopimportIOLoopfromtornadoimportgenimportbotocore_tornado.session@gen.coroutinedefmain_async():session=botocore_tornado.session.get_session()s3=session.get_service('s3')endpoint=s3.get_endpoint(region)fp=open('./testfile.txt','rb')operation=s3.get_operation('PutObject')http_response,response_data=yieldoperation.call(endpoint,bucket=bucket,key=key+'/'+filename,body=fp)printresponse_dataIOLoop.instance().run_sync(main_async)
Package: botocore-types
botocore-typesType stubs forbotocore.For boto3 stubs checkoutmypy_boto3_builder.devs/lintpublish new versionincrement version inpyproject.tomlupdateCHANGELOG.mdpublish to pypipoetry publish --buildgenerating stubsstubgendelete thedocsfolder as that's internalreplace vendored imports with normal package imports. Don't want to have
to typerequestswhen types for it already exist intypeshed.
Package: botocraft
botocraftDocumentation:https://botocraft.readthedocs.orgboto3is a wonderful library for interacting
with AWS resources, but it can be hard to use because there is little
standardization across services.botocraftaims to be an opinionated interface to selected AWS resources that
at least provides a CRUDL interface to the resources it supports.Installationbotocraftsupports Python 3.7+.To install from PyPI:pipinstallbotocraftSupported services
Package: botocredspath
botcredspathbecause Boto3 should allow you to set the path to your~/.awsfile without envars, but it doesn’t (at least not that I can tell).usageimportboto3_creds_pathasbcpimportboto3boto3=bcp.update_path(boto3,'/absolute/path/to/files')## this replaces /.awsclient=boto3.client('s3')# now use boto3 like normal reading from the new path
Package: botodesu
ボットです(Bo-to Desu!)！=======================An automatically expanding Telegram bot API that supports the latest Telegram features.Documentation-------------The documentation of Botodesu is on `Read the docs <https://botodesu.readthedocs.io>`_.Example-------An Echo Bot:.. code-block:: pythonasync with botodesu.Boto("YOUR_API_KEY") as boto:async for update in boto:if "message" not in update.keys():continuemessage = update.messageif "text" not in message.keys():continuetext = message.textawait boto.send_message(chat_id=message.chat.id,text="You said: \"{}\".".format(text),reply_to_message_id=message.message_id)Prerequisites-------------- `python_version>=3.5.2`- `aiohttp>=1.2.0`Try it out!-----------.. code-block:: shell$ pip install -U botodesuLicense-------MIT LicenseCopyright (c) 2017 Kaede HoshikawaPermission 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.
Package: botodto
botodtoPydantic model codegen from AWS OpenAPI schemas generated from the AWS JS/TS SDK (v3)Mission statementThe goal of this library is to wrapboto3clients so that all calls to AWS APIs through them
are ingested into, and emit responses as Pydantic models.ImplementationOpenAPI schemas are produced from the AWS Javascript SDK (v2)in the OpenAPI Directorybytheaws2openapitool.These can be used to produce reliable Pydantic data models usingdatamodel-code-generator(to clarify: with minimal? no? manual editing of the result).My implementation will take one of the following routes [TBD]:replaces theaws2openapitool with a Python converter for the v3 SDK (simplest approach, more work?)Theoretically this is the nicest approachIt isn't a good idea to approach this without a proof of concept that the proposed solution is viableamends the OpenAPI schema generated byaws2openapifrom the v2 SDK to include exceptions from the v3 SDKThis could be a neat solutionamends the Pydantic models to include exceptions from the v3 SDK (potentially awkward manual mapping exercise, but least work?)This could be a simple proof of conceptI propose to start with the latter approach, for a single service, end to end, and stub out the other services.
After this is shown to work, automate the process for the other services.ReliabilityI will use a test suite to check the results work for all schemas (there are a lot!)I would like to avoid manual data transfer or generation where possible to make this repeatable,
and not deteriorate after writing.
Package: botoflow
Botoflow is an asynchronous framework forAmazon SWFthat helps you
build SWF applications using Python. You can find the latest, most
up to date, documentation atRead the Docsincluding the “Getting Started Guide”.Under the hood it usesbotocorelow level interface to interact withAmazon SWF.Issue trackerPlease report any bugs or enhancement ideas using our issue tracker:https://github.com/boto/botoflow/issues. Also, feel free to ask any
other project related questions there.DevelopmentGetting StartedAssuming that you have Python andvirtualenvinstalled, set up your
environment and install the required dependencies:$gitclonehttps://github.com/boto/botoflow.git$cdbotoflow$virtualenvvenv...$.venv/bin/activate$pipinstall-rrequirements.txt$pipinstall-e.Running TestsYou can run tests in all supported Python versions usingtox. By default,
it will run all of the unit tests, but you can also specify your ownpytestoptions. Note that this requires that you have all supported
versions of Python installed, otherwise you must pass-eor run thepytestcommand directly:$tox$toxtest/unit/test_workflow_time.py$tox-epy27,py34test/integrationYou can also run individual tests with your default Python version:$py.test-vtest/unitGenerating DocumentationSphinx is used for documentation. You can generate HTML locally with the
following:$pipinstall-rrequirements-docs.txt$cddocs$makehtml
Package: botogram
botogram is a Python framework, which allows you to focus just on
creating yourTelegram bots, without worrying about the underlying
Bots API.While most of the libraries for Telegram out there just wrap the Bots
API, botogram focuses heavily on the development experience, aiming to
provide you the best API possible. Most of the Telegram implementation
details are managed by botogram, so you can just focus on your bot.import botogram
bot = botogram.create("API-KEY")

@bot.command("hello")
def hello_command(chat, message, args):
    """Say hello to the world!"""
    chat.send("Hello world")

if __name__ == "__main__":
    bot.run()Want to get started?Go to the documentation
Package: botogram2
botogram is a Python framework, which allows you to focus just on
creating yourTelegram bots, without worrying about the underlying
Bots API.While most of the libraries for Telegram out there just wrap the Bots
API, botogram focuses heavily on the development experience, aiming to
provide you the best API possible. Most of the Telegram implementation
details are managed by botogram, so you can just focus on your bot.import botogram
bot = botogram.create("API-KEY")

@bot.command("hello")
def hello_command(chat, message, args):
    """Say hello to the world!"""
    chat.send("Hello world")

if __name__ == "__main__":
    bot.run()Want to get started?Go to the documentation
Package: botogram-beta
botogram is a Python framework, which allows you to focus just on
creating yourTelegram bots, without worrying about the underlying
Bots API.While most of the libraries for Telegram out there just wrap the Bots
API, botogram focuses heavily on the development experience, aiming to
provide you the best API possible. Most of the Telegram implementation
details are managed by botogram, so you can just focus on your bot.import botogram
bot = botogram.create("API-KEY")

@bot.command("hello")
def hello_command(chat, message, args):
    """Say hello to the world!"""
    chat.send("Hello world")

if __name__ == "__main__":
    bot.run()Want to get started?Go to the documentation
Package: botol2
FOLLOW ME ONYOUTUBE: ([SUBSCRIBE NOW](https://www.youtube.com/MasterTrick1)).WEBSITE:  ([VISIT NOW](https://www.mastertrick.design)).FACEBOOK GROUP:  ([JOIN NOW](https://www.facebook.com/groups/231747098048450)).TELEGRAM:  ([JOIN CHANNEL](https://t.me/mastertrick2)).FACEBOOK PAGE: ([OUR PAGE](https://www.facebook.com/TeamVVirus)).INSTAGRAM:  ([FOLLOW ME](https://www.instagram.com/MehtanOfficial)).GITHUB:  ([HACKING TOOLS](https://www.github.com/BotolMehedi)).### WarningThis tool is only for educational purpose. If you use this tool for other purposes except education we will not be responsible in such cases.BOTOL2V1.0 (18/07/2020)FINAL RELEASE
Package: botol4
FOLLOW ME ONYOUTUBE: ([SUBSCRIBE NOW](https://www.youtube.com/MasterTrick1)).WEBSITE:  ([VISIT NOW](https://www.mastertrick.design)).FACEBOOK GROUP:  ([JOIN NOW](https://www.facebook.com/groups/231747098048450)).TELEGRAM:  ([JOIN CHANNEL](https://t.me/mastertrick2)).FACEBOOK PAGE: ([OUR PAGE](https://www.facebook.com/TeamVVirus)).INSTAGRAM:  ([FOLLOW ME](https://www.instagram.com/MehtanOfficial)).GITHUB:  ([HACKING TOOLS](https://www.github.com/BotolMehedi)).### WarningThis tool is only for educational purpose. If you use this tool for other purposes except education we will not be responsible in such cases.BOTOL4V1.0 (18/07/2020)FINAL RELEASE
Package: botol6
FOLLOW ME ONYOUTUBE: ([SUBSCRIBE NOW](https://www.youtube.com/MasterTrick1)).WEBSITE:  ([VISIT NOW](https://www.mastertrick.design)).FACEBOOK GROUP:  ([JOIN NOW](https://www.facebook.com/groups/231747098048450)).TELEGRAM:  ([JOIN CHANNEL](https://t.me/mastertrick2)).FACEBOOK PAGE: ([OUR PAGE](https://www.facebook.com/TeamVVirus)).INSTAGRAM:  ([FOLLOW ME](https://www.instagram.com/MehtanOfficial)).GITHUB:  ([HACKING TOOLS](https://www.github.com/BotolMehedi)).### WarningThis tool is only for educational purpose. If you use this tool for other purposes except education we will not be responsible in such cases.BOTOL6V1.0 (18/07/2020)FINAL RELEASE
Package: botoless
Copyright (c) 2020 Beau CroninPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, 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 THE
SOFTWARE.
Description: A smaller view of boto3 intended for serverless application development
Platform: UNKNOWN
Description-Content-Type: text/markdown