Right, concept proved.
This works with DataDeps.jl
It wraps PyDrive.
It throws a lot of warnings, because DataDeps.jl has a kind of assumption that remotes would be HTTP URLS represented as Strings, but its fallbacks kick in and so does deal with it.
Though it seems like there over tight constraints are a bit of a minor bug.
Another thing is that while the download of the Files is lazy,
the download of the file names in the registration block is eager,
I think the simple solution to that is to use some kind of LazyVector type,
Right now it is almost all in that notebook rather than in a proper julia repo.
If you or someone else want to take PyDrive wrapping stuff and make it into a proper julia repo, that would be cool.
idk when (/if) I’ld have time to work on this again.
Having the concept proven is pleasing to me.
DataDeps itself doesn’t deal with the idea of downloading a folder very well.
Because most of the time when you want to download a folder that means downloadng a tarball or a .zip which keeps structure. Otherwise you are downloading a collection of files without structure to where they end up (except as imposed by applying
mv as a post0fetch method)