PyDrive2 as a protocol for fsspec
还没有人认领这个 Issue。
评估
调研方向
从提议的 python -m pydrive2 auth 入口点和 fsspec 的协议注册要求开始。检查对链接的 Drive 文件进行匿名访问和经过身份验证的访问将如何映射到提议的环境变量和 pydrive2:// URI。完成的标准是记录或实现一条清晰的受支持访问路径,包括身份验证行为。
由索引模型根据 Issue 内容生成。
描述
Hi!
I created a sample file on my Google Drive hello.txt and made it accessible for Anyone with the link: https://drive.google.com/file/d/1I_bokg0Fejy7dVxNkZcJD4gCagawLIVY/view?usp=drive_link
E.g. I have an fsspec-using program catfsspec.py:
import sys, fsspec
with fsspec.open(sys.argv[1], 'rt') as f:
print(f.read())
# python catfsspec.py file://hi.txt
# planet
Does installation of PyDrive2 auto-register a protocol with fsspec automatically (like sshfs does: https://pypi.org/project/sshfs/ )? Is it possible to access my sample Google Drive file
Ideally, I think being able to do the following would make a lot of sense:
# should not be needed for accessing anon-acessible files: export FSSPEC_GDRIVE_SECRET_TOKEN=$(python -m pydrive2 auth)
# or maybe export FSSPEC_GRDRIVE_CLIENT_JSON=client_secrets.json
python catfsspec.py pydrive2://1I_bokg0Fejy7dVxNkZcJD4gCagawLIVY
# world
- 主要语言
- Python
- 星标
- 668
- 派生
- 75
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
iterative/PyDrive2 的其他 Issue
-
难度 5/5 一周以上 新手友好度 10/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 2/5 1-3 小时 新手友好度 30/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
maintenance priority-p2
难度 4/5 3-5 天 新手友好度 45/100
查看 iterative/PyDrive2 的全部 Issue
相似的 Issue
-
namespace operations
难度 1/5 1 小时以内 新手友好度 72/100
EclipseFdn/open-vsx.org#14043 ·
维护者通常 1 天内回复
-
feedback simulation workshop
难度 2/5 1-3 小时 新手友好度 73/100
githubnext/gh-aw-workshop#4455 ·
维护者通常 1 天内回复
-
Triage 🩺
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
[BUG] Container scenario crashes without expected_recovery_time, kube DNS example uses retry_wait未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 77/100
krkn-chaos/krkn#1627 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
NousResearch/hermes-agent#136483 ·
维护者通常 1 天内回复