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.0.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.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for jumpstarter_driver_opendal-0.7.0.tar.gz
Algorithm Hash digest
SHA256 bb893408a2fbeb476ff4b148f06019087856f59ce73aa04676b751cd3f19ca12
MD5 1ad7ee8d459e0ad2cd25148259decda4
BLAKE2b-256 453ce856bf8c248547f1ba4394b819e50b1412b0c133ffbc9bd1e647503349d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jumpstarter_driver_opendal-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43bd4d3bd6dd98a854429d8100f15ea1da64831dd3b9b8f6f4e38d1380768c39
MD5 93b715f3c8c0d6c8cc34d3e321b4edb1
BLAKE2b-256 bee77d4ec31c9df3a2675f15a2f014d640df33d815cab8cac70676b26278bedb

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