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
OPENDAL_MEMORY_TEST=on pytest -vk TestMemory
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.42.0.tar.gz
(563.4 kB
view hashes)
Built Distributions
Close
Hashes for opendal-0.42.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dec98fb29bc3476ca4cc8969301f9caed03873879b086d1c6bd6939ad48354c |
|
MD5 | b393c3ee5f65dc3ae2e79a5634aede5a |
|
BLAKE2b-256 | 98a5089bce806ec67b4e1163a68b3bda6c9d96e47e963180204e5f78cf2a72d6 |
Close
Hashes for opendal-0.42.0-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0159fdb1baff564823270d411d501eb5848a380977e1f8fa96efc2cc302bac39 |
|
MD5 | 401a0fb0ccb746e16b0fb42ba4a66f8b |
|
BLAKE2b-256 | e67bddd70bb254f474dfa2d8b6445f2ce6a43c62f8a1fdc9ba8b5f45e4f4d208 |
Close
Hashes for opendal-0.42.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3b1d02576b4d3b5245c495ffaf4a07edf5164955e40e0a572a100b47eca05ef |
|
MD5 | ec95d9bd5760f2c9cfe6a06154158648 |
|
BLAKE2b-256 | 3efa2d602c2b6a00d15913fa40aa044a19d475ead59cda9e33b664d40bc31ce7 |
Close
Hashes for opendal-0.42.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3f5e0aebeba64b9b4d8d12318f87171ffbefea66651a57931fbe8287669e5d0 |
|
MD5 | 917c9a642826d544ca26fc99c37f8407 |
|
BLAKE2b-256 | 453c167f0deda47be1cf135ab159f2308435001eda6272e8135b7cb0b862a5c8 |
Close
Hashes for opendal-0.42.0-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5be7b5e618c4d7c3db2febb61eb2ba9d46c37096f06bd60062c2c6d00e1348b |
|
MD5 | 0611cbe5fe55c3d05464aa19426ab696 |
|
BLAKE2b-256 | 7edd5e4e141241d56b8f005cc40071ad121e33ede6d4d0429c085830d3f940d5 |
Close
Hashes for opendal-0.42.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a7b30a42c45606378b20dad369ca3ce653d5052370d3cb1333c4f3e72894e04 |
|
MD5 | 29e2c95148ae772e2f1576a4b0681b58 |
|
BLAKE2b-256 | 5da02d99124f1333cd2ebcd8f2ebcab79fbb00c04be6589e58314fea8ffd6917 |
Close
Hashes for opendal-0.42.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84303d43a0a9a14d35368e7b7f132d6b9dad2eb114cfaf8a4aa3bf54efd34d20 |
|
MD5 | 453a74d062a7b37151eae0a6ca7a035f |
|
BLAKE2b-256 | ca41c2fd0e34bbd4fa4711a0a283384020502dc5e22fbbbd7b7914784a3c8d17 |
Close
Hashes for opendal-0.42.0-pp38-pypy38_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f05350b1733dd6a3043ddd7c3d31ac33accefa7846b82bb51461c1db46c48878 |
|
MD5 | 908a32da8b01a1494012de77a6e99ffc |
|
BLAKE2b-256 | 5ab3160fd149e4ceb5e81bda0b2616f444162a64a51055d430451e1753380561 |
Close
Hashes for opendal-0.42.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 496c0652116b1ee592df766389478a2a4280993d38bdc8f66a6f7de867191cfe |
|
MD5 | 09a7745a6f79fe75c2c17490eabd1d00 |
|
BLAKE2b-256 | 91a757e534160b084bbf2678e1a64cacad491770c6c610dbd25c7054a12c9698 |
Close
Hashes for opendal-0.42.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9da9ed28b19ab94878859912f12c05330c72a4a94d2b58b46f8c9c6ff3600701 |
|
MD5 | 28ea8119e9b464a07aa0e1d60241145f |
|
BLAKE2b-256 | 6e683dfec52939d9260a35f62a7d59e855a07cd8818ec1e70e9ad960c5d171e4 |
Close
Hashes for opendal-0.42.0-pp37-pypy37_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2755977276e01ef3d831d994496a2c8b3b26c8038f0563ad8e7b49f7434ca00a |
|
MD5 | 3c510458639dbc7326eb13733ca865ed |
|
BLAKE2b-256 | 68cd498e5238e486f5d41fed79c732445bb120a5ff7c53c67f5d82463bae5ae0 |
Close
Hashes for opendal-0.42.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e3d21dd5aeb033016b99cb6bf8176bf485b90d537f687869ce25fde17147aa |
|
MD5 | 869f5ad260388d5fbbda3ee3ac36d0cb |
|
BLAKE2b-256 | e4ccc96e9723c8074adf36d2a77893d503175c85100e1280f90213c60b125dc8 |
Close
Hashes for opendal-0.42.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 749d24097d11f428ebd1b778d0d9a29f8095af167e5210064464b11514d5b7ad |
|
MD5 | 10e3b34cf1c7b0e9761d72d884c4560c |
|
BLAKE2b-256 | ad851499c211773767be3fe215a9768e43ad24a6bdca03cf2c493fb502067ee2 |
Close
Hashes for opendal-0.42.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a4e13567993fbef555ede0f00047483ead2d37c82ba4275149a392847832154 |
|
MD5 | dee003f683b6bf37d366cee8416f8983 |
|
BLAKE2b-256 | 73fdab53f915da9eb13c22ac903f1d3081a0d84832102929430fbbfed12c565f |
Close
Hashes for opendal-0.42.0-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e18b2cf9b21f150c64c316efd1670f66c9d093a57d3a127f8e555d6fa70ba94c |
|
MD5 | 88ec804d442ab1df702a4655420d96d9 |
|
BLAKE2b-256 | 3940bb1a7279722975735fc105314181e0f4d8705d639fbc0d0e7114cc0d19a3 |
Close
Hashes for opendal-0.42.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcfd8d4cd4cc50cf6d906fcd525fba74c0b883a7b2ab00c4db19670c258893f7 |
|
MD5 | 550b51dc94fea35ec419588ea9e39db1 |
|
BLAKE2b-256 | 9ccb8ec5a90d66388284efe5fe7a2515aca412635ea05791d231bb8e96754b0f |
Close
Hashes for opendal-0.42.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 077d4a62e4af2d6ca888f27af3d62cfbbcee67f05f7bbb428fe3799919b897f0 |
|
MD5 | 7390513eb12bcb95da4d784fd585032e |
|
BLAKE2b-256 | a2a52d554660762a2c69336be92e2cec8527ac1b1c522f626d43cbab566cb0f3 |
Close
Hashes for opendal-0.42.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8a6bc8a1b0c6dc033e0b813935d6d5a0cc5f995f8b8fc063092544028c10c9b |
|
MD5 | e750a8c70fdb5bd1e18d5c82c6a7b20d |
|
BLAKE2b-256 | c81d927b10ba637696213db6cb887952219340c35759cdb256bf5c0d2755fd07 |
Close
Hashes for opendal-0.42.0-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 630d6028de6ba6b3cde050a6f304f54d2e9c956058072f16e6a9f58604e7c583 |
|
MD5 | 66790cf929a4e501fdc13f2462056751 |
|
BLAKE2b-256 | 6cce81d630b91e8f2972c4d7da0da8914268382ae11325ef0dac0f4ca7113d53 |
Close
Hashes for opendal-0.42.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 976146bedcc2861f4585904e93e936f2f1be16a642ba1318ebd06e02a1953dcf |
|
MD5 | 2590ea98d0af57377db490584ab0e623 |
|
BLAKE2b-256 | b24a6784c8101daa1981c673eb5314e2e7be49f74e4766815ad837ebba0e0148 |
Close
Hashes for opendal-0.42.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 343e54573d866f90bc962092427f899743a1c13f25140f48d5e80968803ff80a |
|
MD5 | eaa96c4d0d32db93d6b01bf6d85313f8 |
|
BLAKE2b-256 | 031143c929abce51d437f46fedb3a82d01b0509b4cc377013a61337f3129b516 |
Close
Hashes for opendal-0.42.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 695c7ec4d112bae622cfed62e590508df2eb7aac27335c1311826e5e70ca00cc |
|
MD5 | 6c3f18d1b11f7537c1794e2fd9ed34fd |
|
BLAKE2b-256 | 0e8c0e574e4a17b74046077967d1aab2363215c42febe4a9bd35908953061b8d |
Close
Hashes for opendal-0.42.0-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e12d71895306b9a3cb7140e9548ad7c94df35152ec35e944b048501b9b4a943b |
|
MD5 | 0b3229763a4229ae7c9a3127cd0496d9 |
|
BLAKE2b-256 | 801345d89f11af04f69050ed9bdd0f25bdb2af035aafd8cbc65d9f3164dbfb9a |
Close
Hashes for opendal-0.42.0-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46845c06a135df13c69828cbc36ea6a5e438a19c0dd7dc6b5f5658e215fa062d |
|
MD5 | c50b4783fd3d5be8c119dd70b70ba6dd |
|
BLAKE2b-256 | 3dfffa6024c859ca52339224259845db2a389cf2c409a9cd123e8bb2b1719f44 |
Close
Hashes for opendal-0.42.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd53b77227604d9810f4cbb080777abe7f1740b0983ea36dbb3d98cb4b867b1 |
|
MD5 | 534b8dfab36d2b25dc96ff1d1668818b |
|
BLAKE2b-256 | e3eed1e0f3aae6ed858b0939729bf4468af58bcfbf2d2409006092421a851014 |
Close
Hashes for opendal-0.42.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a7b08a682a088f30789725f8f1e47dbaf2cb7796d93deb5e0ee304a32bd3395 |
|
MD5 | c84766385b5f7e0c13d7e1e7051c0873 |
|
BLAKE2b-256 | 34f1c22bb842bb9bffddd234b7df76c009f3ea655f09656b7272bb7aa653a4dd |
Close
Hashes for opendal-0.42.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 975afaf57929fcb0b568184699e28802a62d80b7acd29435104c626b66f742bd |
|
MD5 | a8730e42570bf0c2b26a3a76f8339246 |
|
BLAKE2b-256 | 38aa43e2d7e44c323b5d0667415f9407a5ccfc57099dfaecd047ad261c471441 |
Close
Hashes for opendal-0.42.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c93f40ae29939ee31252d0b9df46c58e394f87b6a9607a67fb0bf7592d02708c |
|
MD5 | 74ed6fd513dbc182a0ff9de3f3fc34c8 |
|
BLAKE2b-256 | 7f09e99fc5b74d67ef073014685fcdc6a43d1b80e83f5b5c16e1be69d0ee3ac3 |
Close
Hashes for opendal-0.42.0-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2e680d49d4043dc9b18ba6bbd99e5976f41ace8afba02bec728d524640cecce |
|
MD5 | 534f57a1a3f6cfdbecd01a3e3d5b5a56 |
|
BLAKE2b-256 | 012ceaa431ef430d13d3d8135165632dd2f7bcb4cb68958fddde4487e9ed59d0 |
Close
Hashes for opendal-0.42.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc9bf3350cca831585281899207f4d6982edc81f713518bd4e9492e663969e72 |
|
MD5 | 9a2639a760ec747182bdfb5fea2decf9 |
|
BLAKE2b-256 | cd99231d34c228970d9ca251a1e39add205a5f47316a1a4326a7979666bdf83e |
Close
Hashes for opendal-0.42.0-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69cf8d101a03ca0ea79e40cbff116f70de875b29a74ffcf93903b789abbccaf6 |
|
MD5 | 8667d77dc9b510d8961f4c5bb15dde5c |
|
BLAKE2b-256 | 5e1e5fefe6b24cdb5fec24dc0c9b634334c7df739f8f40495c5e5895e96bd0ef |
Close
Hashes for opendal-0.42.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2039255582910cdff57b752f74648b6e0ccd7c9c1efd6543f3d7d9ec27d83eab |
|
MD5 | 00cd53a9e1a995d50e164da6f9c2b847 |
|
BLAKE2b-256 | 132aa5cc447a33efbde09e0f24b8412326269b11adc0ff1f73ee77f3177be60a |
Close
Hashes for opendal-0.42.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33652cd051e4699de6e49d3d59b630dd76bbdd59424fce0eaebfcf2b223e4e42 |
|
MD5 | 081eebdc6678f4499d7492d53657db48 |
|
BLAKE2b-256 | 8eb7f386fd857233b244c93201bffda6b343bd8aafca7c5f777436c91f76879c |
Close
Hashes for opendal-0.42.0-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30106da5d8b9d3f361b2b5021928e6e6a3828388ef1b719ca37703202b2a86b8 |
|
MD5 | 2c187fff28b110816e3d92078734d8fe |
|
BLAKE2b-256 | 77415dfac481e56e37085b8d569479b35e0509812b124e4ca1355910394729a0 |
Close
Hashes for opendal-0.42.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1165feb9200929a3395a5a750f23e03866a7d69b7b3dfb8d79719b73c56620e4 |
|
MD5 | bd4cceee09bbd40d847e2dd63e8c288d |
|
BLAKE2b-256 | 61930fcd5e8b3fbe2816adbd2f97cebc78658ae324e05c33c64e369161dfdabc |
Close
Hashes for opendal-0.42.0-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 081a0329c9264cba9adcc8464c7e3490f15bc63f603ef6d22eb04acb7cc65bce |
|
MD5 | 04b4d4da7ed928ed7e0648994761f656 |
|
BLAKE2b-256 | 3c52aa19182a1d3bdc0da70dd2b73779625deb0372a8fca3aaeb8de15af67f2c |
Close
Hashes for opendal-0.42.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5abba2c40e0d0e55fb4af3fe760d2323b1ede2cd35436a028394b1d07a68bbc2 |
|
MD5 | ade004af41b9d477758bc4dd12771ded |
|
BLAKE2b-256 | a45960fcd83e19e448075a4964326a3ac7c5a3937ba33bf003d8845b358224ac |
Close
Hashes for opendal-0.42.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aff0bbba033e2fc64c85fb746a24ba036c1c799d38dda34845c38132a5fca5f7 |
|
MD5 | fcb2f205b7effeafab95cab15994d78b |
|
BLAKE2b-256 | 48c7ff582f96210c768221d0b4ae5f2e8a0ef736b7670daf4396a6463c78da04 |
Close
Hashes for opendal-0.42.0-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f233dcd38c5cd47356ed34a8c41604ad5da15152c09f56bb01cbc180ab130658 |
|
MD5 | a7a00c503a4420eb10b628531f77f568 |
|
BLAKE2b-256 | b4cd31dae0322459cc6393c96361a0b496f45a9d4bfe6408258daf7a42346475 |
Close
Hashes for opendal-0.42.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2a7a9c1cecb02aae183591b112489fd25f5e9ea945cdfb0efc5540263449334 |
|
MD5 | 40a3f0e9b6e2fd050678cf75e3ad0214 |
|
BLAKE2b-256 | fd6f3ffa6d09bf5cfbc1ed8c0720f7ad80a75910920962a39d40d5ded6aefa57 |
Close
Hashes for opendal-0.42.0-cp37-cp37m-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c7210e8ca41f993486d9f28b920283819f5d81b96a2e9c5c3a407b6e7b1b772 |
|
MD5 | 2e625d35dc54024bdc85bf77d62e140d |
|
BLAKE2b-256 | 15bc744b816482b993dbe194bcc981c6ee3755eb45f68e11315eb09fbf2d1a6c |
Close
Hashes for opendal-0.42.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b432a983de849caa808a70b8a6b4a330fbc9ca6cf2b6c7e8dc9e0a7ffdc275d |
|
MD5 | 7f0bfadfe9c5111b10d30491c14806d4 |
|
BLAKE2b-256 | 1b6a0af2ab810810d92b44843f8fbac9dfe323265e06ce6340f23811d11005fc |
Close
Hashes for opendal-0.42.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35e0323d36495ad9e98afa789d895d7f4fd15ef0bbef7d15053bfe4fcad111ae |
|
MD5 | 148dfc1cac9e88d045402896ff66f5a0 |
|
BLAKE2b-256 | 181ece528816684293aed962d532aeec85bc8e5d81777bdbb9eb85069362dc3c |