Skip to main content

DRB aws3 driver

Project description

Amazon simple storage service driver

This drb-driver-s3 module implements S3 protocol access with DRB data model.

S3 Factory and S3 Node

The module implements the factory model defined in DRB in its node resolver. Based on the python entry point mechanism, this module can be dynamically imported into applications.

The entry point group reference is drb.drivers.aws3.
The driver name is aws3.
The factory class is encoded into drb.driver.aws3.
The S3 signature id is 4ab73f92-bbff-11ec-8422-0242ac120002.

Using this module

The project is present in https://www.pypi.org service. it can be freely loaded into projects with the following command line:

pip install drb-driver-aws3

Access Data

DrbS3Node manages the s3 protocol to access remote data. The construction parameter is an authentication object.

from drb.drivers.aws3 import DrbS3Service, Auth
from botocore.config import Config

auth = Auth(service_name='s3',
            endpoint_url='http://your_s3_storage/',
            aws_access_key_id='user',
            aws_secret_access_key='password',
            config=Config(signature_version='s3v4'),
            region_name='us-east-1')
node = DrbS3Service(auth)

When accessing a DrbS3Service the node gives access to all the bucket of this service by giving a list of DrbS3Bucket, and then each node gives a list of DrbS3Object for each object in the bucket.

Limitations

This driver doesn't allow to write, modify, delete file on a s3 bucket, or it doesn't allow to delete or upload a file. This driver doesn't allow to download directly a bucket.

Documentation

The documentation of this implementation can be found here https://drb-python.gitlab.io/impl/aws3

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

drb_driver_s3-1.3.6.tar.gz (35.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drb_driver_s3-1.3.6-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file drb_driver_s3-1.3.6.tar.gz.

File metadata

  • Download URL: drb_driver_s3-1.3.6.tar.gz
  • Upload date:
  • Size: 35.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/8.5.0 pkginfo/1.12.1.2 requests/2.27.1 requests-toolbelt/1.0.0 tqdm/4.68.3 CPython/3.8.20

File hashes

Hashes for drb_driver_s3-1.3.6.tar.gz
Algorithm Hash digest
SHA256 373b4d37ada8803e500e67cd9a9d223fb5ea1d0b7a593ecae92867d24a6b6f35
MD5 a960b8ff892d37a0c385afcef99886fc
BLAKE2b-256 97b02a200dac469d518669ef94c04f7d1b74916615eaa70d1f23c6ccd2fd48b9

See more details on using hashes here.

File details

Details for the file drb_driver_s3-1.3.6-py3-none-any.whl.

File metadata

  • Download URL: drb_driver_s3-1.3.6-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/8.5.0 pkginfo/1.12.1.2 requests/2.27.1 requests-toolbelt/1.0.0 tqdm/4.68.3 CPython/3.8.20

File hashes

Hashes for drb_driver_s3-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0a785b54478c3bc63cf114be44dfd93200f8739b6b17f676fa3ffe623eef36a3
MD5 950df3826e3aa80b9db0a4ad17c84ca0
BLAKE2b-256 a7357e8f80c6e1009133c51e5919baf8dd3d8d0e99e1b2385894a05759fb7ca5

See more details on using hashes here.

Supported by

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