Swift Implementation
This drb-impl-swift module implements Swift protocol access with DRB data model.
Swift Factory and Swift 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 swift.
The factory class is encoded into drb_impl_swift.swift_node_factory.
The Swift signature id is 86289118-7797-11ec-90d6-0242ac120003
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-swift
Access Data
DrbSwiftNode manages the swift protocol to access remote data. The construction
parameter is an authentication object.
from drb_impl_swift import SwiftService, SwiftAuth
_os_options = {
'user_domain_name': 'Default',
'project_domain_name': 'Default',
'project_name': 'project_name',
'project_id': 'project_id',
'tenant_name': 'tenant_name',
'tenant_id': 'tenant_id',
'region_name': 'region_name'
}
auth = SwiftAuth(authurl="https://your_auth_url/v3",
auth_version=3, tenant_name="tenant_name",
user="user",
key='password', os_options=_os_options)
node = SwiftService(auth=auth)
When accessing a SwiftService the node gives access to all the container of this service by giving a list of ContainerNode, and then each container gives a list of ObjectNode for each object in the container.
Limitations
This implementation doesn't allow to write, modify, delete file on a swift container, or it doesn't allow to delete or upload a file. This implementation doesn't allow to download directly an all container.
Documentation
The documentation of this implementation can be found here https://drb-python.gitlab.io/impl/swift
Metadata
Release files for drb-impl-swift 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| drb-impl-swift-1.0.1.tar.gz | 24.6 kB | Without provenance | Details for drb-impl-swift-1.0.1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| drb_impl_swift-1.0.1-py3.8.egg | Legacy Egg format | - | - | Details for drb_impl_swift-1.0.1-py3.8.egg |
| drb_impl_swift-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for drb_impl_swift-1.0.1-py3-none-any.whl |
Total release size: 48.5 kB
Release files / drb-impl-swift-1.0.1.tar.gz
| Download URL | drb-impl-swift-1.0.1.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
376ef4b3fe18f4c4b7f251177efc7149dc430e31a65e02e5575431159ee27e27
|
|
BLAKE2b-256 checksum How to use checksums |
9227a7ccf28efbeed979d25861248c22e1280c864d2d39f270eff80f93ca1c26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.11.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / drb_impl_swift-1.0.1-py3.8.egg
| Download URL | drb_impl_swift-1.0.1-py3.8.egg |
|---|---|
| Size | 15.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b6bd4261dcf59d020292e20600d1601bb6888caac2dcee72b33d325a37925bf2
|
|
BLAKE2b-256 checksum How to use checksums |
31c7b5b92f1bf106f4215cf96a4805f34e0fac14c101a5482d94639b040a40a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.11.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / drb_impl_swift-1.0.1-py3-none-any.whl
| Download URL | drb_impl_swift-1.0.1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a46bcfa9ec9291e7551fb838f3e87e435c6bfc2881b1b8bd5e0f8493dcf6a1f5
|
|
BLAKE2b-256 checksum How to use checksums |
5c2d91ebec7b37b615aa6d3934939e968056a7bd04ed67a1e3819bdc27da7ac3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.11.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Security for drb-impl-swift 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.