gryphon.lib.util package
Submodules
gryphon.lib.util.list module
-
gryphon.lib.util.list.
distinct
(iterable, keyfunc=None)[source]
-
gryphon.lib.util.list.
flatten
(l)[source]
gryphon.lib.util.monkeypatch_timeit module
Monkeypatch the timeit module so that it returns a function result as well
as the time it took to execute the function. This is used to profile ticks
in production.
-
gryphon.lib.util.monkeypatch_timeit.
monkeypatch_timeit
()[source]
gryphon.lib.util.profile module
gryphon.lib.util.time module
-
gryphon.lib.util.time.
humanize_seconds
(seconds)[source]
Take n seconds and return a human readable string (1h 2m 13s)
Module contents