python

Various cool python tricks I want to write about

Table of Contents

TODO [C] contextmanager example: temporary kobo database python

CREATED: [2019-07-21]

TODO [C] write about cool examples of me using decorators python

CREATED: [2019-07-10]

dominate + my hack
my hack for praw
lru cache
dbcache and generating decorators
process group kill
unit test fixtures

TODO [C] example of decorator with cd python

CREATED: [2019-07-13]

TODO [C] about python consuming parsing pythonparsing

CREATED: [2019-05-03]

TODO [C] post about my functools.lru cache thing and PathWithMtime python

CREATED: [2019-04-21]

TODO [C] lrucache is kind of runtime level make python

CREATED: [2019-04-21]

TODO about traity things I did in axol? pythonaxol

CREATED: [2019-01-01]

TODO [C] Hacky logging thing python

CREATED: [2019-09-23]

I often write python scripts instead of shell

TODO [C] when whiting about lrucache trick, I need to come up to some proper example, that would benefit almost everyone python

CREATED: [2019-04-21]

TODO [C] Context manager and wrapping pid? python

CREATED: [2019-07-08]

TODO [C] another usecase for LRU cache thing – merging multiple files python

CREATED: [2019-04-23]

TODO [D] Monadic parsing with decorators? python

CREATED: [2019-09-25]

Write about problems with left recursion?

[C] [2018-05-12] ensuring certain order (in code) for objects based on name python

kinda like in foodprovider/foodprovider/meals.py

  • each object registers and gets a global ID
  • collect them all via dir
  • sort them by ID then assert names
Jump to search, settings & sitemap