libcloud.storage package¶
Subpackages¶
- libcloud.storage.drivers package
- Submodules
- libcloud.storage.drivers.atmos module
AtmosConnection
AtmosDriver
AtmosDriver.DEFAULT_CDN_TTL
AtmosDriver.api_name
AtmosDriver.connectionCls
AtmosDriver.create_container()
AtmosDriver.delete_container()
AtmosDriver.delete_object()
AtmosDriver.download_object()
AtmosDriver.download_object_as_stream()
AtmosDriver.enable_object_cdn()
AtmosDriver.get_container()
AtmosDriver.get_object()
AtmosDriver.get_object_cdn_url()
AtmosDriver.host
AtmosDriver.iterate_container_objects()
AtmosDriver.iterate_containers()
AtmosDriver.name
AtmosDriver.path
AtmosDriver.supports_chunked_encoding
AtmosDriver.upload_object()
AtmosDriver.upload_object_via_stream()
AtmosDriver.website
AtmosError
AtmosResponse
collapse()
- libcloud.storage.drivers.auroraobjects module
- libcloud.storage.drivers.azure_blobs module
AuthType
AzureBlobLease
AzureBlobsActiveDirectoryConnection
AzureBlobsConnection
AzureBlobsStorageDriver
AzureBlobsStorageDriver.connectionCls
AzureBlobsStorageDriver.create_container()
AzureBlobsStorageDriver.delete_container()
AzureBlobsStorageDriver.delete_object()
AzureBlobsStorageDriver.download_object()
AzureBlobsStorageDriver.download_object_as_stream()
AzureBlobsStorageDriver.download_object_range()
AzureBlobsStorageDriver.download_object_range_as_stream()
AzureBlobsStorageDriver.ex_set_object_metadata()
AzureBlobsStorageDriver.get_container()
AzureBlobsStorageDriver.get_object()
AzureBlobsStorageDriver.get_object_cdn_url()
AzureBlobsStorageDriver.hash_type
AzureBlobsStorageDriver.iterate_container_objects()
AzureBlobsStorageDriver.iterate_containers()
AzureBlobsStorageDriver.name
AzureBlobsStorageDriver.supports_chunked_encoding
AzureBlobsStorageDriver.upload_object()
AzureBlobsStorageDriver.upload_object_via_stream()
AzureBlobsStorageDriver.website
- libcloud.storage.drivers.backblaze_b2 module
BackblazeB2AuthConnection
BackblazeB2Connection
BackblazeB2StorageDriver
BackblazeB2StorageDriver.connectionCls
BackblazeB2StorageDriver.create_container()
BackblazeB2StorageDriver.delete_container()
BackblazeB2StorageDriver.delete_object()
BackblazeB2StorageDriver.download_object()
BackblazeB2StorageDriver.download_object_as_stream()
BackblazeB2StorageDriver.ex_get_object()
BackblazeB2StorageDriver.ex_get_upload_data()
BackblazeB2StorageDriver.ex_get_upload_url()
BackblazeB2StorageDriver.ex_hide_object()
BackblazeB2StorageDriver.ex_list_object_versions()
BackblazeB2StorageDriver.get_container()
BackblazeB2StorageDriver.get_object()
BackblazeB2StorageDriver.hash_type
BackblazeB2StorageDriver.iterate_container_objects()
BackblazeB2StorageDriver.iterate_containers()
BackblazeB2StorageDriver.name
BackblazeB2StorageDriver.supports_chunked_encoding
BackblazeB2StorageDriver.type
BackblazeB2StorageDriver.upload_object()
BackblazeB2StorageDriver.upload_object_via_stream()
BackblazeB2StorageDriver.website
- libcloud.storage.drivers.cloudfiles module
ChunkStreamReader
CloudFilesConnection
CloudFilesRawResponse
CloudFilesResponse
CloudFilesStorageDriver
CloudFilesStorageDriver.connectionCls
CloudFilesStorageDriver.create_container()
CloudFilesStorageDriver.delete_container()
CloudFilesStorageDriver.delete_object()
CloudFilesStorageDriver.download_object()
CloudFilesStorageDriver.download_object_as_stream()
CloudFilesStorageDriver.download_object_range()
CloudFilesStorageDriver.download_object_range_as_stream()
CloudFilesStorageDriver.enable_container_cdn()
CloudFilesStorageDriver.ex_enable_static_website()
CloudFilesStorageDriver.ex_get_meta_data()
CloudFilesStorageDriver.ex_get_object_temp_url()
CloudFilesStorageDriver.ex_multipart_upload_object()
CloudFilesStorageDriver.ex_purge_object_from_cdn()
CloudFilesStorageDriver.ex_set_account_metadata_temp_url_key()
CloudFilesStorageDriver.ex_set_error_page()
CloudFilesStorageDriver.get_container()
CloudFilesStorageDriver.get_container_cdn_url()
CloudFilesStorageDriver.get_object()
CloudFilesStorageDriver.get_object_cdn_url()
CloudFilesStorageDriver.hash_type
CloudFilesStorageDriver.iterate_container_objects()
CloudFilesStorageDriver.iterate_containers()
CloudFilesStorageDriver.list_regions()
CloudFilesStorageDriver.name
CloudFilesStorageDriver.supports_chunked_encoding
CloudFilesStorageDriver.upload_object()
CloudFilesStorageDriver.upload_object_via_stream()
CloudFilesStorageDriver.website
FileChunkReader
OpenStackSwiftConnection
OpenStackSwiftStorageDriver
- libcloud.storage.drivers.digitalocean_spaces module
- libcloud.storage.drivers.dummy module
DummyFileObject
DummyIterator
DummyStorageDriver
DummyStorageDriver.create_container()
DummyStorageDriver.delete_container()
DummyStorageDriver.delete_object()
DummyStorageDriver.download_object()
DummyStorageDriver.download_object_as_stream()
DummyStorageDriver.get_container()
DummyStorageDriver.get_container_cdn_url()
DummyStorageDriver.get_meta_data()
DummyStorageDriver.get_object()
DummyStorageDriver.get_object_cdn_url()
DummyStorageDriver.iterate_container_objects()
DummyStorageDriver.iterate_containers()
DummyStorageDriver.name
DummyStorageDriver.upload_object()
DummyStorageDriver.upload_object_via_stream()
DummyStorageDriver.website
- libcloud.storage.drivers.google_storage module
ContainerPermissions
GCSResponse
GoogleStorageConnection
GoogleStorageDriver
GoogleStorageDriver.connectionCls
GoogleStorageDriver.ex_delete_permissions()
GoogleStorageDriver.ex_get_permissions()
GoogleStorageDriver.ex_set_permissions()
GoogleStorageDriver.hash_type
GoogleStorageDriver.http_vendor_prefix
GoogleStorageDriver.jsonConnectionCls
GoogleStorageDriver.name
GoogleStorageDriver.namespace
GoogleStorageDriver.supports_chunked_encoding
GoogleStorageDriver.supports_s3_multipart_upload
GoogleStorageDriver.website
GoogleStorageJSONConnection
ObjectPermissions
- libcloud.storage.drivers.ktucloud module
- libcloud.storage.drivers.local module
- libcloud.storage.drivers.minio module
- libcloud.storage.drivers.nimbus module
- libcloud.storage.drivers.ninefold module
- libcloud.storage.drivers.oss module
OSSMultipartUpload
OSSStorageDriver
OSSStorageDriver.connectionCls
OSSStorageDriver.create_container()
OSSStorageDriver.delete_container()
OSSStorageDriver.delete_object()
OSSStorageDriver.download_object()
OSSStorageDriver.download_object_as_stream()
OSSStorageDriver.ex_abort_all_multipart_uploads()
OSSStorageDriver.ex_iterate_multipart_uploads()
OSSStorageDriver.get_container()
OSSStorageDriver.get_object()
OSSStorageDriver.hash_type
OSSStorageDriver.http_vendor_prefix
OSSStorageDriver.iterate_container_objects()
OSSStorageDriver.iterate_containers()
OSSStorageDriver.name
OSSStorageDriver.namespace
OSSStorageDriver.supports_chunked_encoding
OSSStorageDriver.supports_multipart_upload
OSSStorageDriver.upload_object()
OSSStorageDriver.upload_object_via_stream()
OSSStorageDriver.website
- libcloud.storage.drivers.ovh module
- libcloud.storage.drivers.rgw module
- libcloud.storage.drivers.s3 module
BaseS3Connection
BaseS3StorageDriver
BaseS3StorageDriver.connectionCls
BaseS3StorageDriver.create_container()
BaseS3StorageDriver.delete_container()
BaseS3StorageDriver.delete_object()
BaseS3StorageDriver.download_object()
BaseS3StorageDriver.download_object_as_stream()
BaseS3StorageDriver.download_object_range()
BaseS3StorageDriver.download_object_range_as_stream()
BaseS3StorageDriver.ex_cleanup_all_multipart_uploads()
BaseS3StorageDriver.ex_iterate_multipart_uploads()
BaseS3StorageDriver.ex_location_name
BaseS3StorageDriver.get_container()
BaseS3StorageDriver.get_object()
BaseS3StorageDriver.hash_type
BaseS3StorageDriver.http_vendor_prefix
BaseS3StorageDriver.iterate_container_objects()
BaseS3StorageDriver.iterate_containers()
BaseS3StorageDriver.name
BaseS3StorageDriver.namespace
BaseS3StorageDriver.supports_chunked_encoding
BaseS3StorageDriver.supports_s3_multipart_upload
BaseS3StorageDriver.upload_object()
BaseS3StorageDriver.upload_object_via_stream()
BaseS3StorageDriver.website
S3APNE1Connection
S3APNE1StorageDriver
S3APNE2Connection
S3APNE2StorageDriver
S3APNEConnection
S3APNEStorageDriver
S3APSE2Connection
S3APSE2StorageDriver
S3APSEConnection
S3APSEStorageDriver
S3APSouthConnection
S3APSouthStorageDriver
S3CACentralConnection
S3CACentralStorageDriver
S3CNNorthConnection
S3CNNorthStorageDriver
S3CNNorthWestConnection
S3CNNorthWestStorageDriver
S3Connection
S3EUCentralConnection
S3EUCentralStorageDriver
S3EUNorth1Connection
S3EUNorth1StorageDriver
S3EUWest2Connection
S3EUWest2StorageDriver
S3EUWestConnection
S3EUWestStorageDriver
S3MultipartUpload
S3RawResponse
S3Response
S3SAEastConnection
S3SAEastStorageDriver
S3SignatureV4Connection
S3StorageDriver
S3USEast2Connection
S3USEast2StorageDriver
S3USGovEastConnection
S3USGovEastStorageDriver
S3USGovWestConnection
S3USGovWestStorageDriver
S3USWestConnection
S3USWestOregonConnection
S3USWestOregonStorageDriver
S3USWestStorageDriver
- libcloud.storage.drivers.scaleway module
- Module contents
Submodules¶
libcloud.storage.base module¶
Provides base classes for working with storage
- class libcloud.storage.base.Container(name, extra, driver)[source]¶
Bases:
object
Represents a container (bucket) which can hold multiple objects.
- Parameters:
name (
str
) – Container name (must be unique).extra (
dict
) – Extra attributes.driver (
libcloud.storage.base.StorageDriver
) – StorageDriver instance.
- download_object(obj: Object, destination_path: str, overwrite_existing: bool = False, delete_on_failure: bool = True) bool [source]¶
- download_object_range(obj: Object, destination_path: str, start_bytes: int, end_bytes: int | None = None, overwrite_existing: bool = False, delete_on_failure: bool = True) bool [source]¶
- download_object_range_as_stream(obj: Object, start_bytes: int, end_bytes: int | None = None, chunk_size: int | None = None) Iterator[bytes] [source]¶
- class libcloud.storage.base.Object(name, size, hash, extra, meta_data, container, driver)[source]¶
Bases:
object
Represents an object (BLOB).
- Parameters:
name (
str
) – Object name (must be unique per container).size (
int
) – Object size in bytes.hash (
str
) – Object hash.container (
libcloud.storage.base.Container
) – Object container.extra (
dict
) – Extra attributes.meta_data (
dict
) – Optional object meta data.driver (
libcloud.storage.base.StorageDriver
) – StorageDriver instance.
- download(destination_path: str, overwrite_existing: bool = False, delete_on_failure: bool = True) bool [source]¶
- class libcloud.storage.base.StorageDriver(key, secret=None, secure=True, host=None, port=None, api_version=None, region=None, **kwargs)[source]¶
Bases:
BaseDriver
A base StorageDriver to derive from.
- Parameters:
key (
str
) – API key or username to be used (required)secret (
str
) – Secret password to be used (required)secure (
bool
) – Whether to use HTTPS or HTTP. Note: Some providers only support HTTPS, and it is on by default.host (
str
) – Override hostname used for connections.port (
int
) – Override port used for connections.api_version (
str
) – Optional API version. Only used by drivers which support multiple API versions.region (
str
) – Optional driver region. Only used by drivers which support multiple regions.
- Return type:
None
- connectionCls¶
alias of
ConnectionUserAndKey
- create_container(container_name: str) Container [source]¶
Create a new container.
- Parameters:
container_name (
str
) – Container name.- Returns:
Container instance on success.
- Return type:
- delete_container(container: Container) bool [source]¶
Delete a container.
- Parameters:
container (
libcloud.storage.base.Container
) – Container instance- Returns:
True
on success,False
otherwise.- Return type:
bool
- delete_object(obj: Object) bool [source]¶
Delete an object.
- Parameters:
obj (
libcloud.storage.base.Object
) – Object instance.- Returns:
bool
True on success.- Return type:
bool
- download_object(obj: Object, destination_path: str, overwrite_existing: bool = False, delete_on_failure: bool = True) bool [source]¶
Download an object to the specified destination path.
- Parameters:
obj (
libcloud.storage.base.Object
) – Object instance.destination_path (
str
) – Full path to a file or a directory where the incoming file will be saved.overwrite_existing (
bool
) – True to overwrite an existing file, defaults to False.delete_on_failure (
bool
) – True to delete a partially downloaded file if the download was not successful (hash mismatch / file size).
- Returns:
True if an object has been successfully downloaded, False otherwise.
- Return type:
bool
- download_object_as_stream(obj: Object, chunk_size: int | None = None) Iterator[bytes] [source]¶
Return a iterator which yields object data.
- Parameters:
obj (
libcloud.storage.base.Object
) – Object instancechunk_size (
int
) – Optional chunk size (in bytes).
- Return type:
iterator
ofbytes
- download_object_range(obj: Object, destination_path: str, start_bytes: int, end_bytes: int | None = None, overwrite_existing: bool = False, delete_on_failure: bool = True) bool [source]¶
Download part of an object.
- Parameters:
obj (
libcloud.storage.base.Object
) – Object instance.destination_path (
str
) – Full path to a file or a directory where the incoming file will be saved.start_bytes (
int
) – Start byte offset (inclusive) for the range download. Offset is 0 index based so the first byte in file file is “0”.end_bytes (
int
) – End byte offset (non-inclusive) for the range download. If not provided, it will default to the end of the file.overwrite_existing (
bool
) – True to overwrite an existing file, defaults to False.delete_on_failure (
bool
) – True to delete a partially downloaded file if the download was not successful (hash mismatch / file size).
- Returns:
True if an object has been successfully downloaded, False otherwise.
- Return type:
bool
- download_object_range_as_stream(obj: Object, start_bytes: int, end_bytes: int | None = None, chunk_size: int | None = None) Iterator[bytes] [source]¶
Return a iterator which yields range / part of the object data.
- Parameters:
obj (
libcloud.storage.base.Object
) – Object instancestart_bytes (
int
) – Start byte offset (inclusive) for the range download. Offset is 0 index based so the first byte in file file is “0”.end_bytes (
int
) – End byte offset (non-inclusive) for the range download. If not provided, it will default to the end of the file.chunk_size (
int
) – Optional chunk size (in bytes).
- Return type:
iterator
ofbytes
- enable_container_cdn(container: Container) bool [source]¶
Enable container CDN.
- Parameters:
container (
libcloud.storage.base.Container
) – Container instance- Return type:
bool
- enable_object_cdn(obj: Object) bool [source]¶
Enable object CDN.
- Parameters:
obj (
libcloud.storage.base.Object
) – Object instance- Return type:
bool
- get_container(container_name: str) Container [source]¶
Return a container instance.
- Parameters:
container_name (
str
) – Container name.- Returns:
Container
instance.- Return type:
- get_container_cdn_url(container: Container) str [source]¶
Return a container CDN URL.
- Parameters:
container (
libcloud.storage.base.Container
) – Container instance- Returns:
A CDN URL for this container.
- Return type:
str
- get_object(container_name: str, object_name: str) Object [source]¶
Return an object instance.
- Parameters:
container_name (
str
) – Container name.object_name (
str
) – Object name.
- Returns:
Object
instance.- Return type:
- get_object_cdn_url(obj: Object) str [source]¶
Return an object CDN URL.
- Parameters:
obj (
libcloud.storage.base.Object
) – Object instance- Returns:
A CDN URL for this object.
- Return type:
str
- iterate_container_objects(container: Container, prefix: str | None = None, ex_prefix: str | None = None) Iterator[Object] [source]¶
Return a iterator of objects for the given container.
- Parameters:
container (
libcloud.storage.base.Container
) – Container instanceprefix (
str
) – Filter objects starting with a prefix.ex_prefix (
str
) – (Deprecated.) Filter objects starting with a prefix.
- Returns:
A iterator of Object instances.
- Return type:
iterator
oflibcloud.storage.base.Object
- iterate_containers() Iterator[Container] [source]¶
Return a iterator of containers for the given account
- Returns:
A iterator of Container instances.
- Return type:
iterator
oflibcloud.storage.base.Container
- list_container_objects(container: Container, prefix: str | None = None, ex_prefix: str | None = None) List[Object] [source]¶
Return a list of objects for the given container.
- Parameters:
container (
libcloud.storage.base.Container
) – Container instance.prefix (
str
) – Filter objects starting with a prefix.ex_prefix (
str
) – (Deprecated.) Filter objects starting with a prefix.
- Returns:
A list of Object instances.
- Return type:
list
oflibcloud.storage.base.Object
- list_containers() List[Container] [source]¶
Return a list of containers.
- Returns:
A list of Container instances.
- Return type:
list
ofContainer
- upload_object(file_path: str, container: Container, object_name: str, extra: dict | None = None, verify_hash: bool = True, headers: Dict[str, str] | None = None) Object [source]¶
Upload an object currently located on a disk.
- Parameters:
file_path (
str
) – Path to the object on disk.container (
libcloud.storage.base.Container
) – Destination container.object_name (
str
) – Object name.verify_hash (
bool
) – Verify hashextra (
dict
) – Extra attributes (driver specific). (optional)headers (
dict
) – (optional) Additional request headers, such as CORS headers. For example: headers = {‘Access-Control-Allow-Origin’: ‘http://mozilla.com’}
- Return type:
- upload_object_via_stream(iterator: Iterator[bytes], container: Container, object_name: str, extra: dict | None = None, headers: Dict[str, str] | None = None) Object [source]¶
Upload an object using an iterator.
If a provider supports it, chunked transfer encoding is used and you don’t need to know in advance the amount of data to be uploaded.
Otherwise if a provider doesn’t support it, iterator will be exhausted so a total size for data to be uploaded can be determined.
Note: Exhausting the iterator means that the whole data must be buffered in memory which might result in memory exhausting when uploading a very large object.
If a file is located on a disk you are advised to use upload_object function which uses fs.stat function to determine the file size and it doesn’t need to buffer whole object in the memory.
- Parameters:
iterator (
object
) – An object which implements the iterator interface.container (
libcloud.storage.base.Container
) – Destination container.object_name (
str
) – Object name.extra (
dict
) – (optional) Extra attributes (driver specific). Note: This dictionary must contain a ‘content_type’ key which represents a content type of the stored object.headers (
dict
) – (optional) Additional request headers, such as CORS headers. For example: headers = {‘Access-Control-Allow-Origin’: ‘http://mozilla.com’}
- Return type:
libcloud.storage.base.Object
libcloud.storage.providers module¶
libcloud.storage.types module¶
- exception libcloud.storage.types.ContainerAlreadyExistsError(value, driver, container_name)[source]¶
Bases:
ContainerError
- error_type = 'ContainerAlreadyExistsError'¶
- exception libcloud.storage.types.ContainerDoesNotExistError(value, driver, container_name)[source]¶
Bases:
ContainerError
- error_type = 'ContainerDoesNotExistError'¶
- exception libcloud.storage.types.ContainerError(value, driver, container_name)[source]¶
Bases:
LibcloudError
- error_type = 'ContainerError'¶
- exception libcloud.storage.types.ContainerIsNotEmptyError(value, driver, container_name)[source]¶
Bases:
ContainerError
- error_type = 'ContainerIsNotEmptyError'¶
- exception libcloud.storage.types.InvalidContainerNameError(value, driver, container_name)[source]¶
Bases:
ContainerError
- error_type = 'InvalidContainerNameError'¶
- exception libcloud.storage.types.ObjectDoesNotExistError(value, driver, object_name)[source]¶
Bases:
ObjectError
- error_type = 'ObjectDoesNotExistError'¶
- exception libcloud.storage.types.ObjectError(value, driver, object_name)[source]¶
Bases:
LibcloudError
- error_type = 'ContainerError'¶
- exception libcloud.storage.types.ObjectHashMismatchError(value, driver, object_name)[source]¶
Bases:
ObjectError
- error_type = 'ObjectHashMismatchError'¶
- class libcloud.storage.types.Provider[source]¶
Bases:
object
Defines for each of the supported providers
Non-Dummy drivers are sorted in alphabetical order. Please preserve this ordering when adding new drivers.
- Variables:
DUMMY – Example provider
ALIYUN_OSS – Aliyun OSS storage driver
AURORAOBJECTS – AuroraObjects storage driver
AZURE_BLOBS – Azure Blob Storage driver
BACKBLAZE_B2 – Backblaze B2 Cloud Storage driver
CLOUDFILES – CloudFiles
DIGITALOCEAN_SPACES – Digital Ocean Spaces driver
:cvar GOOGLE_STORAGE Google Storage :cvar KTUCLOUD: KT UCloud Storage driver :cvar LOCAL: Local storage driver :cvar NIMBUS: Nimbus.io driver :cvar NINEFOLD: Ninefold :cvar OPENSTACK_SWIFT: OpenStack Swift driver :cvar S3: Amazon S3 US :cvar S3_AP_NORTHEAST: Amazon S3 Asia North East (Tokyo) :cvar S3_AP_NORTHEAST1: Amazon S3 Asia North East (Tokyo) :cvar S3_AP_NORTHEAST2: Amazon S3 Asia North East (Seoul) :cvar S3_AP_SOUTH: Amazon S3 Asia South (Mumbai) :cvar S3_AP_SOUTHEAST: Amazon S3 Asia South East (Singapore) :cvar S3_AP_SOUTHEAST2: Amazon S3 Asia South East 2 (Sydney) :cvar S3_CA_CENTRAL: Amazon S3 Canada (Central) :cvar S3_CN_NORTH: Amazon S3 CN North (Beijing) :cvar S3_EU_WEST: Amazon S3 EU West (Ireland) :cvar S3_EU_WEST2: Amazon S3 EU West 2 (London) :cvar S3_EU_CENTRAL: Amazon S3 EU Central (Frankfurt) :cvar S3_EU_NORTH1: Amazon S3 EU North 1 (Stockholm) :cvar S3_SA_EAST: Amazon S3 South America East (Sao Paulo) :cvar S3_US_EAST2: Amazon S3 US East 2 (Ohio) :cvar S3_US_WEST: Amazon S3 US West (Northern California) :cvar S3_US_WEST_OREGON: Amazon S3 US West 2 (Oregon) :cvar S3_US_GOV_WEST: Amazon S3 GovCloud (US) :cvar S3_RGW: S3 RGW :cvar S3_RGW_OUTSCALE: OUTSCALE S3 RGW
- ALIYUN_OSS = 'aliyun_oss'¶
- AURORAOBJECTS = 'auroraobjects'¶
- AZURE_BLOBS = 'azure_blobs'¶
- BACKBLAZE_B2 = 'backblaze_b2'¶
- CLOUDFILES = 'cloudfiles'¶
- CLOUDFILES_SWIFT = 'cloudfiles_swift'¶
- CLOUDFILES_UK = 'cloudfiles_uk'¶
- CLOUDFILES_US = 'cloudfiles_us'¶
- DIGITALOCEAN_SPACES = 'digitalocean_spaces'¶
- DUMMY = 'dummy'¶
- GOOGLE_STORAGE = 'google_storage'¶
- KTUCLOUD = 'ktucloud'¶
- LOCAL = 'local'¶
- MINIO = 'minio'¶
- NIMBUS = 'nimbus'¶
- NINEFOLD = 'ninefold'¶
- OPENSTACK_SWIFT = 'openstack_swift'¶
- OVH = 'ovh'¶
- S3 = 's3'¶
- S3_AP_NORTHEAST = 's3_ap_northeast'¶
- S3_AP_NORTHEAST1 = 's3_ap_northeast_1'¶
- S3_AP_NORTHEAST2 = 's3_ap_northeast_2'¶
- S3_AP_SOUTH = 's3_ap_south'¶
- S3_AP_SOUTHEAST = 's3_ap_southeast'¶
- S3_AP_SOUTHEAST2 = 's3_ap_southeast2'¶
- S3_CA_CENTRAL = 's3_ca_central'¶
- S3_CN_NORTH = 's3_cn_north'¶
- S3_CN_NORTHWEST = 's3_cn_northwest'¶
- S3_EU_CENTRAL = 's3_eu_central'¶
- S3_EU_NORTH1 = 's3_eu_north_1'¶
- S3_EU_WEST = 's3_eu_west'¶
- S3_EU_WEST2 = 's3_eu_west_2'¶
- S3_RGW = 's3_rgw'¶
- S3_RGW_OUTSCALE = 's3_rgw_outscale'¶
- S3_SA_EAST = 's3_sa_east'¶
- S3_US_EAST2 = 's3_us_east_2'¶
- S3_US_GOV_WEST = 's3_us_gov_west'¶
- S3_US_WEST = 's3_us_west'¶
- S3_US_WEST_OREGON = 's3_us_west_oregon'¶
- SCALEWAY = 'scaleway'¶
Module contents¶
Module for working with Storage