No project description provided
Project description
OpenDAL driver
jumpstarter-driver-opendal provides functionality for interacting with
storages attached to the exporter.
Installation
pip3 install --extra-index-url https://pkg.jumpstarter.dev/simple/ 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jumpstarter_driver_opendal-0.6.0.tar.gz.
File metadata
- Download URL: jumpstarter_driver_opendal-0.6.0.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e31a0a398af5c3c9cee256082457d7512183204324017ae98106fa703590b94
|
|
| MD5 |
d1384a9310814d67d7c7560d95acb291
|
|
| BLAKE2b-256 |
4aa7432c12d23926dff5b96adf564b4477dd5e0aa8bc4cc986644226f9c91560
|
File details
Details for the file jumpstarter_driver_opendal-0.6.0-py3-none-any.whl.
File metadata
- Download URL: jumpstarter_driver_opendal-0.6.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
104dd115a450cd8580f53194f5a56245c211f3a4292be0d730cce3d5b82c7cca
|
|
| MD5 |
e54e0a90dc3469fe1419a05d49a35816
|
|
| BLAKE2b-256 |
b2246ccdfd734a82eb535ba266de70bce085f339f29c3ef77b9e58b1c2c76325
|