Commit Graph

325 Commits (2971d7e4d6930b90ac048f91dfa0f70faab368d5)

Author SHA1 Message Date
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
voussoir 8a0ed3d131
Add BytestringException, ParseError.
Allows for more granular catching on the caller side.
2021-01-18 01:07:08 -08:00
voussoir 7be7c2c908
Improve clarity of limiter_or_none logic. 2021-01-18 00:54:30 -08:00
voussoir e0771afa77 Add input_many. 2021-01-14 02:47:44 -08:00
voussoir 6666430ed8 Add small comment about stop_event. 2021-01-14 02:47:44 -08:00
voussoir b0801508c8 Update license, contact, donate for many projects. 2021-01-14 02:47:38 -08:00
voussoir ac6149094d Add a few docstrings, remove getpermission.py. 2021-01-13 16:37:28 -08:00
voussoir 3ef4b31c46 Print log warning when subparser has no docstring. 2021-01-13 16:11:45 -08:00
voussoir ba01c3b3b3 Bump to version 0.0.60. 2021-01-07 16:06:53 -08:00
voussoir c4dd1605a5 Add passwordy.random_hex in addition to urandom_hex. 2021-01-05 20:41:22 -08:00
voussoir cde65ca8f9 Add imagetools.rotate_by_exif. 2021-01-05 20:41:03 -08:00
voussoir 9f1ce3238e Rename variable to day_of_month. 2021-01-04 02:40:48 -08:00
voussoir 29a6f4ba42 Bump to version 0.0.59. 2021-01-04 02:35:47 -08:00
voussoir 166ed18004 Add expiry seconds option to cacheclass. 2021-01-01 16:24:22 -08:00
voussoir 593dfe5cb0 Add optional args_postprocessor. 2020-12-30 12:31:21 -08:00
voussoir 73f79af336 Add Mirrors header. 2020-12-23 19:54:45 -08:00
voussoir 591eefd4ba Add list of git mirrors. 2020-12-15 23:06:40 -08:00
voussoir f72c68bab2 Improve subproctools.quote. 2020-12-15 13:10:13 -08:00
voussoir f2456faf62 Convert line to string before sending it to stdout/stderr. 2020-12-08 23:42:13 -08:00
voussoir 7969e38872 Remove trailing newlines from lines read from files.
The other forms of pipeable.input don't include trailing newlines,
so this makes read_files more consistent with the rest.
2020-12-07 20:23:14 -08:00
voussoir 62b44be0d5 Print betterhelp to stderr, not stdout. 2020-12-07 20:09:36 -08:00
voussoir 6873beb823 Rename output -> stdout, add stderr. 2020-12-07 20:08:39 -08:00
voussoir 0a1a3a545e Add interactive.py to supercede getpermission with more prompts.
Will delete getpermission at a later date.
2020-12-06 15:48:57 -08:00
voussoir 60b6278876 Add subproctools.py. 2020-12-06 15:48:57 -08:00
voussoir 3e1a24a2a6 Move touch.py out of voussoirkit, into voussoir/cmd.
Within voussoirkit, the solution for touching a single file is
pathclass.Path.touch.
2020-12-06 15:48:57 -08:00
voussoir 4b1e396d9f Add docstring to pipeable.input. 2020-12-06 15:48:57 -08:00
voussoir 9340e172df Remove unused builtin_input. 2020-12-06 15:48:57 -08:00
voussoir 86f2186dd6 Move not in_pipe->list(lines) so it is inherent to multiline input. 2020-12-06 15:48:57 -08:00
voussoir 051b783964 Remove support for input(arg=None).
If the caller doesn't want to specify an arg, they should be using go().
2020-12-06 15:48:57 -08:00