pyutils.git
20 months agoCut version 0.0.1b3
Scott Gasch [Sun, 16 Oct 2022 19:12:35 +0000 (12:12 -0700)]
Cut version 0.0.1b3

- Handle exception from os when attempting to determine console sizes.
- Fall back on os.get_terminal_size() rather than calls to tput/stty when we can't figure out how big the console is.
- More work to improve documentation generated by sphinx.  Also fixes some type hints that were confusing mypy and re-enables the doctests in collectionz/trie + collections/bst.  Some improvement of the typez/centcount and typez/money that were inspired by improving their docs.
- More work to improve the quality of sphinx autodocs.
- More writing examples and improving documentation.
- More documentation changes but includes a change to config.py that removes the ability to set flags via environment variables.  It was hacky and I don't use it.
- Improve documentation in bootstrap.py.
- Improve documentation in argparse_utils.py.
- Improve documentation in ansi.py.
- Minor logic changes (e.g. thunk one method to another) but a lot of documentation cleanup.
- More documentation.
- Adds function to write out an integer longhand.
- Cut version 0.0.1b2

20 months agoHandle exception from os when attempting to determine console sizes.
Scott Gasch [Sun, 16 Oct 2022 19:10:15 +0000 (12:10 -0700)]
Handle exception from os when attempting to determine console sizes.

20 months agoFall back on os.get_terminal_size() rather than calls to tput/stty
Scott Gasch [Sun, 16 Oct 2022 19:01:46 +0000 (12:01 -0700)]
Fall back on os.get_terminal_size() rather than calls to tput/stty
when we can't figure out how big the console is.

20 months agoMore work to improve documentation generated by sphinx. Also fixes
Scott Gasch [Sun, 16 Oct 2022 18:48:07 +0000 (11:48 -0700)]
More work to improve documentation generated by sphinx.  Also fixes
some type hints that were confusing mypy and re-enables the doctests
in collectionz/trie + collections/bst.  Some improvement of the
typez/centcount and typez/money that were inspired by improving
their docs.

20 months agoMore work to improve the quality of sphinx autodocs.
Scott Gasch [Sat, 15 Oct 2022 22:43:52 +0000 (15:43 -0700)]
More work to improve the quality of sphinx autodocs.

20 months agoMore writing examples and improving documentation.
Scott Gasch [Sat, 15 Oct 2022 00:31:33 +0000 (17:31 -0700)]
More writing examples and improving documentation.

20 months agoMore documentation changes but includes a change to config.py that
Scott Gasch [Fri, 14 Oct 2022 22:01:24 +0000 (15:01 -0700)]
More documentation changes but includes a change to config.py that
removes the ability to set flags via environment variables.  It was
hacky and I don't use it.

20 months agoImprove documentation in bootstrap.py.
Scott Gasch [Fri, 14 Oct 2022 21:58:10 +0000 (14:58 -0700)]
Improve documentation in bootstrap.py.

20 months agoImprove documentation in argparse_utils.py.
Scott Gasch [Fri, 14 Oct 2022 21:57:10 +0000 (14:57 -0700)]
Improve documentation in argparse_utils.py.

20 months agoImprove documentation in ansi.py.
Scott Gasch [Fri, 14 Oct 2022 21:56:13 +0000 (14:56 -0700)]
Improve documentation in ansi.py.

20 months agoMinor logic changes (e.g. thunk one method to another) but a lot of
Scott Gasch [Fri, 14 Oct 2022 21:54:40 +0000 (14:54 -0700)]
Minor logic changes (e.g. thunk one method to another) but a lot of
documentation cleanup.

20 months agoMore documentation.
Scott Gasch [Fri, 14 Oct 2022 16:26:58 +0000 (09:26 -0700)]
More documentation.

20 months agoAdds function to write out an integer longhand.
Scott Gasch [Fri, 14 Oct 2022 16:25:50 +0000 (09:25 -0700)]
Adds function to write out an integer longhand.

20 months agoCut version 0.0.1b2
Scott Gasch [Fri, 14 Oct 2022 01:30:26 +0000 (18:30 -0700)]
Cut version 0.0.1b2

- Improve documentation.
- More work on improving docs.
- Improve docs.
- Add some example code.
- Followup to previous changes in math_utils; have the code use its own len.
- Moving zookeeper.py here caused a dep on kazoo.
- Make markdown look nicer.
- Update README with link to local git repo + previous version.
- Cut version 0.0.1b

20 months agoImprove documentation.
Scott Gasch [Fri, 14 Oct 2022 01:27:34 +0000 (18:27 -0700)]
Improve documentation.

20 months agoMore work on improving docs.
Scott Gasch [Thu, 13 Oct 2022 19:14:13 +0000 (12:14 -0700)]
More work on improving docs.

20 months agoImprove docs.
Scott Gasch [Thu, 13 Oct 2022 18:44:10 +0000 (11:44 -0700)]
Improve docs.

20 months agoAdd some example code.
Scott Gasch [Thu, 13 Oct 2022 16:45:15 +0000 (09:45 -0700)]
Add some example code.

20 months agoFollowup to previous changes in math_utils; have the code use
Scott Gasch [Wed, 12 Oct 2022 22:59:03 +0000 (15:59 -0700)]
Followup to previous changes in math_utils; have the code use
its own len.

20 months agoMoving zookeeper.py here caused a dep on kazoo.
Scott Gasch [Wed, 12 Oct 2022 22:58:34 +0000 (15:58 -0700)]
Moving zookeeper.py here caused a dep on kazoo.

20 months agoMake markdown look nicer.
Scott Gasch [Wed, 12 Oct 2022 21:02:59 +0000 (14:02 -0700)]
Make markdown look nicer.

20 months agoUpdate README with link to local git repo + previous version.
Scott Gasch [Wed, 12 Oct 2022 20:50:20 +0000 (13:50 -0700)]
Update README with link to local git repo + previous version.

20 months agoCut version 0.0.1b
Scott Gasch [Wed, 12 Oct 2022 19:39:04 +0000 (12:39 -0700)]
Cut version 0.0.1b

- Add __len__ to NumericPopulation and then use it instead of a dependency on numpy.
- Adds file to publish doc changes w/o waiting for cronjob.
- Fixup sphinx usage examples to render correctly(?)
- Towards a more type-clean mypy check.
- Fix cut_version.sh for new name.
- Fixup sphinx doc generation so that it works post name change.

20 months agoAdd __len__ to NumericPopulation and then use it instead of a dependency on
Scott Gasch [Wed, 12 Oct 2022 19:31:51 +0000 (12:31 -0700)]
Add __len__ to NumericPopulation and then use it instead of a dependency on
numpy.

20 months agoAdds file to publish doc changes w/o waiting for cronjob.
Scott Gasch [Wed, 12 Oct 2022 19:31:15 +0000 (12:31 -0700)]
Adds file to publish doc changes w/o waiting for cronjob.

20 months agoFixup sphinx usage examples to render correctly(?)
Scott Gasch [Wed, 12 Oct 2022 18:45:06 +0000 (11:45 -0700)]
Fixup sphinx usage examples to render correctly(?)

20 months agoTowards a more type-clean mypy check.
Scott Gasch [Wed, 12 Oct 2022 18:16:55 +0000 (11:16 -0700)]
Towards a more type-clean mypy check.

20 months agoFix cut_version.sh for new name.
Scott Gasch [Wed, 12 Oct 2022 17:38:01 +0000 (10:38 -0700)]
Fix cut_version.sh for new name.

20 months agoFixup sphinx doc generation so that it works post name change.
Scott Gasch [Wed, 12 Oct 2022 17:35:23 +0000 (10:35 -0700)]
Fixup sphinx doc generation so that it works post name change.

20 months agoMigration from old pyutilz package name (which, in turn, came from
Scott Gasch [Wed, 12 Oct 2022 17:17:06 +0000 (10:17 -0700)]
Migration from old pyutilz package name (which, in turn, came from
my old python_utilities package).  This one is ok to upload to
PyPI per:

    https://github.com/pypa/pypi-support/issues/2201