Skip to main content

No project description provided

Project description

OpenDAL driver

jumpstarter-driver-opendal provides functionality for interacting with storages attached to the exporter.

Installation

:substitutions:
$ pip3 install --extra-index-url {{index_url}} jumpstarter-driver-opendal

Configuration

Example configuration:

:language: yaml

API Reference

Examples

>>> from tempfile import NamedTemporaryFile
>>> opendal.create_dir("test/directory/")
>>> opendal.write_bytes("test/directory/file", b"hello")
>>> assert opendal.hash("test/directory/file", "md5") == "5d41402abc4b2a76b9719d911017c592"
>>> opendal.remove_all("test/")
from jumpstarter.config.exporter import ExporterConfigV1Alpha1DriverInstance
from jumpstarter.common.utils import serve

instance = serve(
    ExporterConfigV1Alpha1DriverInstance.from_path("source/reference/package-apis/drivers/opendal.yaml"
).instantiate())

opendal = instance.__enter__()
instance.__exit__(None, None, None)

Client API

.. autoclass:: jumpstarter_driver_opendal.client.OpendalClient()
    :members:

.. autoclass:: jumpstarter_driver_opendal.client.OpendalFile()
    :members:

.. autoclass:: jumpstarter_driver_opendal.common.Metadata()
    :members:
    :undoc-members:
    :exclude-members: model_config

.. autoclass:: jumpstarter_driver_opendal.common.EntryMode()
    :members:
    :undoc-members:
    :exclude-members: model_config

.. autoclass:: jumpstarter_driver_opendal.common.PresignedRequest()
    :members:
    :undoc-members:
    :exclude-members: model_config

.. autoclass:: jumpstarter_driver_opendal.common.Capability()
    :members:
    :undoc-members:
    :exclude-members: model_config

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

jumpstarter_driver_opendal-0.7.1.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

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

jumpstarter_driver_opendal-0.7.1-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file jumpstarter_driver_opendal-0.7.1.tar.gz.

File metadata

File hashes

Hashes for jumpstarter_driver_opendal-0.7.1.tar.gz
Algorithm Hash digest
SHA256 4dc165171fd580127cf3a038e11caf152393d9a223cad8ee5d0b485af3b10ccf
MD5 8680a6fbce7c0822c35f4a0ddf286dd5
BLAKE2b-256 22af11884e79913d40097cbb0deff3d79f7fa3d9ac603c100b9fea74427c15f4

See more details on using hashes here.

File details

Details for the file jumpstarter_driver_opendal-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jumpstarter_driver_opendal-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5fcbbf6cc483906cf65ca090a88523d6f01ee151a35529d4b1dd1a21fd60e3b1
MD5 f0d0c2070387b1254f2a8b1cf8e28abd
BLAKE2b-256 04980953251fa1c6318e9dc535e0c2e5a9b93f786a0a6b09baa0f22dece271b7

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