BergelsonLab/blabpy

make git cloning progress bar prettier

Open

#31 opened on Dec 11, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (0 forks)auto 404
good first issue

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (PR metrics pending)

Description

The code I used for the progress bar(s) was copied and then adapted from https://stackoverflow.com/a/71285627. I want to make the progress bar look like the ones on SO but I want to stick to tqdm.

The current code is in blabpy.git_utils.TqdmRemoteProgress. Sample use:

repo = git.Repo.clone_from(url=<repo-url>, progress=TqdmRemoteProgress(),
                               depth=1)

Contributor guide