Commit graph

553 commits

Author SHA1 Message Date
f7250f8157
Let downloady take ratemeters to assist caller's reporting. 2021-11-20 18:46:20 -08:00
2fbe24b272
Add argument --operatornotify-subject to override subject line. 2021-11-18 19:53:54 -08:00
1c1bb49cb8
Add ----- between epilogues. 2021-11-18 17:06:00 -08:00
e995bd502d
Use os.path.normpath instead of normalize_sep. 2021-11-18 17:02:32 -08:00
f1b88b49fe
Raise typeerror if not Path or str, and dedent by early return. 2021-11-14 22:18:03 -08:00
3049a62bc0
Use httperrors. 2021-11-13 01:21:32 -08:00
ef546886c9
Use sock.settimeout instead of module setdefaulttimeout. 2021-11-13 01:20:42 -08:00
1bbb8bedee
Use voussoirkit.httperrors. 2021-11-13 01:20:26 -08:00
e8a0b0a050
Let get_external_ip take a timeout. 2021-11-13 01:20:13 -08:00
53756662ad
Disambiguate kwargs. 2021-11-11 18:17:42 -08:00
8838d2ffee
Fix capitalization in epilogue. 2021-11-10 23:41:50 -08:00
dafd81fe92
Remove donate.md. 2021-11-10 23:41:34 -08:00
1c96931f85
Add argument thousands_separator. 2021-11-10 23:02:38 -08:00
729d3e5cf3
Improve bytestring docstring. 2021-11-10 23:02:22 -08:00
691b293939
Add argument raise_for_missing. 2021-11-10 23:01:55 -08:00
4dddb21f74
Bump to version 0.0.70. 2021-11-08 23:37:24 -08:00
5a33c9369e
Add global _did_earlybird to allow main_decorator to coexist.
This way you don't get duplicate handlers.
2021-11-08 23:35:00 -08:00
b1849ccefa
Add alias copy_dir = copy_directory. 2021-11-08 18:31:05 -08:00
9e507fd61b
Significantly speed up bdecode by always indexing into original data. 2021-11-07 19:31:55 -08:00
41ec819a35
Remove spinal.copy, just let the caller do it. 2021-11-07 19:28:32 -08:00
7c205522ce
Alphabetize some arguments. 2021-11-07 19:28:03 -08:00
fa1df6f49c
Make naming of "verify_hash" feature more consistent. 2021-11-07 19:27:49 -08:00
8cb50d8cac
Add betterhelp epilogue feature, flatten some logic. 2021-11-07 19:25:37 -08:00
40410496fc
Alphabetize functions. 2021-11-07 18:59:32 -08:00
6c063fd187
Add listdir_files, listdir_directories. 2021-11-07 18:59:02 -08:00
e737e60862
Revert files/directories argument to glob, use separate functions.
I thought it was clever at first, but now I'm feeling that having
mutually exclusive arguments to a single function in this case is
better served by just having two functions. Which also saves us
from ever having to deal with the exception case.
2021-11-07 18:58:35 -08:00
125681da18
Let pathclass.join take spawn_kwargs. 2021-11-07 18:55:28 -08:00
154f02f5bb
Use r-string for re.match windows drive letter. 2021-11-07 18:54:17 -08:00
281e95f184
Make force_sep a kw-only argument. 2021-11-07 18:53:57 -08:00
71830845d4
Add note that get_objects_by_id does not raise. 2021-11-07 18:52:50 -08:00
fbe2a664e5
Move decorate_and_route to flasktools. 2021-10-31 15:11:53 -07:00
5dff2d446b
Add docstring and comments to give_theme_cookie. 2021-10-31 13:30:34 -07:00
bae4953097
Move give_theme_cookie to flasktools. 2021-10-30 17:29:28 -07:00
f267d55f9d
Use functools.wraps. 2021-10-30 17:29:01 -07:00
38de31f1e2
Let the wrapped mains take additional arguments.
Just in case the application wants to do so.
2021-10-30 17:27:05 -07:00
73e722fa7b
Bump to version 0.0.69. 2021-10-25 12:31:37 -07:00
2756fb87e3
Add docstring for monkeypatch_requests. 2021-10-25 12:29:28 -07:00
ba6cb79529
If level is None, don't bother making the nullcontext. 2021-10-25 12:28:22 -07:00
c3c22270ee
Add earlybird_config. 2021-10-25 11:28:07 -07:00
6e315303de
Finally finally fix vlogging/operatornotify interplay?
I realized that vlogging.main_decorator shouldn't be using basic_config
in the first place because main decorator should always create a stderr
handler and I was just contorting the previous code to make that happen
via basic_config. So instead let's just add it ourselves.
2021-10-25 11:27:57 -07:00
414fc60f48
Reduce redundancy in get_level_by_argv with tryremove. 2021-10-25 10:57:30 -07:00
f1df7ef3f5
Bump to version 0.0.68. 2021-10-25 00:11:09 -07:00
083b466d07
Alphabetize functions. 2021-10-24 23:38:23 -07:00
7d9489b5ae
Add snake_case alias get_logger, getLogger. 2021-10-24 23:34:08 -07:00
ea08e2399e
Fix root.handlers check which I accidentally removed. 2021-10-24 23:30:41 -07:00
b68ac864fa
Return a pathclass object from @property drive. 2021-10-24 00:16:33 -07:00
d082a0fbb5
Finally solve vlogging/opnot interplay by just setting NOTSET always. 2021-10-18 18:20:17 -07:00
d38c7c074e
Add mutables.py.
I might regret this!
2021-10-15 22:57:23 -07:00
4e4fcdb77f
Add httperrors.py.
I'm on the fence about whether I'll really migrate everything over
to use this, but it's been sitting on my computer for weeks and I
haven't decided to delete it yet, so let's go.
2021-10-15 21:35:46 -07:00
bcb6c7df19
Fix use of pathclass in overwrite. 2021-10-12 21:12:24 -07:00