Commit graph

213 commits

Author SHA1 Message Date
adc4247efd Add Backoff.current to get value without stepping forward. 2020-11-20 13:29:33 -08:00
5d83ed655d Add module docstring. 2020-11-18 03:18:01 -08:00
29541d2570 Add stringtools.py, gentools.py. 2020-11-18 03:17:54 -08:00
Ethan Dalool
2cbb93386e Improve binding of loud. 2020-11-09 16:31:19 -08:00
Ethan Dalool
cf4b670f43 Bump to version 0.0.58. 2020-11-09 11:05:45 -08:00
Ethan Dalool
03e5830133 Add some docstrings. 2020-11-09 11:04:40 -08:00
Ethan Dalool
63689e02c0 Fix result_generator hanging when the job generator produces nothing. 2020-11-09 11:03:08 -08:00
Ethan Dalool
cbf546ee69 Add level_by_argv level --silent. 2020-11-08 20:12:19 -08:00
Ethan Dalool
e3d9336383 Pull code out to separate function get_level_by_argv. 2020-11-08 20:12:05 -08:00
Ethan Dalool
1468f318f8 Handle sys.stdin, stdout are None under pythonw. 2020-11-05 22:00:36 -08:00
Ethan Dalool
98f42ad87b Bump to version 0.0.57. 2020-11-04 18:10:51 -08:00
Ethan Dalool
2ec77f287b Add vlogging.py. 2020-11-02 23:18:53 -08:00
Ethan Dalool
d29501bae7 Having removed self.spawn(other), add back Path(other). 2020-11-02 23:18:19 -08:00
Ethan Dalool
426da9b52b Let listdir spawn children with _correct_case already set. 2020-10-28 14:56:52 -07:00
Ethan Dalool
adf7353ae6 Cache _case_correct property to cut down on fs calls. 2020-10-28 14:55:49 -07:00
Ethan Dalool
1364d66264 Let kbps return all three values always.
Instead of just the missing value.
2020-10-23 07:47:10 -07:00
Ethan Dalool
3347962438 Fix normalization of paths during blacklist check. 2020-10-23 07:46:29 -07:00
Ethan Dalool
5232ca81fc Fix dotdict being subscripted instead of dot. 2020-10-23 07:46:06 -07:00
Ethan Dalool
e3cc64c19c Remove useless const from argparse arg. 2020-10-23 07:45:31 -07:00
Ethan Dalool
c0e9870b91 Rewrite threadpool with persistent threads that pick up jobs. 2020-10-12 16:34:26 -07:00
Ethan Dalool
4e9b43be8b Big threadpool update. 2020-10-09 13:10:24 -07:00
Ethan Dalool
12175c23a7 Add lazychain.py. 2020-10-09 13:09:51 -07:00
Ethan Dalool
3989353579 Bump to version 0.0.56. 2020-10-08 09:40:13 -07:00
Ethan Dalool
d56eea85e6 Fix punctuation of these statements. 2020-10-08 09:39:41 -07:00
Ethan Dalool
5147d7b988 Move nested function do_it out to _run. 2020-10-06 23:09:06 -07:00
Ethan Dalool
0202aeaca0 Add backoff.py. 2020-10-06 11:18:25 -07:00
Ethan Dalool
1a0b71673f Bump to version 0.0.55. 2020-09-30 19:34:28 -07:00
Ethan Dalool
d37dbe40f8 Add base exception class DownloadyException. 2020-09-25 16:09:42 -07:00
Ethan Dalool
0613fd10e4 Use DotDict for the download plans. 2020-09-25 15:56:24 -07:00
Ethan Dalool
0948139883 Rename variable localname -> temp_localname within download_plan. 2020-09-25 15:50:59 -07:00
Ethan Dalool
3deb6270ba Add support for more special filenames like Windows's "con". 2020-09-25 15:43:36 -07:00
Ethan Dalool
677d8a251f Don't worry with .seek if we're doing a fulldownload plan. 2020-09-25 15:42:39 -07:00
Ethan Dalool
ade7d63231 Use voussoirkit safeprint instead of duplicate function. 2020-09-25 15:30:49 -07:00
Ethan Dalool
6b546b39df Split safeprint into separate functions to remove deep indents. 2020-09-25 15:30:00 -07:00
Ethan Dalool
025c8d51a3 Use pathclass.Path.makedirs. 2020-09-24 14:17:14 -07:00
Ethan Dalool
a05d34ea9e Add Path.makedirs. 2020-09-24 14:16:51 -07:00
Ethan Dalool
96a6e62c14 Bump to version 0.0.54. 2020-09-22 01:55:56 -07:00
Ethan Dalool
ba88731ae2 Fix cwd. 2020-09-22 01:55:30 -07:00
Ethan Dalool
e6efa2adcf Bump to version 0.0.53. 2020-09-20 21:28:43 -07:00
Ethan Dalool
342062dd99 Use pathclass.Path.open. 2020-09-20 18:25:12 -07:00
Ethan Dalool
c6d7450028 Add Path.open. 2020-09-20 17:31:28 -07:00
Ethan Dalool
3abd141d5d Bump to version 0.0.52. 2020-09-15 15:05:29 -07:00
Ethan Dalool
dcf84dedf8 Escape single quotes by doubling them up. 2020-09-15 14:03:41 -07:00
Ethan Dalool
a2337346fb Add helpful pathclass.cwd function. 2020-09-12 10:15:14 -07:00
Ethan Dalool
5510d94054 Add docstrings to all functions. 2020-09-09 14:40:37 -07:00
Ethan Dalool
331de6eaec Replace chunk_size=None with CHUNK_SIZE.
The idea was that you could overwrite the module-level CHUNK_SIZE so
that all future quickids would use it as the default, but I don't like
the code clutter and anybody who wants to change the default should
write their own partial function if it's that important.
2020-09-09 14:39:30 -07:00
Ethan Dalool
d95d1c9533 Add matches_handle, matches_file. 2020-09-09 14:34:50 -07:00
Ethan Dalool
d924e273b9 Let quickid functions take pathclass paths as arguments. 2020-09-09 14:34:08 -07:00
Ethan Dalool
52afa2489a Let quickid use any of hashlib.algorithms_guaranteed. 2020-09-09 14:33:45 -07:00
Ethan Dalool
7052b2c432 Fix __str__ in case self.token is not a string. 2020-09-09 12:55:09 -07:00