Commit Graph

603 Commits (16d0c0dee3746cf77786b1826f93e52c6d68c5cc)

Author SHA1 Message Date
voussoir 03bcded66a
Add main_level_by_argv, the next iteration of set_level_by_argv.
I have realized that when passing log levels by argv, it's better
for them to go to the root logger instead of the module logger,
since that would not affect the logs that come from imported modules.
2021-05-16 21:02:04 -07:00
voussoir cb4cef9339
Allow --operatornotify-level to act as opt in without both flags. 2021-05-16 20:43:28 -07:00
voussoir bfb06d46c9
Add parameters force_hours, force_minutes. 2021-05-16 20:31:35 -07:00
voussoir 5d9bbd68ee
Bump to version 0.0.64. 2021-05-14 09:54:19 -07:00
voussoir a45c5908f0
Explain main_log_context *args. 2021-05-14 09:53:19 -07:00
voussoir c744135b21
Only reset the buffer if notify did not raise an exception. 2021-05-14 09:53:02 -07:00
voussoir f6ded0a879
Add sqlhelpers.executescript. 2021-05-08 18:26:43 -07:00
voussoir ea284c9199
Add hash_class passthrough argument. 2021-05-08 18:23:28 -07:00
voussoir 313070754f
Add callback_post_file. 2021-05-08 09:39:48 -07:00
voussoir 133225f77c
Add parens to dotdict repr. 2021-05-08 09:39:22 -07:00
voussoir 65f766928c
Add 'written' to copy_file results dotdict. 2021-05-08 09:39:13 -07:00
voussoir 9bdee227b3
Replace dotdict init by dict with init by kwargs. 2021-05-08 09:26:10 -07:00
voussoir 450f42bca6
Add source to spinal returned dotdict.
Just in case you store the results and process them later, out of
order, etc.
2021-05-08 09:02:22 -07:00
voussoir 14c9cb5212
Add SILENT as a module constant. 2021-05-08 09:00:48 -07:00
voussoir c34f875014
Add operatornotify.LogHandler, LogHandlerContext. 2021-05-07 20:03:56 -07:00
voussoir b871a083b1
Add vlogging.get_level_by_name. 2021-05-06 19:29:02 -07:00
voussoir 9e0509ae17
Improve expressionmatch docstrings. 2021-05-05 19:18:37 -07:00
voussoir af5ec0b52e
Add argparse to eternalseptember. 2021-05-03 19:03:28 -07:00
voussoir fd296fdbb0
Replace call to pipeable.output with pipeable.stdout. 2021-05-03 18:57:04 -07:00
voussoir 44271a56c4
Add argparse, betterhelp to bytestring. 2021-05-03 18:55:12 -07:00
voussoir 12a0c81819
Add docstrings to Backoff class's methods. 2021-05-03 18:32:18 -07:00
voussoir 60abcbc8e3
Move assignment of backoff.x to the base class. 2021-05-03 18:31:58 -07:00
voussoir 7bfe0a48ef
Use regular __doc__ instead of own DOCSTRING variable.
So that help(operatornotify) works as expected.
2021-05-03 18:24:37 -07:00
voussoir d03c653b46
Add operatornotify.py. 2021-04-28 19:36:01 -07:00
voussoir 6de9fb3eaf
Fix is_special_file handling of pathclass. 2021-04-28 19:29:18 -07:00
voussoir 7b709edda9
Bump to version 0.0.63. 2021-04-25 20:21:33 -07:00
voussoir 269fea9cb7
Fix special filenames being abspathed. 2021-04-25 20:20:43 -07:00
voussoir 77a101c76c
Update CONTACT.md with link to voussoir.net. 2021-04-04 17:11:21 -07:00
voussoir dbbd3f7f00
Bump to version 0.0.62. 2021-04-03 11:08:04 -07:00
voussoir 57e12faca9
Add flasktools.py. 2021-04-02 18:24:40 -07:00
voussoir 6d6ae3bd5c
Add vlogging to downloady. 2021-03-10 16:37:07 -08:00
voussoir 7f5c298418
Bump to version 0.0.61. 2021-01-29 12:15:07 -08:00
voussoir c1703357e8
Add main_fallback name to vlogging.getLogger. 2021-01-29 12:12:50 -08:00
voussoir 80d66c4117
Alphabetize imports. 2021-01-29 12:12:50 -08:00
voussoir 0cb90875bd
Use safeprint instead of always encoding to ascii. 2021-01-29 12:12:49 -08:00
voussoir d9e1e6bf7c
Add bytes_per_second to hash_file. 2021-01-29 12:12:49 -08:00
voussoir 1d90086d96
Improve spinal.walk with glob_ arguments.
This saves the caller from having to filter the results, and saves
us from instantiating Path objects that we don't want. This improves
spinal's position as the one-stop-shop for file tree iteration.
2021-01-29 12:12:49 -08:00
voussoir c893a21e14
Improve consistency of callback_permission_denied, hash_progress. 2021-01-29 12:12:49 -08:00
voussoir 2bb71c6ac2
Remove callback_exclusion. 2021-01-29 12:12:48 -08:00
voussoir 0b7eda1e36
Use path.size instead of os.path.getsize. 2021-01-29 12:12:48 -08:00
voussoir 262580ab41
Use vlogging instead of logging. 2021-01-29 12:12:48 -08:00
voussoir 9070c5df82
Let hash_class be mandatory argument, return actual hasher object. 2021-01-29 12:12:42 -08:00
voussoir b41597ec71
Call callback_progress before the byte limiter sleeps. 2021-01-25 14:18:44 -08:00
voussoir 51bbe54f2d
Improve winglob docstring.
Clarify that "right results" really means consistent with windows
behavior.
2021-01-25 02:45:07 -08:00
voussoir f7e81d4f7f
Add module docstring to pipeable. 2021-01-19 17:04:13 -08:00
voussoir 32d8137201
Return dotdict instead of list from copy_file, copy_dir. 2021-01-18 12:12:27 -08:00
voussoir 5c0482032d
Rename callback_v1 -> callback_progress_v1. 2021-01-18 12:04:43 -08:00
voussoir aa68744107
Replace duplicated docstring remarks with simple hints. 2021-01-18 01:34:27 -08:00
voussoir 826c2f5e5d
Simplify this destination_file yielder. 2021-01-18 01:18:55 -08:00
voussoir acab8e0c78
Don't remove spaces from input string.
This was allowing inputs like "5 5" to equal 55.
2021-01-18 01:08:35 -08:00