Coder Social home page Coder Social logo

GUI? about tqdm HOT 6 CLOSED

tqdm avatar tqdm commented on May 13, 2024
GUI?

from tqdm.

Comments (6)

hadim avatar hadim commented on May 13, 2024

I don't say it's a bad idea but I think it can be difficult to add a matplotlib backend in a clean way. But feel free to try it if you think it can be usefull to you and others.
I don't actively use tqdm anymore (I will in a few months) but the thing I was thinking about sometime ago was to add an IPython widget backend that display a nice JS/CSS progress bar.

from tqdm.

casperdcl avatar casperdcl commented on May 13, 2024

Hmm re: ipython, there's stuff like https://github.com/flying-sheep/smart-progress

from tqdm.

lrq3000 avatar lrq3000 commented on May 13, 2024

Instead of making a standalone GUI for TQDM, maybe an integration with Gooey could be good? (making the GUI progress bar sync with TQDM). I think it would be more useful for most devs and users than a standalone GUI for TQDM, to me, a GUI progress bar is only useful when it's part of a GUI to configure the parameters of the app.

About ipython, TQDM is already compatible and works perfectly well, so there's no need to do anything (it should also work with the interactive widgets since the output is still piped from stdout).

from tqdm.

lrq3000 avatar lrq3000 commented on May 13, 2024

Ah sorry Casper, I just saw you already made a branch with the GUI modification. Since you've done it, I think it can be a good addition, I'm sure some users can find it useful. The only tiny issue is that it adds quite a bit of complexity to the code. I saw you tried to modularize it, but do you think it's possible to separate the logic even more? I think that the more the GUI is separated logically, better it is to avoid any conflict with the base code (ie, if the GUI gets a flaw in the future, it won't affect the commandline progress bar).
Just my 2 cents, it's up to you to see, I'm no expert :)

from tqdm.

casperdcl avatar casperdcl commented on May 13, 2024

Yeah the code duplication issue is similar to #9 but it seems necessary for speed optimisation... not an awfully long function so don't think it's too much of an issue... but if you can think of an elegant fix I'd be grateful...

from tqdm.

casperdcl avatar casperdcl commented on May 13, 2024

Closed by pr #29

from tqdm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.