ipfs-api-mount:将IPFS目录挂载为本地FS

时间:2021-02-03 20:01:34
【文件属性】:
文件名称:ipfs-api-mount:将IPFS目录挂载为本地FS
文件大小:21KB
文件格式:ZIP
更新时间:2021-02-03 20:01:34
fuse ipfs mount IPFSPython ipfs-api-mount 将IPFS目录挂载为本地FS。 go-ipfs守护程序具有此功能,但从0.4.22版本开始,它的速度很慢。 ipfs-api-mount旨在提高效率。 对于顺序访问随机数据,它比ipfs cat慢3倍ipfs cat但比go-ipfs挂载的cat文件快20倍左右。 假定由于每次读取都访问文件结构,所以go-ipfs守护程序挂载的FS速度很慢。 通过添加缓存,可以大大提高性能。 如何使用 安装套件... pip install ipfs-api-mount ... 进而 mkdir a_dir ipfs-api-mount --background QmXK
【文件预览】:
ipfs-api-mount-master
----.gitignore(109B)
----setup.cfg(512B)
----README.md(4KB)
----ipfs_api_mount()
--------unixfs.proto(398B)
--------commands.py(4KB)
--------fuse_operations()
--------__init__.py(116B)
--------ipfs_mounted.py(3KB)
--------ipfs.py(10KB)
--------version.py(22B)
----CHANGELOG.md(1KB)
----bin()
--------ipfs-api-mount(140B)
--------ipfs-api-mount-whole(150B)
----benchmark.sh(1005B)
----tests()
--------conftest.py(1KB)
--------test_whole_ipfs_mounted.py(605B)
--------tools.py(789B)
--------test_command.py(320B)
--------test_performance.py(2KB)
--------test_mounted_filesystem.py(5KB)
----LICENSE(1KB)
----codecov.yml(76B)
----MANIFEST.in(73B)
----setup.py(1KB)
----.travis.yml(1018B)

网友评论