Scott Gasch [Tue, 13 Jun 2023 17:12:34 +0000 (10:12 -0700)]
Adding docs.
Scott Gasch [Tue, 13 Jun 2023 04:27:59 +0000 (21:27 -0700)]
Fix typo.
Scott Gasch [Tue, 13 Jun 2023 04:26:39 +0000 (21:26 -0700)]
More docstring updates.
Scott Gasch [Tue, 13 Jun 2023 04:23:47 +0000 (21:23 -0700)]
Adds type annotations.
Scott Gasch [Mon, 12 Jun 2023 23:35:20 +0000 (16:35 -0700)]
Improve docstrings.
Scott Gasch [Mon, 12 Jun 2023 22:31:21 +0000 (15:31 -0700)]
Cleanup docs.
Scott Gasch [Mon, 12 Jun 2023 22:24:48 +0000 (15:24 -0700)]
More sanity with exception types and raises docs.
Scott Gasch [Mon, 12 Jun 2023 19:09:15 +0000 (12:09 -0700)]
Remove useless lens.
Scott Gasch [Sun, 11 Jun 2023 16:11:48 +0000 (09:11 -0700)]
Just update pydocs.
Scott Gasch [Sun, 11 Jun 2023 03:47:11 +0000 (20:47 -0700)]
Log the site that raised the exception.
Scott Gasch [Sat, 10 Jun 2023 21:49:59 +0000 (14:49 -0700)]
More messing with the unhandled / non-zero record code.
Scott Gasch [Sat, 10 Jun 2023 21:41:00 +0000 (14:41 -0700)]
Add a str() around exception value in logging message.
Scott Gasch [Sat, 10 Jun 2023 21:34:45 +0000 (14:34 -0700)]
Use LoggingContext for non-zero / unhandled top level system-wide
record.
Scott Gasch [Sat, 10 Jun 2023 20:46:39 +0000 (13:46 -0700)]
Fix typo in docs
Scott Gasch [Sat, 10 Jun 2023 20:43:10 +0000 (13:43 -0700)]
Update logging_utils docs.
Scott Gasch [Sat, 10 Jun 2023 20:37:45 +0000 (13:37 -0700)]
Fix typo.
Scott Gasch [Sat, 10 Jun 2023 20:33:49 +0000 (13:33 -0700)]
Optional hooks for system wide non-zero exit log and unhandled top
level exception log.
Scott Gasch [Sat, 10 Jun 2023 16:48:15 +0000 (09:48 -0700)]
Fix link in README.md.
Scott Gasch [Sat, 10 Jun 2023 15:54:09 +0000 (08:54 -0700)]
Cut version 0.0.1b17
- Adds geocode from scottutilz.
- Fixup dedup_files and add some help/usage methods to config.
- Include filename on exit.
- Get rid of a typing: ignore.
- Fixup docs.
- Merge simple and typing.
- Fix docs
- duh
- ...and the sphinx docs.
- Oops, update comments.
- Persistent should be a type.
- Simple base interfaces.
- Minor typing cleanup.
- Comparable.. and better type hints on dict_utils.
- More Type -> type
- Type -> type
- Improve type hints again.
- Fix widths in ansi.py main color dumper.
- Add type hint for class arg.
- Cut version 0.0.1b16
- Cleanup code and update docs in bst.py.
- Fix comment typos and remove linter warnings.
- Fix type hints in executors.
- Add some functionality to string_utils and improve type hints in there.
- Improve type hints.
- Improve docs on bst.py again.
- Cut version 0.0.1b15
- small comment change.
- Dots instead of pass...
- Use Protocol to implement the interface typevar here instead.
- Adds find_lowest_node_less_than_or_equal_to.
- Cleanup code / comments.
- Improve type hints in bst.py.
- Better definition of "fuzzy".
- Iterate within a range.
- Fix squelch repeated log messages to work with modules loaded via "from foo import bar" type syntax.
- Log the interpreter path in debug mode.
- Cut version 0.0.1b14
- Fix another place for types -> typez
- Make cron.py warn on no --timeout which can lead to stale locks.
- Fix a bug around the computation of zookeeper lockfile expirations.
- Remove package.
- Use CreateFileWithMode for cache.
- Make persistent use tighter permissions by default.
- Fix clear_preexisting_handers functionality.
- Adds a doctest.
- Another types reference in the docs.
- Rename in the docs.
- types -> typez as the name mirrors a python core library name.
- Add and use valid_byte_count.
- Cut version 0.0.1b13
- Remove tprint, add docs.
- Document this logging stuff.
- Removes my hacky --lmodule which I will miss dearly but it was preventing the cool LoggingContext which is now added.
- Cleanup.
- Adds LoggingContext.
- Cut version 0.0.1b12
- Do this logging stuff the right way.
- Cut version 0.0.1b11
- Rename that class; it doesn't just prepend...
- Improve pydocs.
- Fix pydocs
- Create methods to dynamically prepend or append messages to all log messages produced by the current thread.
- Update docs.
- Cut version 0.0.1b10
- More cleanup.
- More spring cleaning.
- I guess it's 2023 now...
- Adds a new color.
- Augment logging at startup in debug mode; fix a bug in config.
- Fix logger.exception messages in example code.
- Fix logger.exception() calls.
- Use full path for grep.
- Make logging use execute_probabilstically.
- Improve docs and add a doctest.
- Adds execute_probabilistically.
- Minor tweaks.
- Adds CreateFileWithMode helper to create a new file with a given mode more easily.
- Cut version 0.0.1b9
Scott Gasch [Sat, 10 Jun 2023 15:51:32 +0000 (08:51 -0700)]
Adds geocode from scottutilz.
Scott Gasch [Fri, 9 Jun 2023 23:57:35 +0000 (16:57 -0700)]
Fixup dedup_files and add some help/usage methods to config.
Scott Gasch [Fri, 9 Jun 2023 21:30:38 +0000 (14:30 -0700)]
Include filename on exit.
Scott Gasch [Fri, 9 Jun 2023 03:05:23 +0000 (20:05 -0700)]
Get rid of a typing: ignore.
Scott Gasch [Fri, 9 Jun 2023 02:50:51 +0000 (19:50 -0700)]
Fixup docs.
Scott Gasch [Fri, 9 Jun 2023 02:49:46 +0000 (19:49 -0700)]
Merge simple and typing.
Scott Gasch [Fri, 9 Jun 2023 02:44:13 +0000 (19:44 -0700)]
Fix docs
Scott Gasch [Fri, 9 Jun 2023 02:34:37 +0000 (19:34 -0700)]
duh
Scott Gasch [Fri, 9 Jun 2023 02:33:10 +0000 (19:33 -0700)]
...and the sphinx docs.
Scott Gasch [Fri, 9 Jun 2023 02:30:59 +0000 (19:30 -0700)]
Oops, update comments.
Scott Gasch [Fri, 9 Jun 2023 02:28:56 +0000 (19:28 -0700)]
Persistent should be a type.
Scott Gasch [Fri, 9 Jun 2023 01:38:07 +0000 (18:38 -0700)]
Simple base interfaces.
Scott Gasch [Fri, 9 Jun 2023 00:52:57 +0000 (17:52 -0700)]
Minor typing cleanup.
Scott Gasch [Thu, 8 Jun 2023 20:59:13 +0000 (13:59 -0700)]
Comparable.. and better type hints on dict_utils.
Scott Gasch [Thu, 8 Jun 2023 18:43:14 +0000 (11:43 -0700)]
More Type -> type
Scott Gasch [Thu, 8 Jun 2023 18:40:53 +0000 (11:40 -0700)]
Type -> type
Scott Gasch [Thu, 8 Jun 2023 18:38:28 +0000 (11:38 -0700)]
Improve type hints again.
Scott Gasch [Thu, 8 Jun 2023 17:45:03 +0000 (10:45 -0700)]
Fix widths in ansi.py main color dumper.
Scott Gasch [Thu, 8 Jun 2023 17:17:09 +0000 (10:17 -0700)]
Add type hint for class arg.
Scott Gasch [Fri, 2 Jun 2023 23:22:05 +0000 (16:22 -0700)]
Cut version 0.0.1b16
- Cleanup code and update docs in bst.py.
- Fix comment typos and remove linter warnings.
- Fix type hints in executors.
- Add some functionality to string_utils and improve type hints in there.
- Improve type hints.
- Improve docs on bst.py again.
- Cut version 0.0.1b15
- small comment change.
- Dots instead of pass...
- Use Protocol to implement the interface typevar here instead.
- Adds find_lowest_node_less_than_or_equal_to.
- Cleanup code / comments.
- Improve type hints in bst.py.
- Better definition of "fuzzy".
- Iterate within a range.
- Fix squelch repeated log messages to work with modules loaded via "from foo import bar" type syntax.
- Log the interpreter path in debug mode.
- Cut version 0.0.1b14
- Fix another place for types -> typez
- Make cron.py warn on no --timeout which can lead to stale locks.
- Fix a bug around the computation of zookeeper lockfile expirations.
- Remove package.
- Use CreateFileWithMode for cache.
- Make persistent use tighter permissions by default.
- Fix clear_preexisting_handers functionality.
- Adds a doctest.
- Another types reference in the docs.
- Rename in the docs.
- types -> typez as the name mirrors a python core library name.
- Add and use valid_byte_count.
- Cut version 0.0.1b13
- Remove tprint, add docs.
- Document this logging stuff.
- Removes my hacky --lmodule which I will miss dearly but it was preventing the cool LoggingContext which is now added.
- Cleanup.
- Adds LoggingContext.
- Cut version 0.0.1b12
- Do this logging stuff the right way.
- Cut version 0.0.1b11
- Rename that class; it doesn't just prepend...
- Improve pydocs.
- Fix pydocs
- Create methods to dynamically prepend or append messages to all log messages produced by the current thread.
- Update docs.
- Cut version 0.0.1b10
- More cleanup.
- More spring cleaning.
- I guess it's 2023 now...
- Adds a new color.
- Augment logging at startup in debug mode; fix a bug in config.
- Fix logger.exception messages in example code.
- Fix logger.exception() calls.
- Use full path for grep.
- Make logging use execute_probabilstically.
- Improve docs and add a doctest.
- Adds execute_probabilistically.
- Minor tweaks.
- Adds CreateFileWithMode helper to create a new file with a given mode more easily.
- Cut version 0.0.1b9
Scott Gasch [Thu, 25 May 2023 16:01:37 +0000 (09:01 -0700)]
Cleanup code and update docs in bst.py.
Scott Gasch [Wed, 10 May 2023 19:53:09 +0000 (12:53 -0700)]
Fix comment typos and remove linter warnings.
Scott Gasch [Tue, 9 May 2023 21:09:37 +0000 (14:09 -0700)]
Fix type hints in executors.
Scott Gasch [Tue, 9 May 2023 15:10:01 +0000 (08:10 -0700)]
Add some functionality to string_utils and improve type hints in there.
Scott Gasch [Tue, 9 May 2023 04:23:49 +0000 (21:23 -0700)]
Improve type hints.
Scott Gasch [Mon, 8 May 2023 04:18:38 +0000 (21:18 -0700)]
Improve docs on bst.py again.
Scott Gasch [Mon, 8 May 2023 04:07:46 +0000 (21:07 -0700)]
Cut version 0.0.1b15
- small comment change.
- Dots instead of pass...
- Use Protocol to implement the interface typevar here instead.
- Adds find_lowest_node_less_than_or_equal_to.
- Cleanup code / comments.
- Improve type hints in bst.py.
- Better definition of "fuzzy".
- Iterate within a range.
- Fix squelch repeated log messages to work with modules loaded via "from foo import bar" type syntax.
- Log the interpreter path in debug mode.
- Cut version 0.0.1b14
- Fix another place for types -> typez
- Make cron.py warn on no --timeout which can lead to stale locks.
- Fix a bug around the computation of zookeeper lockfile expirations.
- Remove package.
- Use CreateFileWithMode for cache.
- Make persistent use tighter permissions by default.
- Fix clear_preexisting_handers functionality.
- Adds a doctest.
- Another types reference in the docs.
- Rename in the docs.
- types -> typez as the name mirrors a python core library name.
- Add and use valid_byte_count.
- Cut version 0.0.1b13
- Remove tprint, add docs.
- Document this logging stuff.
- Removes my hacky --lmodule which I will miss dearly but it was preventing the cool LoggingContext which is now added.
- Cleanup.
- Adds LoggingContext.
- Cut version 0.0.1b12
- Do this logging stuff the right way.
- Cut version 0.0.1b11
- Rename that class; it doesn't just prepend...
- Improve pydocs.
- Fix pydocs
- Create methods to dynamically prepend or append messages to all log messages produced by the current thread.
- Update docs.
- Cut version 0.0.1b10
- More cleanup.
- More spring cleaning.
- I guess it's 2023 now...
- Adds a new color.
- Augment logging at startup in debug mode; fix a bug in config.
- Fix logger.exception messages in example code.
- Fix logger.exception() calls.
- Use full path for grep.
- Make logging use execute_probabilstically.
- Improve docs and add a doctest.
- Adds execute_probabilistically.
- Minor tweaks.
- Adds CreateFileWithMode helper to create a new file with a given mode more easily.
- Cut version 0.0.1b9
Scott Gasch [Mon, 8 May 2023 04:06:07 +0000 (21:06 -0700)]
small comment change.
Scott Gasch [Mon, 8 May 2023 02:45:06 +0000 (19:45 -0700)]
Dots instead of pass...
Scott Gasch [Mon, 8 May 2023 02:43:26 +0000 (19:43 -0700)]
Use Protocol to implement the interface typevar here instead.
Scott Gasch [Sun, 7 May 2023 00:48:39 +0000 (17:48 -0700)]
Adds find_lowest_node_less_than_or_equal_to.
Scott Gasch [Sat, 6 May 2023 21:22:32 +0000 (14:22 -0700)]
Cleanup code / comments.
Scott Gasch [Sat, 6 May 2023 21:14:32 +0000 (14:14 -0700)]
Improve type hints in bst.py.
Scott Gasch [Fri, 5 May 2023 02:37:44 +0000 (19:37 -0700)]
Better definition of "fuzzy".
Scott Gasch [Fri, 5 May 2023 01:40:14 +0000 (18:40 -0700)]
Iterate within a range.
Scott Gasch [Mon, 3 Apr 2023 16:25:25 +0000 (09:25 -0700)]
Fix squelch repeated log messages to work with modules loaded via
"from foo import bar" type syntax.
Scott Gasch [Mon, 3 Apr 2023 16:06:02 +0000 (09:06 -0700)]
Log the interpreter path in debug mode.
Scott Gasch [Sun, 2 Apr 2023 19:17:39 +0000 (12:17 -0700)]
Cut version 0.0.1b14
Scott Gasch [Sun, 2 Apr 2023 19:14:12 +0000 (12:14 -0700)]
Fix another place for types -> typez
Scott Gasch [Sat, 1 Apr 2023 18:49:59 +0000 (11:49 -0700)]
Make cron.py warn on no --timeout which can lead to stale locks.
Scott Gasch [Sat, 1 Apr 2023 18:48:59 +0000 (11:48 -0700)]
Fix a bug around the computation of zookeeper lockfile expirations.
Scott Gasch [Sat, 18 Mar 2023 21:07:31 +0000 (14:07 -0700)]
Remove package.
Scott Gasch [Fri, 10 Mar 2023 20:36:55 +0000 (12:36 -0800)]
Use CreateFileWithMode for cache.
Scott Gasch [Mon, 6 Mar 2023 17:40:40 +0000 (09:40 -0800)]
Make persistent use tighter permissions by default.
Scott Gasch [Mon, 6 Mar 2023 04:36:39 +0000 (20:36 -0800)]
Fix clear_preexisting_handers functionality.
Scott Gasch [Sun, 5 Mar 2023 02:28:00 +0000 (18:28 -0800)]
Adds a doctest.
Scott Gasch [Sun, 5 Mar 2023 02:18:53 +0000 (18:18 -0800)]
Another types reference in the docs.
Scott Gasch [Sun, 5 Mar 2023 02:18:14 +0000 (18:18 -0800)]
Rename in the docs.
Scott Gasch [Sun, 5 Mar 2023 02:15:52 +0000 (18:15 -0800)]
types -> typez as the name mirrors a python core library name.
Scott Gasch [Sat, 4 Mar 2023 00:01:40 +0000 (16:01 -0800)]
Add and use valid_byte_count.
Scott Gasch [Fri, 3 Mar 2023 22:57:35 +0000 (14:57 -0800)]
Cut version 0.0.1b13
- Remove tprint, add docs.
- Document this logging stuff.
- Removes my hacky --lmodule which I will miss dearly but it was preventing the cool LoggingContext which is now added.
- Cleanup.
- Adds LoggingContext.
- Cut version 0.0.1b12
- Do this logging stuff the right way.
- Cut version 0.0.1b11
- Rename that class; it doesn't just prepend...
- Improve pydocs.
- Fix pydocs
- Create methods to dynamically prepend or append messages to all log messages produced by the current thread.
- Update docs.
- Cut version 0.0.1b10
- More cleanup.
- More spring cleaning.
- I guess it's 2023 now...
- Adds a new color.
- Augment logging at startup in debug mode; fix a bug in config.
- Fix logger.exception messages in example code.
- Fix logger.exception() calls.
- Use full path for grep.
- Make logging use execute_probabilstically.
- Improve docs and add a doctest.
- Adds execute_probabilistically.
- Minor tweaks.
- Adds CreateFileWithMode helper to create a new file with a given mode more easily.
- Cut version 0.0.1b9
Scott Gasch [Fri, 3 Mar 2023 20:08:21 +0000 (12:08 -0800)]
Remove tprint, add docs.
Scott Gasch [Fri, 3 Mar 2023 20:02:46 +0000 (12:02 -0800)]
Document this logging stuff.
Scott Gasch [Fri, 3 Mar 2023 19:20:44 +0000 (11:20 -0800)]
Removes my hacky --lmodule which I will miss dearly but it was
preventing the cool LoggingContext which is now added.
Scott Gasch [Fri, 3 Mar 2023 00:03:56 +0000 (16:03 -0800)]
Cleanup.
Scott Gasch [Thu, 2 Mar 2023 22:38:46 +0000 (14:38 -0800)]
Adds LoggingContext.
Scott Gasch [Thu, 2 Mar 2023 17:04:29 +0000 (09:04 -0800)]
Cut version 0.0.1b12
- Do this logging stuff the right way.
- Cut version 0.0.1b11
- Rename that class; it doesn't just prepend...
- Improve pydocs.
- Fix pydocs
- Create methods to dynamically prepend or append messages to all log messages produced by the current thread.
- Update docs.
- Cut version 0.0.1b10
- More cleanup.
- More spring cleaning.
- I guess it's 2023 now...
- Adds a new color.
- Augment logging at startup in debug mode; fix a bug in config.
- Fix logger.exception messages in example code.
- Fix logger.exception() calls.
- Use full path for grep.
- Make logging use execute_probabilstically.
- Improve docs and add a doctest.
- Adds execute_probabilistically.
- Minor tweaks.
- Adds CreateFileWithMode helper to create a new file with a given mode more easily.
- Cut version 0.0.1b9
Scott Gasch [Thu, 2 Mar 2023 06:16:17 +0000 (22:16 -0800)]
Do this logging stuff the right way.
Scott Gasch [Thu, 2 Mar 2023 00:14:21 +0000 (16:14 -0800)]
Cut version 0.0.1b11
- Rename that class; it doesn't just prepend...
- Improve pydocs.
- Fix pydocs
- Create methods to dynamically prepend or append messages to all log messages produced by the current thread.
- Update docs.
- Cut version 0.0.1b10
- More cleanup.
- More spring cleaning.
- I guess it's 2023 now...
- Adds a new color.
- Augment logging at startup in debug mode; fix a bug in config.
- Fix logger.exception messages in example code.
- Fix logger.exception() calls.
- Use full path for grep.
- Make logging use execute_probabilstically.
- Improve docs and add a doctest.
- Adds execute_probabilistically.
- Minor tweaks.
- Adds CreateFileWithMode helper to create a new file with a given mode more easily.
- Cut version 0.0.1b9
Scott Gasch [Wed, 1 Mar 2023 23:32:48 +0000 (15:32 -0800)]
Rename that class; it doesn't just prepend...
Scott Gasch [Wed, 1 Mar 2023 23:30:18 +0000 (15:30 -0800)]
Improve pydocs.
Scott Gasch [Wed, 1 Mar 2023 23:23:39 +0000 (15:23 -0800)]
Fix pydocs
Scott Gasch [Wed, 1 Mar 2023 23:08:43 +0000 (15:08 -0800)]
Create methods to dynamically prepend or append messages to all log
messages produced by the current thread.
Scott Gasch [Wed, 1 Mar 2023 20:45:24 +0000 (12:45 -0800)]
Update docs.
Scott Gasch [Wed, 1 Mar 2023 05:19:37 +0000 (21:19 -0800)]
Cut version 0.0.1b10
- More cleanup.
- More spring cleaning.
- I guess it's 2023 now...
- Adds a new color.
- Augment logging at startup in debug mode; fix a bug in config.
- Fix logger.exception messages in example code.
- Fix logger.exception() calls.
- Use full path for grep.
- Make logging use execute_probabilstically.
- Improve docs and add a doctest.
- Adds execute_probabilistically.
- Minor tweaks.
- Adds CreateFileWithMode helper to create a new file with a given mode more easily.
- Cut version 0.0.1b9
Scott Gasch [Wed, 1 Mar 2023 05:08:28 +0000 (21:08 -0800)]
More cleanup.
Scott Gasch [Tue, 28 Feb 2023 17:41:26 +0000 (09:41 -0800)]
More spring cleaning.
Scott Gasch [Tue, 28 Feb 2023 16:09:57 +0000 (08:09 -0800)]
I guess it's 2023 now...
Scott Gasch [Tue, 28 Feb 2023 16:06:30 +0000 (08:06 -0800)]
Adds a new color.
Scott Gasch [Mon, 27 Feb 2023 02:16:38 +0000 (18:16 -0800)]
Augment logging at startup in debug mode; fix a bug in config.
Scott Gasch [Sun, 26 Feb 2023 17:34:12 +0000 (09:34 -0800)]
Fix logger.exception messages in example code.
Scott Gasch [Sun, 26 Feb 2023 17:02:45 +0000 (09:02 -0800)]
Fix logger.exception() calls.
Scott Gasch [Sun, 26 Feb 2023 17:01:23 +0000 (09:01 -0800)]
Use full path for grep.
Scott Gasch [Sat, 18 Feb 2023 21:38:18 +0000 (13:38 -0800)]
Make logging use execute_probabilstically.
Scott Gasch [Sat, 18 Feb 2023 19:56:00 +0000 (11:56 -0800)]
Improve docs and add a doctest.
Scott Gasch [Sat, 18 Feb 2023 19:51:51 +0000 (11:51 -0800)]
Adds execute_probabilistically.
Scott Gasch [Fri, 10 Feb 2023 00:26:46 +0000 (16:26 -0800)]
Minor tweaks.
Scott Gasch [Thu, 9 Feb 2023 23:34:50 +0000 (15:34 -0800)]
Adds CreateFileWithMode helper to create a new file with a given
mode more easily.
Scott Gasch [Thu, 9 Feb 2023 22:14:42 +0000 (14:14 -0800)]
Cut version 0.0.1b9
- Fix typo in README.
- Remove the requirement that filename is a file from is_*.
- Typos in docs.
- Update docs.
- Adds remove_edge and shortest path.
- Cut version 0.0.1b8
Scott Gasch [Thu, 9 Feb 2023 22:05:12 +0000 (14:05 -0800)]
Fix typo in README.
Scott Gasch [Wed, 11 Jan 2023 04:36:01 +0000 (20:36 -0800)]
Remove the requirement that filename is a file from is_*.