2013-03-09 10:19:46 +00:00
|
|
|
TODO
|
|
|
|
====
|
|
|
|
|
2016-01-24 02:05:56 +00:00
|
|
|
- dummy context manager
|
|
|
|
- dummy file
|
|
|
|
|
2015-11-14 06:23:29 +00:00
|
|
|
cacheutils
|
|
|
|
----------
|
|
|
|
|
|
|
|
- counting dictionary (with sys.modules example)
|
|
|
|
|
2015-07-11 21:44:12 +00:00
|
|
|
dictutils
|
|
|
|
---------
|
|
|
|
|
|
|
|
- autoindexing list for dictionaries. As records get added, uses a
|
|
|
|
basic proportion-based heuristic to create subdictionaries as
|
|
|
|
indexes over the same data. Maybe automatically does a full-scan
|
|
|
|
option too.
|
|
|
|
- non-overwriting version of dict.update()
|
|
|
|
|
|
|
|
jsonutils
|
|
|
|
---------
|
|
|
|
|
|
|
|
* jsonl ignore blank lines
|
|
|
|
* jsonl add line number to error message
|
|
|
|
|
2013-04-13 02:08:01 +00:00
|
|
|
misc?
|
|
|
|
-----
|
|
|
|
|
2015-02-22 03:58:03 +00:00
|
|
|
- Tracking proxy. An object that always succeeds for all operations, saving the call history.
|
2015-07-22 09:28:50 +00:00
|
|
|
- Top/Bottom singletons (greater than and less than everything)
|
|
|
|
|
2013-04-23 09:24:37 +00:00
|
|
|
|
|
|
|
cliutils
|
|
|
|
--------
|
|
|
|
|
2013-04-13 02:08:01 +00:00
|
|
|
- progress bar
|
2015-07-22 09:28:50 +00:00
|
|
|
- confirmation prompt (e.g., "Question? (Y/n)")
|
2013-04-21 23:40:28 +00:00
|
|
|
|
2013-04-23 09:24:37 +00:00
|
|
|
tbutils
|
|
|
|
-------
|
|
|
|
|
|
|
|
- fold repeated frames (recursive calls)
|
2013-04-13 02:08:01 +00:00
|
|
|
|
|
|
|
statsutils
|
|
|
|
----------
|
2013-03-09 10:19:46 +00:00
|
|
|
|
2016-05-15 05:05:14 +00:00
|
|
|
- dirty bit auto clears cache on property access
|
2013-04-23 09:24:37 +00:00
|
|
|
- geometric mean (2 ** sum(log(a, b, ...))
|
2015-05-18 03:48:56 +00:00
|
|
|
|
|
|
|
funcutils
|
|
|
|
---------
|
|
|
|
|
|
|
|
#class FunctionDef(object):
|
|
|
|
# """
|
|
|
|
# general blocker: accept a bunch of fine-grained arguments, or just
|
|
|
|
# accept a whole ArgSpec? or a whole signature?
|
|
|
|
# """
|
|
|
|
# def __init__(self, name, code, doc=None):
|
|
|
|
# pass
|