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
Built Distribution
File details
Details for the file drb-driver-s3-1.3.2.tar.gz
.
File metadata
- Download URL: drb-driver-s3-1.3.2.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/6.8.0 pkginfo/1.9.6 requests/2.27.1 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a632e2ab384d4856cf24838ab41e5b4fb94dc241d1da4352c601f72b7ea3c4fb |
|
MD5 | 7794eb16d0b53a1fd760491d59a67779 |
|
BLAKE2b-256 | 4895516394a2d5a53f1e7c900f8852859e4f1455a06ed4fa664d82da3dbd9e12 |
File details
Details for the file drb_driver_s3-1.3.2-py3-none-any.whl
.
File metadata
- Download URL: drb_driver_s3-1.3.2-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/6.8.0 pkginfo/1.9.6 requests/2.27.1 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe68bb1bbdf37af44f85cd64dc92ee1a6e28045c030a526fc441c2838ae9c093 |
|
MD5 | b66edc415c6e8786203473558b573f78 |
|
BLAKE2b-256 | 232fdc6fb1949ecd213c2bf338a839d9451786f8a0259293b03df5d597314e71 |