python_utils.git
3 years agoAdds a trie class.
Scott Gasch [Fri, 24 Sep 2021 05:10:30 +0000 (22:10 -0700)]
Adds a trie class.

3 years agoFixup argparse_utils' doctest and tweak test runner.
Scott Gasch [Thu, 23 Sep 2021 16:40:48 +0000 (09:40 -0700)]
Fixup argparse_utils' doctest and tweak test runner.

3 years agoFixup test runner.
Scott Gasch [Thu, 23 Sep 2021 15:31:49 +0000 (08:31 -0700)]
Fixup test runner.

3 years agoVarious little changes. Naming. Durations as arguments.
Scott Gasch [Thu, 23 Sep 2021 00:37:17 +0000 (17:37 -0700)]
Various little changes.  Naming.  Durations as arguments.

3 years agoUpdated docs.
Scott Gasch [Wed, 22 Sep 2021 21:25:16 +0000 (14:25 -0700)]
Updated docs.

3 years agoImprove persistent after actually using it.
Scott Gasch [Wed, 22 Sep 2021 20:40:41 +0000 (13:40 -0700)]
Improve persistent after actually using it.

3 years agoPersistent state.
Scott Gasch [Wed, 22 Sep 2021 01:25:50 +0000 (18:25 -0700)]
Persistent state.

3 years agoDedup a list w/ a set.
Scott Gasch [Wed, 22 Sep 2021 01:25:17 +0000 (18:25 -0700)]
Dedup a list w/ a set.

3 years agoPersisted singleton
Scott Gasch [Mon, 20 Sep 2021 05:13:47 +0000 (22:13 -0700)]
Persisted singleton

3 years agoPersistent state
Scott Gasch [Mon, 20 Sep 2021 00:45:04 +0000 (17:45 -0700)]
Persistent state

3 years agoMost/least common item in a list.
Scott Gasch [Sun, 19 Sep 2021 01:12:26 +0000 (18:12 -0700)]
Most/least common item in a list.

3 years agoA very important change to docs.
Scott Gasch [Thu, 16 Sep 2021 15:48:06 +0000 (08:48 -0700)]
A very important change to docs.

3 years agoLogging + documentation.
Scott Gasch [Wed, 15 Sep 2021 23:08:50 +0000 (16:08 -0700)]
Logging + documentation.

3 years agoAdding doctests. Also added a logging filter.
Scott Gasch [Wed, 15 Sep 2021 16:32:08 +0000 (09:32 -0700)]
Adding doctests.  Also added a logging filter.

3 years agoAdding more tests, working on the test harness.
Scott Gasch [Fri, 10 Sep 2021 20:23:31 +0000 (13:23 -0700)]
Adding more tests, working on the test harness.

3 years agoUpdate tests / test harness.
Scott Gasch [Thu, 9 Sep 2021 23:42:13 +0000 (16:42 -0700)]
Update tests / test harness.

3 years agoAdd doctests to some of this stuff.
Scott Gasch [Thu, 9 Sep 2021 06:29:05 +0000 (23:29 -0700)]
Add doctests to some of this stuff.

3 years agoVarious changes.
Scott Gasch [Wed, 8 Sep 2021 05:20:40 +0000 (22:20 -0700)]
Various changes.

3 years agoMake config_loadfile augment cmdline instead of klobbering.
Scott Gasch [Fri, 6 Aug 2021 18:30:28 +0000 (11:30 -0700)]
Make config_loadfile augment cmdline instead of klobbering.

3 years agoGet rid of blacklist/whitelist; use blocklist/allowlist instead.
Scott Gasch [Fri, 6 Aug 2021 18:20:14 +0000 (11:20 -0700)]
Get rid of blacklist/whitelist; use blocklist/allowlist instead.

3 years agoMake loadfile work.
Scott Gasch [Fri, 6 Aug 2021 18:19:48 +0000 (11:19 -0700)]
Make loadfile work.

3 years agoAdds profanity filter, fixes bugs.
Scott Gasch [Thu, 5 Aug 2021 21:56:34 +0000 (14:56 -0700)]
Adds profanity filter, fixes bugs.

3 years agoLockfile custom command, fixup minor things.
Scott Gasch [Thu, 29 Jul 2021 16:11:05 +0000 (09:11 -0700)]
Lockfile custom command, fixup minor things.

3 years agoMoney, Rate, CentCount and a bunch of bugfixes.
Scott Gasch [Thu, 29 Jul 2021 05:13:43 +0000 (22:13 -0700)]
Money, Rate, CentCount and a bunch of bugfixes.

3 years agoRecord streams.
Scott Gasch [Sat, 17 Jul 2021 21:47:01 +0000 (14:47 -0700)]
Record streams.

3 years agoUpdate ignore
Scott Gasch [Sat, 17 Jul 2021 04:45:30 +0000 (21:45 -0700)]
Update ignore

3 years agoVarious
Scott Gasch [Sat, 17 Jul 2021 04:43:44 +0000 (21:43 -0700)]
Various

3 years agoRename timer; add a test for OutputContext.
Scott Gasch [Sat, 17 Jul 2021 04:43:11 +0000 (21:43 -0700)]
Rename timer; add a test for OutputContext.

3 years agoRandom changes.
Scott Gasch [Tue, 13 Jul 2021 03:52:49 +0000 (20:52 -0700)]
Random changes.

3 years agoRandom cleanups and type safety. Created ml subdir.
Scott Gasch [Sun, 11 Jul 2021 17:16:07 +0000 (10:16 -0700)]
Random cleanups and type safety.  Created ml subdir.

3 years agoScript to run tests.
Scott Gasch [Sat, 10 Jul 2021 01:31:37 +0000 (18:31 -0700)]
Script to run tests.

3 years agoACL uses enums, some more tests, other stuff.
Scott Gasch [Sat, 10 Jul 2021 01:31:02 +0000 (18:31 -0700)]
ACL uses enums, some more tests, other stuff.

3 years agoReduce import scopes, remove cycles.
Scott Gasch [Fri, 9 Jul 2021 05:25:12 +0000 (22:25 -0700)]
Reduce import scopes, remove cycles.

3 years agoRename simple_acl -> acl
Scott Gasch [Fri, 9 Jul 2021 03:08:22 +0000 (20:08 -0700)]
Rename simple_acl -> acl

3 years agoClean up ACLs
Scott Gasch [Fri, 9 Jul 2021 03:05:29 +0000 (20:05 -0700)]
Clean up ACLs

3 years agoLots of changes.
Scott Gasch [Fri, 9 Jul 2021 02:44:27 +0000 (19:44 -0700)]
Lots of changes.

3 years agoTeach python logging formatter to use %f in the format string.
Scott Gasch [Thu, 29 Apr 2021 17:34:32 +0000 (10:34 -0700)]
Teach python logging formatter to use %f in the format string.

3 years agoUse ValueError, not Exception.
Scott Gasch [Sat, 24 Apr 2021 00:17:37 +0000 (17:17 -0700)]
Use ValueError, not Exception.

3 years agoColumnify text.
Scott Gasch [Sat, 24 Apr 2021 00:17:14 +0000 (17:17 -0700)]
Columnify text.

3 years agoRename a flag.
Scott Gasch [Sat, 24 Apr 2021 00:17:02 +0000 (17:17 -0700)]
Rename a flag.

3 years agoMinor editing.
Scott Gasch [Sat, 24 Apr 2021 00:16:39 +0000 (17:16 -0700)]
Minor editing.

3 years agoUse central exceptions.
Scott Gasch [Sat, 24 Apr 2021 00:16:08 +0000 (17:16 -0700)]
Use central exceptions.

3 years agoAvoid directory writes when files are already there.
Scott Gasch [Sat, 24 Apr 2021 00:15:28 +0000 (17:15 -0700)]
Avoid directory writes when files are already there.

3 years agoDetect unknown persons at the cabin.
Scott Gasch [Sat, 24 Apr 2021 00:15:05 +0000 (17:15 -0700)]
Detect unknown persons at the cabin.

3 years agoWe don't need this.
Scott Gasch [Sat, 24 Apr 2021 00:14:49 +0000 (17:14 -0700)]
We don't need this.

3 years agoAdd time units and import constants.py.
Scott Gasch [Sat, 24 Apr 2021 00:14:23 +0000 (17:14 -0700)]
Add time units and import constants.py.

3 years agoMove parallelize_test to tests dir.
Scott Gasch [Sat, 24 Apr 2021 00:13:59 +0000 (17:13 -0700)]
Move parallelize_test to tests dir.

3 years agoMiscellaneous utilities.
Scott Gasch [Sat, 24 Apr 2021 00:13:34 +0000 (17:13 -0700)]
Miscellaneous utilities.

3 years agoMove TimeoutError to central exceptions file.
Scott Gasch [Sat, 24 Apr 2021 00:13:11 +0000 (17:13 -0700)]
Move TimeoutError to central exceptions file.

3 years agoAdding general exceptions.
Scott Gasch [Sat, 24 Apr 2021 00:10:14 +0000 (17:10 -0700)]
Adding general exceptions.

3 years agoVarious sundry changes.
Scott Gasch [Tue, 13 Apr 2021 20:55:12 +0000 (13:55 -0700)]
Various sundry changes.

3 years agoCreate a predicate.py file and a directory write filter predicate
Scott Gasch [Tue, 13 Apr 2021 20:54:19 +0000 (13:54 -0700)]
Create a predicate.py file and a directory write filter predicate
subclass.

3 years agoAdd .gitignore
Scott Gasch [Thu, 25 Mar 2021 01:13:06 +0000 (18:13 -0700)]
Add .gitignore

3 years agoInitial revision
Scott Gasch [Thu, 25 Mar 2021 01:08:54 +0000 (18:08 -0700)]
Initial revision