Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a download() function into the RepoAPI object #363

Open
kbolashev opened this issue Oct 1, 2023 · 2 comments
Open

Add a download() function into the RepoAPI object #363

kbolashev opened this issue Oct 1, 2023 · 2 comments
Labels
enhancement New feature or request feature hacktoberfest An issue for Hacktoberfest participants UX

Comments

@kbolashev
Copy link
Member

kbolashev commented Oct 1, 2023

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 kbolashev added enhancement New feature or request feature UX labels Oct 1, 2023
@nirbarazida nirbarazida added the hacktoberfest An issue for Hacktoberfest participants label Oct 1, 2023
@itssiddhantjain
Copy link

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.

@kbolashev
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature hacktoberfest An issue for Hacktoberfest participants UX
Projects
None yet
Development

No branches or pull requests

3 participants