OpenDAL Python Binding
Project description
OpenDAL Python Binding
This crate intends to build a native python binding.
Installation
pip install opendal
Usage
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())
Development
Setup virtualenv:
python -m venv venv
Activate venv:
source venv/bin/activate
Install maturin
:
pip install maturin[patchelf]
Build bindings:
maturin develop
Running some tests:
maturin develop -E test
behave tests
Project details
Release history Release notifications | RSS feed
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.30.3.tar.gz
(297.7 kB
view hashes)
Built Distributions
Close
Hashes for opendal-0.30.3-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 524af04540b7b01b31f50211ddb6d1fe1ecbf2effe45c856a4f7435ef2475ac5 |
|
MD5 | 289519dff232dfe28a72d700cce00b29 |
|
BLAKE2b-256 | b4ea310be9199c049d5ed371d3f0d8824f26bb002aff4ed124bed7548dbdea89 |
Close
Hashes for opendal-0.30.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2087d35bd04ce904c4ac6e525ea7852a1a1a6fd89854a9a3d2f25ab7471b7f92 |
|
MD5 | 64bc35524ac0bff27eb050cb59a764d9 |
|
BLAKE2b-256 | 5973400506878bbe6268d5a6e69df17b7c8ff7dfad3d4461c2d0693e3c81fbb9 |
Close
Hashes for opendal-0.30.3-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dadcfebc2910bdf3da10c53ab31d5e9300200e11aa1dc477d82cfa71d1f47ccd |
|
MD5 | 17282c5176f4def7fb8ae01e619d8cc8 |
|
BLAKE2b-256 | 75fe94daacb55468b695b10ce364c77348f0cbea5bcba56cde78f151b9fb079e |
Close
Hashes for opendal-0.30.3-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba1d2de9f842af21e29341da3574d7792fe8eb41bd65dc6d676e19cd82643b5 |
|
MD5 | 57d2e0d192d5f534b3f5487c22e9cefa |
|
BLAKE2b-256 | 2ad4645bf1742545dfa77cb7de0140b70b436815d8c5d015e3fa7ca9e9468d84 |
Close
Hashes for opendal-0.30.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30754803719fdb7f81258a929ed0591b133a2b438b5a691603358af1c65005d8 |
|
MD5 | 187fda4e9391b5a8c1657716f787558b |
|
BLAKE2b-256 | 4ff37acf1d477ffaea5c8bd6117152bb6433cbb166c12338b28495074df2cb1a |
Close
Hashes for opendal-0.30.3-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 613642c818825bb85c7331d49b5b1501a1be49bd7025e1e9198298d13ffb13da |
|
MD5 | 817263cafb0f007ad280eb77e400d8c3 |
|
BLAKE2b-256 | 4d47cb4b4cab4eb10b6879820df72c9e6cf6a10a1cf1685104d53021b2fa0420 |
Close
Hashes for opendal-0.30.3-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d274728243a9316db6e84b5d1263c8a49f517f3f2674069356ca853c2325b51 |
|
MD5 | 771410a0770bee699ebeeda4581633ed |
|
BLAKE2b-256 | eb5205e6641c9da19248fb9c1d7cecae989c00dcb53594eef344afacc6e2e832 |
Close
Hashes for opendal-0.30.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f41ed3a6b7a484f0ccd178c51710c7f81a045773c9104edb65b3c31ea33f62d4 |
|
MD5 | 4aee430770582c7eece08cb9586594cd |
|
BLAKE2b-256 | 49842a9efdd5967d2556bb4f891b3ade18e28bfd79d6f0d4f7338b559d7eb97a |
Close
Hashes for opendal-0.30.3-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e941ce78e43ca2fa639e672ae8e706013939997d53617b0e3998fb5a74b3f7b |
|
MD5 | e998a63627387be6b3a9fd0e0c3d4710 |
|
BLAKE2b-256 | a581b5d0c5a9f0c8c4896943d3d1f0aecbe0d16a1abef9815911a811de37580b |
Close
Hashes for opendal-0.30.3-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c8bcbc16726441ba96a60dce7f332c835a0a81c96b2e09984218892bc789819 |
|
MD5 | ff6df1c74f1db822b09df382002e2c52 |
|
BLAKE2b-256 | 226bd2b4690d80cf4b58ec457a33df85ce8a8e151f307b15427cd767aa7d3848 |
Close
Hashes for opendal-0.30.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc04fb09ccbf995ff503b6a9bf2f25bf94cee88ee634293af19aed8a34e2d01 |
|
MD5 | d226c144553b2fbb418fcd6e847444ac |
|
BLAKE2b-256 | 9ae5abb1626bb4a2640f65f94f5c5c34006fb81339f04cb0b28adaf02eb27bf7 |
Close
Hashes for opendal-0.30.3-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e54651db1354adf0b6f0070d6939fae3ef1704f4a087f0721f008148f8485d6f |
|
MD5 | 071793467e1d6ac9579bd21c70f51cd3 |
|
BLAKE2b-256 | a76e5a127e71acddaa6435ab53e7fc45cc0c609c78e6526169c82cc8d0b445e2 |
Close
Hashes for opendal-0.30.3-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45fe85b2bc38c7ed117c5f52321b8665c1c024754836966211798c163a1394fc |
|
MD5 | 0276728298c03315c87cb1ddba4b69f1 |
|
BLAKE2b-256 | 34b1a9c9b7709e3e2f2cd0fe1588b4d8494c731b339f1f4b056f7d333f3bf467 |
Close
Hashes for opendal-0.30.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05e03ae3a1a2726b496258705373e237003b56fabefaeea1d32c771cbe6e3a4f |
|
MD5 | 763f0d071813bedbba8b5ae112396d3c |
|
BLAKE2b-256 | 15f2e34641af444de1e1e6b1d4f2a3d4ff603eb10482595bd550618fbacb5e4e |
Close
Hashes for opendal-0.30.3-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b989c1e8d33cb8e0209534335c86660a4df2cd64bb49c66739f30a078e0a21b7 |
|
MD5 | 3e081b1d7dda2436811435322b835329 |
|
BLAKE2b-256 | 95621a9f4c9396bd0546c2dacc8ee3b9b8d0f0c1960f90f6bf0840c17c5cfe42 |
Close
Hashes for opendal-0.30.3-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9f9d9e9de8ba7a5bcb4b35a3062e0e3adc74801b023aa27a5d9daedb3f5a605 |
|
MD5 | d3bfe3ffd373782dece286141e700967 |
|
BLAKE2b-256 | 8079cb17671394cd8d97864a39070db8404d02f6def73ea7f617f0a04881b233 |
Close
Hashes for opendal-0.30.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f76b12c7c061e9368e6ea43c375d81a6876a98e1a682b17c5465abca15b3cc05 |
|
MD5 | 29a9432552adefd19bf5eb19d1a6496f |
|
BLAKE2b-256 | 4e7396db4f3a575d9bed95df3dbeb4f3f57811fee5dc97dffb6daffc67dfb4ab |
Close
Hashes for opendal-0.30.3-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a51f9255bbf9bae7fc0baf3df7e77238672927904310a8f7652ccdffa1fe2cfb |
|
MD5 | d600c98d803ab298282903051ce4de44 |
|
BLAKE2b-256 | e8417cc94392b4936531f6ee41431b5d71498541873c91f6ca6b69644895e30b |