Skip to content

have tqdm call a callback when certain progress has been made #845

@spott

Description

@spott
  • I have marked all applicable categories:
    • exception-raising bug
    • visual output bug
    • documentation request (i.e. "X is missing from the documentation." If instead I want to ask "how to use X?" I understand [StackOverflow#tqdm] is more appropriate)
    • new feature request
  • I have visited the [source website], and in particular
    read the [known issues]
  • I have searched through the [issue tracker] for duplicates

I would like to be able to have TQDM perform some callback at regular (or calculated) intervals.

For example, I would like tqdm to be able to send a message to slack when I'm 25% done. Or have tqdm send messages to a log file with much less frequency than when it sends to the console or notebook.

I am aware that this can be done by extending tqdm, but I thought it would be something that people might want built-in.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions