Comments (13)
Thank you for the link and the code, yes we are always open to new features :) We'll see how we can manage to integrate that inside tqdm
.
from tqdm.
I guess you can just take my stream_with_progress
implementation (except kwargs.update
call and the inheritance weirdness), call it tqdm_stream_wrapper
and provide examples in the documentation... Or are you thinking about adding that functionality to the existing tqdm
class?
from tqdm.
Indeed I'd like to add it to the base tqdm class, I think this
functionality should be supported by all tqdm subclasses.
2015-12-26 20:26 GMT+01:00 Paweł Polewicz [email protected]:
I guess you can just take my stream_with_progress implementation (except
kwargs.update call and the inheritance weirdness), call it
tqdm_stream_wrapper and provide examples in the documentation... Or are
you thinking about adding that functionality to the existing tqdm class?—
Reply to this email directly or view it on GitHub
#84 (comment).
from tqdm.
I see. Do you want me to implement it and create a pull request, or you want to do it yourself?
from tqdm.
Well yes, you know best about the needs for this feature, so feel free to
do a PR :) Or if you can just provide a minimal example to test the feature
against, this would be very useful!
2015-12-27 1:56 GMT+01:00 Paweł Polewicz [email protected]:
I see. Do you want me to implement it and create a pull request, or you
want to do it yourself?—
Reply to this email directly or view it on GitHub
#84 (comment).
from tqdm.
I'll do both the example and the implementation, please assign it to me. I am also looking into how to test it and document it. I noticed that arguments of tqdm class are documented in a structured way of some kind - where could I read about the syntax of this format?
from tqdm.
@ppolewicz Ok perfect, thank you very much!
About the format, I don't know, I just copy the style myself when committing changes :p The readme is in ReStructuredText format, maybe that's the same format we use in _tqdm.py
(am I right @casperdcl?).
Seems like I can't assign someone outside the organization linked to this github account :/ But nvm, I de-assigned myself.
from tqdm.
Thanks for rst hint, it really helped me.
I got it working with an example, but then during review and testing found that supporting read() and write() was easy. Supporting every possible operation that a file-like object might be expected to handle, on the other hand, is not so easy :-) I will work on this further tomorrow.
from tqdm.
Thank you ppolewicz, and don't worry to take your time, we're not in a hurry :)
from tqdm.
Yes, it's RST (and also Markdown) compatible. One thing to note is that documentation in code (anything that might show up when running help()
) should have at most 76 character long lines (incl. initial spaces).... this is because python adds some padding of ~4 chars (to make the total 80) when running help()
.
Secondly, please use two spaces between the variable name and the colon, and use [default: ...]
for defaults in documentation where applicable (making it compatible with things like docopt
).
Thirdly, just in the RST, add two spaces to the end of the bullet point parameters of tqdm to ensure they show up as a sort of header.
from tqdm.
But above all don't be worried :) you don't have to do everything, we're happy to fill in ;)
from tqdm.
Note to self: add #84 (comment) to CONTRIBUTING.md
from tqdm.
fixed by #844
from tqdm.
Related Issues (20)
- fix negative decimals format
- Provide a way to work out the total number of iterations while the loop is running
- move readme to tqdm.github.io
- TQDM as ??????? and multiline in the terminal of EC2 machine
- Using asyncio on jupyter notebook
- Proposal: setting of info, without needing `pbar` object
- Docs Issue: `dynamic_miniters` mentioned, but not in tqdm arg list
- progress_map on panda's index
- Multiprocessing - Progress bar not updating for starmap
- Unexpected behavior when combining `initial` and `range` as iterator. HOT 5
- `DummyTqdmFile.write` cannot handle bytes type
- TMonitor thread remains active after tqdm closes HOT 1
- Incorrect progress updates when using `thread_map`
- Allow option to run the loop at a specified slower rate
- No direct link to online documentation in README file
- Jupyter-notebook: bar freezes then updates after a while
- what's the decent way to update `desc` and `postfix` HOT 6
- Update prints a new line each call
- Add wrapper for functions that are called repeatedly
- unable to set format for numbers with unit_scale
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tqdm.