Skip to main content

Apache OpenDAL™ Python Binding

Project description

Apache OpenDAL™ Python Binding

img PyPI Website

This package intends to build a native python binding for Apache OpenDAL.

Useful Links

Installation

pip install opendal

Usage

fs service example:

import opendal

op = opendal.Operator("fs", root="/tmp")
op.write("test.txt", b"Hello World")
print(op.read("test.txt"))
print(op.stat("test.txt").content_length)

Or using the async API:

import asyncio

async def main():
    op = opendal.AsyncOperator("fs", root="/tmp")
    await op.write("test.txt", b"Hello World")
    print(await op.read("test.txt"))

asyncio.run(main())

s3 service example:

import opendal

op = opendal.Operator("s3", root="/tmp", bucket="your_bucket_name", region="your_region")
op.write("test.txt", b"Hello World")
print(op.read("test.txt"))
print(op.stat("test.txt").content_length)

Or using the async API:

import asyncio

async def main():
    op = opendal.AsyncOperator("s3", root="/tmp", bucket="your_bucket_name", region="your_region")
    await op.write("test.txt", b"Hello World")
    print(await op.read("test.txt"))

asyncio.run(main())

Development

Setup virtualenv:

uv venv --python 3.11

Install all the dependencies:

uv sync --all-groups --all-extras

Run some tests:

# To run `test_write.py` and use `fs` operator
OPENDAL_TEST=fs OPENDAL_FS_ROOT=/tmp uv run pytest -vk test_write

Build API docs:

uv run mkdocs build

Used by

Check out the users list for more details on who is using OpenDAL.

License and Trademarks

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Apache OpenDAL, OpenDAL, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.

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

opendal-0.45.18.tar.gz (982.3 kB view details)

Uploaded Source

Built Distributions

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

opendal-0.45.18-cp313-cp313t-win_amd64.whl (15.2 MB view details)

Uploaded CPython 3.13tWindows x86-64

opendal-0.45.18-cp313-cp313t-manylinux_2_28_aarch64.whl (13.4 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.28+ ARM64

opendal-0.45.18-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.4 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

opendal-0.45.18-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (12.9 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARMv7l

opendal-0.45.18-cp313-cp313t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (26.8 MB view details)

Uploaded CPython 3.13tmacOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

opendal-0.45.18-cp311-abi3-win_amd64.whl (15.2 MB view details)

Uploaded CPython 3.11+Windows x86-64

opendal-0.45.18-cp311-abi3-manylinux_2_28_aarch64.whl (13.5 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ ARM64

opendal-0.45.18-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.5 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

opendal-0.45.18-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (12.9 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARMv7l

opendal-0.45.18-cp311-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (26.9 MB view details)

Uploaded CPython 3.11+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

opendal-0.45.18-cp310-cp310-win_amd64.whl (15.1 MB view details)

Uploaded CPython 3.10Windows x86-64

opendal-0.45.18-cp310-cp310-manylinux_2_28_aarch64.whl (13.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

opendal-0.45.18-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

opendal-0.45.18-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (12.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARMv7l

opendal-0.45.18-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (26.9 MB view details)

Uploaded CPython 3.10macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file opendal-0.45.18.tar.gz.

File metadata

  • Download URL: opendal-0.45.18.tar.gz
  • Upload date:
  • Size: 982.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for opendal-0.45.18.tar.gz
Algorithm Hash digest
SHA256 1434fff5e9ead95847596ee22ae183c6f137205d294e88d6154eae1a515fdb46
MD5 d8aaafc0f5b4e465955907990e131fc3
BLAKE2b-256 9f6209ae9ab9d194e27eee24c6df87f0a5359ce73a82862d8bc429a69be8fb41

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18.tar.gz:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp313-cp313t-win_amd64.whl.

File metadata

  • Download URL: opendal-0.45.18-cp313-cp313t-win_amd64.whl
  • Upload date:
  • Size: 15.2 MB
  • Tags: CPython 3.13t, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for opendal-0.45.18-cp313-cp313t-win_amd64.whl
Algorithm Hash digest
SHA256 f5447d8998c5656631b2dd07c455d028b5c8297ae8ce7066b8c6f5fc1b86ca01
MD5 88331415d9f1c4fab75d75ab94a789fd
BLAKE2b-256 66226ec9f0be8bc43750483359bc54de50d3d8c34db4704a17dee5f5a79b3750

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp313-cp313t-win_amd64.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp313-cp313t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for opendal-0.45.18-cp313-cp313t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4f937fbaa0e8d1b2978b3a6e1a5f5e07367c7ba0b9a95fac2ef352450f47a27f
MD5 bac04081669bc455c05127511cf99020
BLAKE2b-256 45a147e63d48a0a740888d782e8ff6f6c01fef68caedf7ced95c686a3b04b231

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp313-cp313t-manylinux_2_28_aarch64.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opendal-0.45.18-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8eda89bf53ddb8e4e8c9adc5eea9af812341640f62ac6af10edff7222f1faa41
MD5 d6ff4fc26855d988f5b0d02d9fb8fc48
BLAKE2b-256 af0c687e051b583f21b4c75f752876b10462fbd0ce1e104e138ffea33574055e

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for opendal-0.45.18-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 9a2c03dd0520fe4e6be234431494b341eb42a7fc336f97f1691e21187357651a
MD5 46fe988102a00fbc53c6e7a644944b70
BLAKE2b-256 092d5c1f4e72c755c878390f2c0b0932ff6970f945cf92beae384263338dd6dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp313-cp313t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for opendal-0.45.18-cp313-cp313t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 fc2501127cb71dbfa94802d4fa9e8e4c35eb5c72b0acf4d5e4ec070c6f0529f3
MD5 198c10dd47fd19dde6c40b3e20a94615
BLAKE2b-256 91dc530b08ea6cbe94fedfb67afc1fe9676cb2acea76b9f7353408d09eb837cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp313-cp313t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: opendal-0.45.18-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 15.2 MB
  • Tags: CPython 3.11+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for opendal-0.45.18-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6d8d2cb268efd41a8ad20f716324e4b7f7f340e8e16f52166715dc0bef3061dc
MD5 fc33aa4e7fd7866aa4b44586ae96f89b
BLAKE2b-256 bebb857ebd60932c6e175a0ef4fb21a98292d9483131e411b09b3ef8bc837c18

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp311-abi3-win_amd64.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp311-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for opendal-0.45.18-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ae0e4ce1cf7b3c66f0b11022387dece6cc7ed7d0821a0b30f90efb41cad20d26
MD5 0455b6ffb2beb17e0db75196a72d1f72
BLAKE2b-256 12db5f4d5998a5e93cbba07a99c09864e873373bc71683eda52ee4750acfcdac

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp311-abi3-manylinux_2_28_aarch64.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opendal-0.45.18-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 42166f049c3deae4cd406afb026ddca9e41ea1da8c7c4cd0cb76d4bdee35c87a
MD5 91b39d7317bef6ecf771bc9038e39bf4
BLAKE2b-256 84511b324dad0da585c7ba430449683ab6f4faa83841153d5c331b1672216229

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for opendal-0.45.18-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 cb6d42972f9941e76b600626ed069d2c9f2bc143116a72475504550e6d387dd2
MD5 594ff4a4c83657ff90f8f08ad71b7241
BLAKE2b-256 12e37e3d2d09de3ab89f6e100d32b172ae4864dca988996e212afeec62f88214

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp311-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for opendal-0.45.18-cp311-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 9e07cfa433e69779befcca4f528b5085cc095af3308691ad4f5ebe37c28ec346
MD5 6e2739d6476e38ddbefc97be18110da0
BLAKE2b-256 308ef23a4ed495e1c7ec47e7c23c0d58cee5726ad584d1d9212b64f39455b332

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp311-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: opendal-0.45.18-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 15.1 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for opendal-0.45.18-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f848995e0268b68e66370650b2532db9e889774e7644c0786a10e730f3a36762
MD5 3afc572e34536d3a5379b360d0efd8a6
BLAKE2b-256 9f001d07485176992347b128c816857ace0231ad90dedcf050fb45c3bd596b21

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp310-cp310-win_amd64.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for opendal-0.45.18-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2b5bff524847f6714579f995d28fbc7bd5412b83683a8b0298c0df2a8370eb5d
MD5 5d5fd6cdc4a910d369a897cb7a83c63a
BLAKE2b-256 5ba7f63b99350dbc7a72d6903d24764b825d3395118dc1b48ab6d78e9edd1038

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp310-cp310-manylinux_2_28_aarch64.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opendal-0.45.18-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d69e9178423ebfa23e6dfce4a01fcc2083d1540d7b002347ce0b4d5574ba819
MD5 ccbf936ccbab29324ebe72fc085aeef9
BLAKE2b-256 c827ff1bf801880cd5855aa403a87fa2f190bee9e65831b80c4f8d512a0d7731

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for opendal-0.45.18-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 174ba6f416ec12b24f4bc19061bab1b056d0d89284e57489f931e77b0b824c4d
MD5 d4bd6fa8f2f58338094d200b42d980d4
BLAKE2b-256 73fe96f3ce08d20b18b4773fb71b85aad27134fc2d6e9a8835c9a5c0ba43c86f

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendal-0.45.18-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for opendal-0.45.18-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 85d39d0d65d43de122d92870a85f0d2c6b9b5cba451168dcd3e79ed297729c61
MD5 2fd4c5e8208d03a659ff19e298da2ea2
BLAKE2b-256 62f435e3610a65f6192c5c63106fb7b0ad9c13eb3e9f089a328494eb8df5e41b

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.18-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: release_python.yml on apache/opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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