Skip to content

Improve handling of progress bars #152

Open

Description

@tfardet

At the moment, pynsee uses tqdm for progress bars.
It's a very solid library that does the job perfectly but it does not interact well with... basically anything.
So right now, any code or library using pynsee internally will have to accept having progress bars popping everywhere.

I think it would be nice to provide better options for handling them. I see to main options:

  1. the simpler option is to provide one global parameter to hide progress (setting disable=True to the tqdm object)
  2. switch to rich.progress, which, as far as I know, is the only library that supports nested progress bars; one would then have a global progress object that people could use to add other progress bars or simply disable them

Activity

  1. added
    enhancement
    on Jun 14, 2023
  2. hadrilec commented on Jun 17, 2023

    @hadrilec
    Contributor

    fine for me, I would go for the simplest option so the first one, if anyone is willing to make a PR on this, he/she is welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions