Skip to main content

Project description

version version version

Custom package for AWS Services

My custom awsservice on PYPI

SETUPTOOLS docs

Getting Started

Assuming that you have a supported version of Python installed, you can first set up your environment with:

$ python -m venv .venv
...
$ . .venv/bin/activate

Then, you can install aws-service from PyPI with:

$ python -m pip install awsservice

or install from S3 source with: url

Using AWS-service

After installing the package:

Set up credentials (in e.g. ~/.aws/credentials):

  • aws_access_key_id = YOUR_KEY
  • aws_secret_access_key = YOUR_SECRET
  • region=us-east-1

Other credentials configuration method can be found here

Then, from a Python interpreter you can import it and use its classes and functions::

>>> from awsservice.ec2_service import Ec2Service
>>> from awsservice.s3_service import S3Service
>>> from awsservice.cloudwatch_service import CloudwatchService
>>> my_s3 = S3Service()
>>> my_s3.create_new_bucket(bucket_name='my_new_bucket', region='eu-west-2')
>>> my_s3.put_file( file_name='file_1', bucket='my_new_bucket', object_name='custom-name')

Availible modules:

Class S3Service (module s3_service)

Functionality (availible methods):

Class Ec2Service (module ec2_service)

Functionality (availible methods):

Class CloudwatchService (module cloudwatch_service)

Functionality (availible methods):

Metadata

Release files for awsservice 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awsservice 0.0.7
File Size Uploaded
awsservice-0.0.7.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awsservice 0.0.7
File Interpreter ABI Platform
awsservice-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 13.7 kB

Release files / awsservice-0.0.7.tar.gz

Download URL awsservice-0.0.7.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
57ed5bd48a3470a57552538ccbe5967633df87139e4fd9674ad348da3cb74eba
BLAKE2b-256 checksum
How to use checksums
4378281716b6d76b5bd8f00d9471caa54b60f97a48b193b37825bc0d4907fd50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / awsservice-0.0.7-py3-none-any.whl

Download URL awsservice-0.0.7-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a05fee801c5569a6a4708b14d936b2ff608d1f5ee19cb54a3b8de4f4127a97da
BLAKE2b-256 checksum
How to use checksums
6ea3df616848931cac53983c837836021f4b1a2a611f7ef38a6ab1c86a9bed00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page