OpenDAL Python Binding
Project description
OpenDAL Python Binding
Documentation: main
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
Run some tests:
maturin develop -E test
behave tests
Build API docs:
maturin develop -E docs
pdoc opendal
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.33.2.tar.gz
(367.4 kB
view hashes)
Built Distributions
Close
Hashes for opendal-0.33.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab501538431b23156e4dfc2ce768c271012601472ac809e2139aa20e321a83d9 |
|
MD5 | d7ffbffd641d6de8d4e3c8e80efab406 |
|
BLAKE2b-256 | 8fafd5cb5bc77a129e3b39e539b6cff398b0b8fcb63a1346d0c21f9c7d35e591 |
Close
Hashes for opendal-0.33.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a22716c3c85925bfeb6e80b12b82235cab3291dc3c2dc7d5cbc53359d7309343 |
|
MD5 | a16df5d8a35c5b36332fe62eea6b3629 |
|
BLAKE2b-256 | 665bd77fadd5ae38401472b832700f818ef700223594159f0760855d662989a9 |
Close
Hashes for opendal-0.33.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80dd306bde6141f753844e175fc6dba20b4176121a0d00fe184d594ab375afa4 |
|
MD5 | cf7b02fda1388ba502958fc21f233265 |
|
BLAKE2b-256 | e25f93f7668234e6da9ae4c641d2701d745f2c382f1f56eb40c1d8a60880d23b |
Close
Hashes for opendal-0.33.2-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 585da30e0c216f13285a6edcf220fbd72b70cc1aa893bc3389627f0dc90a17ef |
|
MD5 | cc5ee5467cb7d9c757459f29a1fded37 |
|
BLAKE2b-256 | ec74ad55c5d7326052f7b1b27b3d7d5ad9a17b2b70e4b935ffcaa71aab928a80 |
Close
Hashes for opendal-0.33.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83023e8e73a2c4c98df52cbf58e5ed842b6c12791393efffa70ea0c8755e9795 |
|
MD5 | cf27c8ddbeb073a4ae304414c1c52d64 |
|
BLAKE2b-256 | 2c7e5bc48afd893da730a62fe7cd73bc5a39a808607fb7736851e99ae6e4ac81 |
Close
Hashes for opendal-0.33.2-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47eb6060f8f33e54f52408af8944d3a1e883cd552a9cd58b65944bb3dc983f43 |
|
MD5 | 53a3256f284ce8b3b00c275febb88455 |
|
BLAKE2b-256 | 37cb9c6ebbcd4975bab7699962474a49e769d47c927f3068afb7d0deb172f869 |
Close
Hashes for opendal-0.33.2-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e93948913e048d05bf96fdec1651cf3ceee971b35e93bb295a5df4aee090637 |
|
MD5 | fbf0bedb77e420171dfe68b147d7b4ea |
|
BLAKE2b-256 | cb99c738df509522848725b4d92e9555431d656dae67d13b4b1b91064b286fdb |
Close
Hashes for opendal-0.33.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 899f7a9f90231696b30c1fe6c35efe6a2cc6adece02d327dd1ae290c1665b3be |
|
MD5 | 4807ab010ed03c5c329296201b7c968e |
|
BLAKE2b-256 | 89b4f01972fa6fb0b39f08cd7b0174c0aae4abcb40524f5436252b6119101092 |
Close
Hashes for opendal-0.33.2-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc32253ff1acf1754991288d64d28e4d1893dc157642eb50dbef80b532aa40de |
|
MD5 | fa798c3ea3c9675746cdb3581eb0c41b |
|
BLAKE2b-256 | 698bafaac1531a199a424d52108ad9ed91cabe92c8f5ce01b1f6b06d2ec322ca |
Close
Hashes for opendal-0.33.2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb65f619ab8021a0e21cef5f42060fb946091d8244b57960cbf54491e7ed053c |
|
MD5 | 42423c79e6399262ea645e9760134350 |
|
BLAKE2b-256 | ff2d8dddfa4b76dbbc1a9675fbe5d11caeb2f1afbb7e5169b46b5b8ba3c82591 |
Close
Hashes for opendal-0.33.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fb56a0ef0c15444a2c1bb1fd68ac1862cd22219b0ee93747eb703993179845e |
|
MD5 | 1c13c4bc85ffcfee93f8817542c6e5cd |
|
BLAKE2b-256 | af3db592e2353e9388a67767f0e3cd5c8ef8a726874c70c79222f81cd8494df3 |
Close
Hashes for opendal-0.33.2-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4296ebbacd3d5f7fe60eb7562a84762a33296268f4572823c8d5daa9e4e3ea51 |
|
MD5 | 6c3a304d4aeb9e2af047dd46dfdd77ae |
|
BLAKE2b-256 | 05b4142ed3280fc6c7889b2e1a917b1c90ee09d94a4c2efac35303ea7e55eed6 |
Close
Hashes for opendal-0.33.2-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83dee194fd03cad7e4c79c0db6b6a0307816afd0e08e2102636b1e4cbe4d69c5 |
|
MD5 | d386f4ee37c0c7789ba3e7689a1af179 |
|
BLAKE2b-256 | bfc44d11b7e104564c68ad77c071a62af6866fd6cc2cca1c19eaf1a63e80dc12 |
Close
Hashes for opendal-0.33.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d56ab620487d385389ec0bc9dae10c9f6fea182f3516053774084cdd5a67a34 |
|
MD5 | 829b07159c7f04af8ecf3bdaccb3552a |
|
BLAKE2b-256 | 03d877cab57cfe21f3e1bf82c3541f029bf678c0ffb913f99ff3be6823d8ea4b |
Close
Hashes for opendal-0.33.2-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df050cfd12daa0b0dafc312a4858c71b87ab7e0c9c4e4b04505e616f8264e17a |
|
MD5 | dfa70dda943984d842899fa5c7e416b7 |
|
BLAKE2b-256 | 1337c3b676c63f6dcf9307f6258347fbc94ddd424850913b85542ab5f95b0ce9 |
Close
Hashes for opendal-0.33.2-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afaf9651c0201a345e0f45c2d296600ee49149356e7766108b395832f2485207 |
|
MD5 | cf1333fd3f9c6864dc85ccf08612f3bc |
|
BLAKE2b-256 | 46a5d92b8cd6cda3070da80db7cc13a81a4de681cd58f89d26c95c11baeebca5 |
Close
Hashes for opendal-0.33.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a783bbc2baa75726b54ccccfc12ab7b3fab6390295e1b0af8aad1384764ca31 |
|
MD5 | 0fac70300e7cd596697f8bd9eda0347d |
|
BLAKE2b-256 | f176bca7b5a5a7df768dcac2e16185bd43377beea8551c8d0a1e8299e9d76df3 |
Close
Hashes for opendal-0.33.2-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 560fc21f49459f95269239d718d188771eee1cf549ada2778ef159a0640a8c16 |
|
MD5 | fd2417269fbc7f3a660a360baf7b5293 |
|
BLAKE2b-256 | 89449d729be449790c4595da11d05bc2dc68c4d6dd76bab4795f9f72777f4674 |