python utulity funcs, classes, small languages, frameworks, scripts. i tend to use most optz, attr, struct, py3, eutf
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
1
bin
cfg
data
divan
ext
javagen
lang
net
py
testeng
text
ui
yamls
.gitignore
README.md
__init__.py
args_multiattr.py
assignment_order.py
attr.py
bokluk.py
class_attr.py
cli4func.py
config.py
cron.py
datetimez.py
dbg.py
dictOrder.py
dict_extract.py
dicts.py
diff.py
escaping_codec.py
eutf.py
expr.py
facer.py
fileCache.py
forward_resolver.py
func2code2.py
func2code3.py
funcs_registry.py
gencxx.py
hacksrc.py
html_visitor.py
htmlcodec.py
lat2cyr.py
lists.py
minsec.py
mix.py
module.py
money_formatter.py
optz.py
osextra.py
py3.py
recorder.py
rim_digit.py
setOrder.py
setup.py
slovom.py
stacks.py
str.py
struct.py
timezone.py
tracer.py
txt.py
url.py
url_cyr2regexp.py
validator4regexp.py
vreme.py
wither.py
xcalc2.py
xml2obj.py

README.md

svd_util

python utility funcs, classes, small languages+frameworks, scripts. old or new.. collection. i tend to use most optz, attr, struct, py3, eutf

me and software


  • assignment_order.py : Obtain order of assigments in python source text namespaces.
  • attr.py : additional python-reflection tools: - multilevel getattr, setattr, import, getitemer - local vs see-through-hierarchy getattr - fail-proof issubclass() - subclasses extractor
  • bin/doprof.py : better view onto python profiler results
  • bin/filter-output.py : filter (=count-generalize) instance-or-run -specific things, e.g. memory addresses, to compare different test runs
  • bin/moddump.py : try describe all about a python module - name,path,doc,items
  • bin/oneliner.py : generate a (wiki) page from first doc line/para of input python files (e.g. for github)
  • bin/py2utf.py : autoconvert (source-files) from cp1251 to utf AND fix the "coding" line
  • bin/sortsqlitedump.py : sort/reorder sqlite .dump, for comparable outputs
  • bokluk.py : useful setup for gc-debugging
  • class_attr.py : various descriptors for class-level-attributes
  • config.py : hierarchical namespaced configuration language/engine, with types, helps, inheritance
  • cron.py : parse+create of cron/crontab files
  • datetimez.py : symmetric datetime conversions to/from text.
  • dbg.py : various debug utilities: stack-level-counter, call-stack inspections
  • dictOrder.py : ordered dictionary (by-item-creation)
  • dicts.py : key-translating dictionaries - lowercase, map; dictOrder_fromstr
  • diff.py : wrapper and ignore_space for difflib
  • escaping_codec.py : escape/unescape strings
  • eutf.py : guess utf or byte-encoding, and (on-the-fly) conversion, on text or files. python2 + python3
  • expr.py : expression-tree builder and visitor/evaluator (language)
  • facer.py : interface/protocol/API declaration language. Methods, arguments, results - types, cardinality, optionality; inheritance, specialization, cloning. Use visitors to do/generate all else.
  • fileCache.py : cache content of a file + property doing it
  • forward_resolver.py : forward-declared module.attr resolver.
  • func2code.py : inspect variables used in function, local/global - for tracing/explain
  • gencxx.py : around generating code - C, python, vim
  • hacksrc.py : source-monkey-patcher for python - extract+patch+compile a func
  • html_visitor.py : html structural visitor/extractor
  • htmlcodec.py : various html escapers
  • jgenerator.py : model-description "language" + dialects + generator of equivalent model in java + SAX + sqlite
  • lat2cyr.py : cyrillic transcripting to/from latin - e.g. qwerty, SMS, sounds-like, looks-like, etc
  • minsec.py : time minutes-seconds-frames conversions/prettyprint
  • mix.py : mix: logging destructor, valid weakref wrapper, Functor, mutex, neighbours-in-sequence ..
  • module.py : python module tools
  • money_formatter.py : text-format amount of money
  • optz.py : simple !! options-getter (wrapping optparse or else)
  • osextra.py : extra os-level funcs - execresult, touch, ..
  • py/parser3.py : fixed variant of py3:html.parser: m = attrfind_tolerant.search(rawdata[:endpos], k)
  • py/unquote3.py : py2 version of py3 urllib.parse.unquote
  • py3.py : using same code for python2 and python3
  • recorder.py : recorder + re-player of object usage - method calls with their args
  • rim_digit.py : rome digits to numeric
  • setOrder.py : ordered set - by-item-creation
  • slovom.py : numbers in words in Bulgarian 2008? friends | числа словом
  • stacks.py : stack with automatic (ref-counted) cleanup/pop
  • str.py : hierarchical str()/print; notSetYet singleton
  • struct.py : structure as dict as structure, attr-to-item, set-keyword-attrs with allowed/mandatory-validation
  • testeng/ : testing engine with analysis/data-oriented syntax/structure of cases; simple single-or-multi-case unittestcase
  • timezone.py : some usable default timezone implementation
  • tracer.py : trace+explain/log runtime python code - instrumentation of variables, methods
  • txt.py : text encodings, escaping, whitespace stripping
  • ui/ : language/engine for dialog/form layout description - text-parser, tree-builder, fields; menus
  • url.py : symmetrical url-to/from-dict conversions
  • url_cyr2regexp.py : cyrillic urls into apache regexps/rewrites - multi-transcriptions, 1251/utf, ignorecase, etc
  • validator4regexp.py : validators using regexps
  • vreme.py : Universal Calendar Time and Pediods and arithmetics; physical, logical (next-working-day), inherit/compose, count, compare, overlap, cut
  • wither.py : empty context for with operator - i.e. with (somefile or wither): ...
  • xcalc2.py : wave-like dependency-tree expression/rule re-calculation
  • xml2obj.py : xml into object, multi-language values
  • yamls/ : usability-tuned yaml i/o - human re-editable - aligned, ordered, min-clutter