bee-san/pyWhat

No output until the searching is complete

Open

#189 geöffnet am 8. Okt. 2021

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (382 Forks)batch import
good first issuehacktoberfesthelp wanted

Repository-Metriken

Stars
 (6.228 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Is your feature request related to a problem? Please describe. It feels a tad strange to run a pyWhat command and get no output at all until it's complete. With a really large file, pyWhat can understandably take a long time; it's hard to tell if it's crashed or just working silently.

Describe the solution you'd like Ideally, progress bars would be awesome. But not too complex; counting each individual regex as a full "unit" would work fine. By this I mean, with 100 regexes to run on a file, one regex = 1%. This translates to multiple files too if a second progress bar was used - with 8 files, 1 file is worth 12.5%.

Describe alternatives you've considered Maybe pyWhat could output each regex as it completes it along with an initial summary of what it's going to do. For example:

Starting pyWhat...
Regexes: 150
Amazon AWS access key ✅

Additional context Discussed on Discord 😄

Contributor Guide