summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-20Add a unittest for this zookeeper stuff.Scott Gasch
2022-08-20Adds a releasable and renewable lease subclass.Scott Gasch
2022-08-20Clarify/improve docs around leases and lease reacquisition.Scott Gasch
2022-08-20Fix bug in translate_timezone and improve test.Scott Gasch
2022-08-20Add a listener for state changes to zookeeper elections to, hopefully,Scott Gasch
react immediately upon loss of connection. Also modify elections to thread.join(timeout) to react immediately on child thread exit. Also move zk stuff into the core of the decorators so that we don't have one global zk client instance that gets torn down the first time its used.
2022-08-19Break a dependency from zookeeper to config.Scott Gasch
2022-08-19Reduce the doctest lease duration...Scott Gasch
2022-08-19Add zookeeper.py; some handy wrappers for leader election and leases.Scott Gasch
2022-08-18Remove unnecessary / stray debugging exception dumps.Scott Gasch
2022-08-18This command broke b/c i relies on environment vars -> config so it'sScott Gasch
a decent test.
2022-08-18Cleanup / add untracked files.Scott Gasch
2022-08-18Add an option to exit immediately upon setting zookeeper. Change theScott Gasch
verbosity of a warning.
2022-08-17More new config bugs: needs to support a .get() method... doh.Scott Gasch
2022-08-17Ugh. Fix a bug in the new refactor of the env var config stuff.Scott Gasch
2022-08-17Dynamic config arguments stab #1.Scott Gasch
2022-08-17Cleanup config in preparation for zookeeper-based dynamic configs.Scott Gasch
2022-08-17Do not allow data that is too large in zookeeper.Scott Gasch
2022-08-17Persist the zookeeper client and connection. A step towards a config watcher.Scott Gasch
2022-08-17Update requirements to include kazooScott Gasch
2022-08-17Allow config.py to save/load config from zookeeper. No watching yet.Scott Gasch
2022-08-17Update requirements to include psutil.Scott Gasch
2022-08-15Hacky fix for inconsistently named camera.Scott Gasch
2022-08-15Fix a threading related bug in tplink_utils.Scott Gasch
2022-08-12Skip line about X11 forwarding in data read via ssh.Scott Gasch
2022-08-12Update requirements.txt and fix a bug in unscrambler.Scott Gasch
2022-08-10More changes to get 3.9 working.Scott Gasch
2022-08-10Upgrade to python 3.9.Scott Gasch
2022-07-27Make base_presence runnable from anywhere.Scott Gasch
2022-07-06Update docs.Scott Gasch
2022-07-05Use an overtly named method on SamplingIterator.Scott Gasch
2022-07-05Update docs.Scott Gasch
2022-07-05Update docs.Scott Gasch
2022-07-04Add pushback iter.Scott Gasch
2022-07-04Update docs.Scott Gasch
2022-07-04Fix iter_utils docs.Scott Gasch
2022-07-04Add inital cut of iter_utils with a coupel of iters I needed. TweakScott Gasch
math_utils population.
2022-07-02Bugfixes in math_utils.Scott Gasch
2022-06-30Minor cleanup.Scott Gasch
2022-06-14Add logging to trie.Scott Gasch
2022-06-11At python3.10 importlib.abc is a separate module that must be imported.Scott Gasch
2022-06-08Docs and test.Scott Gasch
2022-06-08Improve dateparse and make string_utils.extract_date.Scott Gasch
2022-06-08Add some colors from https://drafts.csswg.org/css-color/#named-colors.Scott Gasch
2022-06-07Fix tplink outlets with children is_on to check the children.Scott Gasch
2022-06-04Get rid of sanity check on bsearch; just use __debug__.Scott Gasch
2022-06-04Detect a debugger.Scott Gasch
2022-06-04Spacing tweak.Scott Gasch
2022-06-04Add timeout_seconds to cmd_showing_output.Scott Gasch
2022-06-03Take a lock before reading cross thread.Scott Gasch
2022-06-03Update READMEScott Gasch