This is ttv1 code (Timm tools, version 1).
home | discuss | report bug
This is ttv1 code (Timm tools, version 1).
Best to run this with pypy3
Files needing global options start with from choice import *
.
Global options are read into class static variables using, eg.
``` class num: hedges = our.num.hedges # 0.38 conf = our.num.conf # 0.95
```
Thereafter, code needed the options talks to className.var
and not
our.x.y
. Why? Well, if you are sick of my global system, then dump it and
make all the config static class variables.
This is ttv1 code (Timm tools, version 1).
slit numeg over into thing
redp div knowing abut thing.n()
from GLOBALS import *
import sys,re
import GLOBALS
from pprint import pprint
from collections import defaultdict
from itertools import takewhile, count
def tsort(graph):
levels_by_name = {}
names_by_level = defaultdict(set)
Copyright © 2016,2017 Tim Menzies tim@menzies.us, MIT license v2.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Share and enjoy.