Skip to main content

Making your life easier on doing simple tasks in AWS via boto3

Project description


cloudgeass-animated-intro

PyPI PyPI - Downloads PyPI - Status GitHub Last Commit

CI workflow Documentation Status codecov

Note Now cloudgeass has an official documentation page on readthedocs! possui uma documentação oficial no readthedocs! Check it out to get access to the latest features!

Quickstart

To start using the package, just install it using pip (or any other Python dependency management of your choose) as:

pip install cloudgeass

You may want to install cloudgeass in a Python virtual environment to get a good control of your project or application dependencies. If you don't know what this is about, feel free to take a look at this excellent article from Real Python.

Modules

Getting straight to the point, each cloudgeass module represents an AWS service that contains at least one class and a bunch of methods built from both boto's source client and resource for that service.

In other words, some modules that you can find here are:

  • cloudgeass.aws.s3 for working with S3 service
  • cloudgeass.aws.ec2 for working with EC2 service
  • cloudgeass.aws.secrets for working with Secrets Manager service
  • and some others

Classes

Each one of the aforementioned modules have at least one class that can be imported on user's application in order to provide access to all features for that given AWS service. So, we have:

  • cloudgeass.aws.s3.S3Client class with methods to operate with S3 service
  • cloudgeass.aws.ec2.EC2Client class with methods to operate with EC2 service
  • cloudgeass.aws.secrets.SecretsManagerClient class with methods to operate with Secrets Manager service
  • and some others

Attributes

All cloudgeass' service classes are initialized with a set of predefined attributes to make the work easier. Those basic attributes are:

Service class attribute Description
self.logger A preconfigured logger object to build and stream informative log messages
self.client A boto3 client for the given service
self.resource A boto3 resource for the given service

The attributes can be externally accessed for all class instances created on an application. This means users can build an application using both cloudgeass and source boto3 code.

Methods

Finally, each service class has its own set of methods that, in fact, enables the power of using cloudgeass to do simple tasks in an AWS environment. To mention some of them, we have:


Contact me


References

Python

Docs

Github

Tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudgeass-2.0.1.tar.gz (24.1 kB view hashes)

Uploaded Source

Built Distribution

cloudgeass-2.0.1-py3-none-any.whl (27.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page