pyutils.git
10 months agoAdds a __repr__ to graph. master
Scott Gasch [Tue, 20 Jun 2023 04:00:59 +0000 (21:00 -0700)]
Adds a __repr__ to graph.

10 months agoCut version 0.0.1b18
Scott Gasch [Tue, 13 Jun 2023 22:08:13 +0000 (15:08 -0700)]
Cut version 0.0.1b18

- Update docs + doctest.
- Adding docs.
- Fix typo.
- More docstring updates.
- Adds type annotations.
- Improve docstrings.
- Cleanup docs.
- More sanity with exception types and raises docs.
- Remove useless lens.
- Just update pydocs.
- Log the site that raised the exception.
- More messing with the unhandled / non-zero record code.
- Add a str() around exception value in logging message.
- Use LoggingContext for non-zero / unhandled top level system-wide record.
- Fix typo in docs
- Update logging_utils docs.
- Fix typo.
- Optional hooks for system wide non-zero exit log and unhandled top level exception log.
- Fix link in README.md.
- 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

10 months agoUpdate docs + doctest.
Scott Gasch [Tue, 13 Jun 2023 20:50:42 +0000 (13:50 -0700)]
Update docs + doctest.

10 months agoAdding docs.
Scott Gasch [Tue, 13 Jun 2023 17:12:34 +0000 (10:12 -0700)]
Adding docs.

10 months agoFix typo.
Scott Gasch [Tue, 13 Jun 2023 04:27:59 +0000 (21:27 -0700)]
Fix typo.

10 months agoMore docstring updates.
Scott Gasch [Tue, 13 Jun 2023 04:26:39 +0000 (21:26 -0700)]
More docstring updates.

10 months agoAdds type annotations.
Scott Gasch [Tue, 13 Jun 2023 04:23:47 +0000 (21:23 -0700)]
Adds type annotations.

10 months agoImprove docstrings.
Scott Gasch [Mon, 12 Jun 2023 23:35:20 +0000 (16:35 -0700)]
Improve docstrings.

10 months agoCleanup docs.
Scott Gasch [Mon, 12 Jun 2023 22:31:21 +0000 (15:31 -0700)]
Cleanup docs.

10 months agoMore sanity with exception types and raises docs.
Scott Gasch [Mon, 12 Jun 2023 22:24:48 +0000 (15:24 -0700)]
More sanity with exception types and raises docs.

10 months agoRemove useless lens.
Scott Gasch [Mon, 12 Jun 2023 19:09:15 +0000 (12:09 -0700)]
Remove useless lens.

10 months agoJust update pydocs.
Scott Gasch [Sun, 11 Jun 2023 16:11:48 +0000 (09:11 -0700)]
Just update pydocs.

10 months agoLog the site that raised the exception.
Scott Gasch [Sun, 11 Jun 2023 03:47:11 +0000 (20:47 -0700)]
Log the site that raised the exception.

10 months agoMore messing with the unhandled / non-zero record code.
Scott Gasch [Sat, 10 Jun 2023 21:49:59 +0000 (14:49 -0700)]
More messing with the unhandled / non-zero record code.

10 months agoAdd a str() around exception value in logging message.
Scott Gasch [Sat, 10 Jun 2023 21:41:00 +0000 (14:41 -0700)]
Add a str() around exception value in logging message.

10 months agoUse LoggingContext for non-zero / unhandled top level system-wide
Scott Gasch [Sat, 10 Jun 2023 21:34:45 +0000 (14:34 -0700)]
Use LoggingContext for non-zero / unhandled top level system-wide
record.

10 months agoFix typo in docs
Scott Gasch [Sat, 10 Jun 2023 20:46:39 +0000 (13:46 -0700)]
Fix typo in docs

10 months agoUpdate logging_utils docs.
Scott Gasch [Sat, 10 Jun 2023 20:43:10 +0000 (13:43 -0700)]
Update logging_utils docs.

10 months agoFix typo.
Scott Gasch [Sat, 10 Jun 2023 20:37:45 +0000 (13:37 -0700)]
Fix typo.

10 months agoOptional hooks for system wide non-zero exit log and unhandled top
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.

10 months agoFix link in README.md.
Scott Gasch [Sat, 10 Jun 2023 16:48:15 +0000 (09:48 -0700)]
Fix link in README.md.

10 months agoCut version 0.0.1b17
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

10 months agoAdds geocode from scottutilz.
Scott Gasch [Sat, 10 Jun 2023 15:51:32 +0000 (08:51 -0700)]
Adds geocode from scottutilz.

10 months agoFixup dedup_files and add some help/usage methods to config.
Scott Gasch [Fri, 9 Jun 2023 23:57:35 +0000 (16:57 -0700)]
Fixup dedup_files and add some help/usage methods to config.

10 months agoInclude filename on exit.
Scott Gasch [Fri, 9 Jun 2023 21:30:38 +0000 (14:30 -0700)]
Include filename on exit.

10 months agoGet rid of a typing: ignore.
Scott Gasch [Fri, 9 Jun 2023 03:05:23 +0000 (20:05 -0700)]
Get rid of a typing: ignore.

10 months agoFixup docs.
Scott Gasch [Fri, 9 Jun 2023 02:50:51 +0000 (19:50 -0700)]
Fixup docs.

10 months agoMerge simple and typing.
Scott Gasch [Fri, 9 Jun 2023 02:49:46 +0000 (19:49 -0700)]
Merge simple and typing.

10 months agoFix docs
Scott Gasch [Fri, 9 Jun 2023 02:44:13 +0000 (19:44 -0700)]
Fix docs

10 months agoduh
Scott Gasch [Fri, 9 Jun 2023 02:34:37 +0000 (19:34 -0700)]
duh

10 months ago...and the sphinx docs.
Scott Gasch [Fri, 9 Jun 2023 02:33:10 +0000 (19:33 -0700)]
...and the sphinx docs.

10 months agoOops, update comments.
Scott Gasch [Fri, 9 Jun 2023 02:30:59 +0000 (19:30 -0700)]
Oops, update comments.

10 months agoPersistent should be a type.
Scott Gasch [Fri, 9 Jun 2023 02:28:56 +0000 (19:28 -0700)]
Persistent should be a type.

10 months agoSimple base interfaces.
Scott Gasch [Fri, 9 Jun 2023 01:38:07 +0000 (18:38 -0700)]
Simple base interfaces.

10 months agoMinor typing cleanup.
Scott Gasch [Fri, 9 Jun 2023 00:52:57 +0000 (17:52 -0700)]
Minor typing cleanup.

10 months agoComparable.. and better type hints on dict_utils.
Scott Gasch [Thu, 8 Jun 2023 20:59:13 +0000 (13:59 -0700)]
Comparable.. and better type hints on dict_utils.

11 months agoMore Type -> type
Scott Gasch [Thu, 8 Jun 2023 18:43:14 +0000 (11:43 -0700)]
More Type -> type

11 months agoType -> type
Scott Gasch [Thu, 8 Jun 2023 18:40:53 +0000 (11:40 -0700)]
Type -> type

11 months agoImprove type hints again.
Scott Gasch [Thu, 8 Jun 2023 18:38:28 +0000 (11:38 -0700)]
Improve type hints again.

11 months agoFix widths in ansi.py main color dumper.
Scott Gasch [Thu, 8 Jun 2023 17:45:03 +0000 (10:45 -0700)]
Fix widths in ansi.py main color dumper.

11 months agoAdd type hint for class arg.
Scott Gasch [Thu, 8 Jun 2023 17:17:09 +0000 (10:17 -0700)]
Add type hint for class arg.

11 months agoCut version 0.0.1b16
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

11 months agoCleanup code and update docs in bst.py.
Scott Gasch [Thu, 25 May 2023 16:01:37 +0000 (09:01 -0700)]
Cleanup code and update docs in bst.py.

11 months agoFix comment typos and remove linter warnings.
Scott Gasch [Wed, 10 May 2023 19:53:09 +0000 (12:53 -0700)]
Fix comment typos and remove linter warnings.

11 months agoFix type hints in executors.
Scott Gasch [Tue, 9 May 2023 21:09:37 +0000 (14:09 -0700)]
Fix type hints in executors.

11 months agoAdd some functionality to string_utils and improve type hints in there.
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.

12 months agoImprove type hints.
Scott Gasch [Tue, 9 May 2023 04:23:49 +0000 (21:23 -0700)]
Improve type hints.

12 months agoImprove docs on bst.py again.
Scott Gasch [Mon, 8 May 2023 04:18:38 +0000 (21:18 -0700)]
Improve docs on bst.py again.

12 months agoCut version 0.0.1b15
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

12 months agosmall comment change.
Scott Gasch [Mon, 8 May 2023 04:06:07 +0000 (21:06 -0700)]
small comment change.

12 months agoDots instead of pass...
Scott Gasch [Mon, 8 May 2023 02:45:06 +0000 (19:45 -0700)]
Dots instead of pass...

12 months agoUse Protocol to implement the interface typevar here instead.
Scott Gasch [Mon, 8 May 2023 02:43:26 +0000 (19:43 -0700)]
Use Protocol to implement the interface typevar here instead.

12 months agoAdds find_lowest_node_less_than_or_equal_to.
Scott Gasch [Sun, 7 May 2023 00:48:39 +0000 (17:48 -0700)]
Adds find_lowest_node_less_than_or_equal_to.

12 months agoCleanup code / comments.
Scott Gasch [Sat, 6 May 2023 21:22:32 +0000 (14:22 -0700)]
Cleanup code / comments.

12 months agoImprove type hints in bst.py.
Scott Gasch [Sat, 6 May 2023 21:14:32 +0000 (14:14 -0700)]
Improve type hints in bst.py.

12 months agoBetter definition of "fuzzy".
Scott Gasch [Fri, 5 May 2023 02:37:44 +0000 (19:37 -0700)]
Better definition of "fuzzy".

12 months agoIterate within a range.
Scott Gasch [Fri, 5 May 2023 01:40:14 +0000 (18:40 -0700)]
Iterate within a range.

13 months agoFix squelch repeated log messages to work with modules loaded via
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.

13 months agoLog the interpreter path in debug mode.
Scott Gasch [Mon, 3 Apr 2023 16:06:02 +0000 (09:06 -0700)]
Log the interpreter path in debug mode.

13 months agoCut version 0.0.1b14
Scott Gasch [Sun, 2 Apr 2023 19:17:39 +0000 (12:17 -0700)]
Cut version 0.0.1b14

13 months agoFix another place for types -> typez
Scott Gasch [Sun, 2 Apr 2023 19:14:12 +0000 (12:14 -0700)]
Fix another place for types -> typez

13 months agoMake cron.py warn on no --timeout which can lead to stale locks.
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.

13 months agoFix a bug around the computation of zookeeper lockfile expirations.
Scott Gasch [Sat, 1 Apr 2023 18:48:59 +0000 (11:48 -0700)]
Fix a bug around the computation of zookeeper lockfile expirations.

13 months agoRemove package.
Scott Gasch [Sat, 18 Mar 2023 21:07:31 +0000 (14:07 -0700)]
Remove package.

13 months agoUse CreateFileWithMode for cache.
Scott Gasch [Fri, 10 Mar 2023 20:36:55 +0000 (12:36 -0800)]
Use CreateFileWithMode for cache.

14 months agoMake persistent use tighter permissions by default.
Scott Gasch [Mon, 6 Mar 2023 17:40:40 +0000 (09:40 -0800)]
Make persistent use tighter permissions by default.

14 months agoFix clear_preexisting_handers functionality.
Scott Gasch [Mon, 6 Mar 2023 04:36:39 +0000 (20:36 -0800)]
Fix clear_preexisting_handers functionality.

14 months agoAdds a doctest.
Scott Gasch [Sun, 5 Mar 2023 02:28:00 +0000 (18:28 -0800)]
Adds a doctest.

14 months agoAnother types reference in the docs.
Scott Gasch [Sun, 5 Mar 2023 02:18:53 +0000 (18:18 -0800)]
Another types reference in the docs.

14 months agoRename in the docs.
Scott Gasch [Sun, 5 Mar 2023 02:18:14 +0000 (18:18 -0800)]
Rename in the docs.

14 months agotypes -> typez as the name mirrors a python core library name.
Scott Gasch [Sun, 5 Mar 2023 02:15:52 +0000 (18:15 -0800)]
types -> typez as the name mirrors a python core library name.

14 months agoAdd and use valid_byte_count.
Scott Gasch [Sat, 4 Mar 2023 00:01:40 +0000 (16:01 -0800)]
Add and use valid_byte_count.

14 months agoCut version 0.0.1b13
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

14 months agoRemove tprint, add docs.
Scott Gasch [Fri, 3 Mar 2023 20:08:21 +0000 (12:08 -0800)]
Remove tprint, add docs.

14 months agoDocument this logging stuff.
Scott Gasch [Fri, 3 Mar 2023 20:02:46 +0000 (12:02 -0800)]
Document this logging stuff.

14 months agoRemoves my hacky --lmodule which I will miss dearly but it was
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.

14 months agoCleanup.
Scott Gasch [Fri, 3 Mar 2023 00:03:56 +0000 (16:03 -0800)]
Cleanup.

14 months agoAdds LoggingContext.
Scott Gasch [Thu, 2 Mar 2023 22:38:46 +0000 (14:38 -0800)]
Adds LoggingContext.

14 months agoCut version 0.0.1b12
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

14 months agoDo this logging stuff the right way.
Scott Gasch [Thu, 2 Mar 2023 06:16:17 +0000 (22:16 -0800)]
Do this logging stuff the right way.

14 months agoCut version 0.0.1b11
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

14 months agoRename that class; it doesn't just prepend...
Scott Gasch [Wed, 1 Mar 2023 23:32:48 +0000 (15:32 -0800)]
Rename that class; it doesn't just prepend...

14 months agoImprove pydocs.
Scott Gasch [Wed, 1 Mar 2023 23:30:18 +0000 (15:30 -0800)]
Improve pydocs.

14 months agoFix pydocs
Scott Gasch [Wed, 1 Mar 2023 23:23:39 +0000 (15:23 -0800)]
Fix pydocs

14 months agoCreate methods to dynamically prepend or append messages to all log
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.

14 months agoUpdate docs.
Scott Gasch [Wed, 1 Mar 2023 20:45:24 +0000 (12:45 -0800)]
Update docs.

14 months agoCut version 0.0.1b10
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

14 months agoMore cleanup.
Scott Gasch [Wed, 1 Mar 2023 05:08:28 +0000 (21:08 -0800)]
More cleanup.

14 months agoMore spring cleaning.
Scott Gasch [Tue, 28 Feb 2023 17:41:26 +0000 (09:41 -0800)]
More spring cleaning.

14 months agoI guess it's 2023 now...
Scott Gasch [Tue, 28 Feb 2023 16:09:57 +0000 (08:09 -0800)]
I guess it's 2023 now...

14 months agoAdds a new color.
Scott Gasch [Tue, 28 Feb 2023 16:06:30 +0000 (08:06 -0800)]
Adds a new color.

14 months agoAugment logging at startup in debug mode; fix a bug in config.
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.

14 months agoFix logger.exception messages in example code.
Scott Gasch [Sun, 26 Feb 2023 17:34:12 +0000 (09:34 -0800)]
Fix logger.exception messages in example code.

14 months agoFix logger.exception() calls.
Scott Gasch [Sun, 26 Feb 2023 17:02:45 +0000 (09:02 -0800)]
Fix logger.exception() calls.

14 months agoUse full path for grep.
Scott Gasch [Sun, 26 Feb 2023 17:01:23 +0000 (09:01 -0800)]
Use full path for grep.

14 months agoMake logging use execute_probabilstically.
Scott Gasch [Sat, 18 Feb 2023 21:38:18 +0000 (13:38 -0800)]
Make logging use execute_probabilstically.

14 months agoImprove docs and add a doctest.
Scott Gasch [Sat, 18 Feb 2023 19:56:00 +0000 (11:56 -0800)]
Improve docs and add a doctest.

14 months agoAdds execute_probabilistically.
Scott Gasch [Sat, 18 Feb 2023 19:51:51 +0000 (11:51 -0800)]
Adds execute_probabilistically.

14 months agoMinor tweaks.
Scott Gasch [Fri, 10 Feb 2023 00:26:46 +0000 (16:26 -0800)]
Minor tweaks.

14 months agoAdds CreateFileWithMode helper to create a new file with a given
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.