Skip to main content

Apache OpenDAL™ Python Binding

Project description

Apache OpenDAL™ Python Binding

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.10

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 pdoc -t ./template opendal

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.17.tar.gz (920.8 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.17-cp313-cp313t-win_amd64.whl (15.2 MB view details)

Uploaded CPython 3.13tWindows x86-64

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

Uploaded CPython 3.13tmanylinux: glibc 2.28+ ARM64

opendal-0.45.17-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.5 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

opendal-0.45.17-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.17-cp313-cp313t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (26.9 MB view details)

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

opendal-0.45.17-cp311-abi3-win_amd64.whl (15.1 MB view details)

Uploaded CPython 3.11+Windows x86-64

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

Uploaded CPython 3.11+manylinux: glibc 2.28+ ARM64

opendal-0.45.17-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.17-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.17-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.17-cp310-cp310-win_amd64.whl (15.1 MB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

opendal-0.45.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

opendal-0.45.17-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.17-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.17.tar.gz.

File metadata

  • Download URL: opendal-0.45.17.tar.gz
  • Upload date:
  • Size: 920.8 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.17.tar.gz
Algorithm Hash digest
SHA256 9985840087a097ead8ba5a1146ecfc1b337f62baa606ffe715b74ce523d192ee
MD5 eae6f499bb01dd7ddd4a9c28857d4190
BLAKE2b-256 a34d4d1d72f1cef4085e38c32200ce7bf2461a36722a394b6b590e8ce39ae1f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17.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.17-cp313-cp313t-win_amd64.whl.

File metadata

  • Download URL: opendal-0.45.17-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.17-cp313-cp313t-win_amd64.whl
Algorithm Hash digest
SHA256 9859df2c8868981eabcd51f6d0bf1763c3e707704e7a6325d38caa58fc523d7f
MD5 e3650e24ac5c3536e825f11087c74911
BLAKE2b-256 6738ca756af5130fa6e7292dd978a0c7c3ff7c40041ea166e55aed91b35f3c28

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-cp313-cp313t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for opendal-0.45.17-cp313-cp313t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 49713358d04eae5ab3afa13f567debee80e6dd3775dc4e0e76946f0bc3c033af
MD5 9ccea1e363e2a59d9db49d2862f6c661
BLAKE2b-256 a4e0fd0b3db4e286968a3e11f1f76a17ad205fcc5098cd1a818cbc55708c312f

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opendal-0.45.17-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 45e84b0ee7f2824ae215ab5f4d8446b5a7a95887eac9caaaad81f9c0f870645a
MD5 a384e65730e731b38b04121543a8daab
BLAKE2b-256 9ff36a7d5b4cd0295e221f0e9c2940e65d20624954934e5343cdec2ff17f803c

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for opendal-0.45.17-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 81e2937d4337bdb23d237b322f888605172363faa2485cb542d2a02a223fb25a
MD5 aae751297a0a9bbda156e0ca610da3db
BLAKE2b-256 d40bb6e435476227a1e2c49a0cbba7480ab88f041209b5fb832b083002ff6f07

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-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.17-cp313-cp313t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 67f7bd1e6c109306220d5a0c80a47d130cd16bb7cd1b476cb15c5461d6925028
MD5 801f337fb2e912f7670a42bfb19b43b9
BLAKE2b-256 2524af300c111e74ca464d27b821e2588c0645d3b5bcd4938a61937d5a7898d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: opendal-0.45.17-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 15.1 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.17-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f48415f883b7469dc273c4580bd5adfd0a93d8cec9750596142a690ef31bb93e
MD5 afa79658eb97909cafa1c2b994993165
BLAKE2b-256 fa067876d8b8a9c67eefc64e984099d7dcc524c171c9925fb816b9acc061d4b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-cp311-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for opendal-0.45.17-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cf35aa4c133e3ad0f35e2583faa40c6e567ecb66f6ae99949ef613c11e5ce55e
MD5 08108e20a944b9f8445115a5edaae19e
BLAKE2b-256 0dd974e33620e94aa3d0217e5f56552f1ff1b78662561a6aff47e109bb07308d

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opendal-0.45.17-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e78c8bc29c373b943cfc18f0ac2aba5b5f7252491237598e93b2babb4d30a13
MD5 998453e0c4a2e3e8e4ae5571de88da79
BLAKE2b-256 633ef8fdcded658d35abba8453150e620ee3cc5ba38369b4dc7bdac4dcb81d53

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for opendal-0.45.17-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 4ad896559bb40482b6e17b10b5f61771734c86ea8d42733bc0d815122fdf30d1
MD5 1d8124746717231962c72d7e32766030
BLAKE2b-256 0d6290dcc7b93471814dbf649d3a835f1d728578482cb3f6e4222d668e73830a

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-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.17-cp311-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 6f7905b8506103ea4ffca7ffa3c4f9d0154981727660fe8891385c236d7ebff2
MD5 3e71288999a98b97db467f51f9735b99
BLAKE2b-256 11ffe983119c720c516e2ec836e140d773be975cf0c5ad5ed716bdcdb7926592

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: opendal-0.45.17-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.17-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 aae4d8c7b55e477eb37e008c23553face84c6c1f7ccc569c9da29dfcf88b3898
MD5 b51eabf032e8b628eaf1f3e605b9af01
BLAKE2b-256 32d8bb80023f9d75ceba351d60e893a5ee3b8752cd7edf43ba7a42815c302f98

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for opendal-0.45.17-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 460b56b92310f5f38ee64fa9fae2a417c97eee55c5bdde304f6ec55f9112599e
MD5 405c419fd05006accb0acbfdd1ec0287
BLAKE2b-256 df4a8d260c099ab4078b62476f120f27f3d74a5ece8a246c744bc9be06053dea

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opendal-0.45.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6cd9d19a7a67ac6f3aed21504c53d731e6b7ca762a916a59e1ec92d3059afec5
MD5 0df32a00f280db71fadc7e9a01d554d7
BLAKE2b-256 5bea1ced97b7496793a58b205aaccead461f08195dd4ca9cc3f496252ea378f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for opendal-0.45.17-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 cec05fcb42c2e17ecccb6e4c760e722d050424f169060a845a3298c667b2f973
MD5 50d5cce60fdc4e55496c5cb26a398ca0
BLAKE2b-256 44db905400d178f7d792e4fbdea0d383a68cea93d291b2769bad6851c1202c13

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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.17-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.17-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 e0ac8c5e310b5e8a801b588a3e6821dc7e69d69ef53886dc7e52dfc8dcfb0dd5
MD5 ee623bdb6b08c893c6f056f7c5aaa1fd
BLAKE2b-256 4a17010bc79ef98b885af0b5ead3672abf5f9537691d0cb91963ba1e58c80e97

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendal-0.45.17-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