Skip to main content

DRB aws3 implementation

Project description

amazon simple storage service

This drb-impl-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.impl.
The implementation name is aws3.
The factory class is encoded into drb_impl_s3.s3_node_factory.
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-impl-s3

Access Data

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

from drb_impl_s3 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 implementation doesn't allow to write, modify, delete file on a s3 bucket, or it doesn't allow to delete or upload a file. This implementation 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-impl-s3-1.0.0.tar.gz (24.9 kB view details)

Uploaded Source

Built Distributions

drb_impl_s3-1.0.0-py3.8.egg (16.2 kB view details)

Uploaded Source

drb_impl_s3-1.0.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file drb-impl-s3-1.0.0.tar.gz.

File metadata

  • Download URL: drb-impl-s3-1.0.0.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.11.4 pkginfo/1.8.3 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.13

File hashes

Hashes for drb-impl-s3-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e5d7388dbbc587b399caf2f68781f83bdbbe9addf85062d4b370c09eb26ba1b7
MD5 7a589bea07ebfbb1e302cb3554eeee44
BLAKE2b-256 3fc8040d8157803a86ddd9746f41067f5ada15c39b3bacefadfc4cc150826145

See more details on using hashes here.

File details

Details for the file drb_impl_s3-1.0.0-py3.8.egg.

File metadata

  • Download URL: drb_impl_s3-1.0.0-py3.8.egg
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.11.4 pkginfo/1.8.3 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.13

File hashes

Hashes for drb_impl_s3-1.0.0-py3.8.egg
Algorithm Hash digest
SHA256 8cbd70f21c2dd49c9fcd110c60f6346e34c0c6e73410af6838e70536d15bfdbf
MD5 995d15e1b7f04faf92bb9308fd82e8a2
BLAKE2b-256 b306637619ce58cb34d6066e23142daed42b465c691e57db12dc157d33bae8d5

See more details on using hashes here.

File details

Details for the file drb_impl_s3-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: drb_impl_s3-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.11.4 pkginfo/1.8.3 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.13

File hashes

Hashes for drb_impl_s3-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6b2eaf5ebf3ca34aa52317f1b57e47225360e9e181153fbaf9d4871139d130f
MD5 4204fa0ac5d430f2599e611893a2582d
BLAKE2b-256 43a3cc52c12f25186b4d6a28ddb9d00353f0b300a104b4d96a0609b2ee45ba80

See more details on using hashes here.

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