client icon indicating copy to clipboard operation
client copied to clipboard

Add a download() function into the RepoAPI object

Open kbolashev opened this issue 1 year ago • 2 comments

RepoAPI should have a download() function that utilizes the common.download.download_files() function to download the whole repo or a directory in a repo in a parallelized fashion.

repo = RepoAPI("user/repo")
repo.download(outdir="/home/user/my-repo")
# OR
repo.download("data/images", "/home/user/images")

Probably should be recursive by default with the ability to turn it off

kbolashev avatar Oct 01 '23 07:10 kbolashev

Hello @kbolashev , please assign this issue to me as I have already worked on this kind of problem in past and has a great experience.

itssiddhantjain avatar Oct 02 '23 15:10 itssiddhantjain

@itssiddhantjain Feel free to make a PR for whatever issue you want to tackle 👍

kbolashev avatar Oct 03 '23 14:10 kbolashev