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_SECRETS=/path/to/client_secrets.json
python catfsspec.py gdrivefs://1I_bokg0Fejy7dVxNkZcJD4gCagawLIVY
# world
Hi!
I created a sample file on my Google Drive
hello.txtand made it accessible forAnyone with the link: https://drive.google.com/file/d/1I_bokg0Fejy7dVxNkZcJD4gCagawLIVY/view?usp=drive_linkE.g. I have an
fsspec-using programcatfsspec.py: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: