diff options
Diffstat (limited to 'algorithms/registry.py')
-rw-r--r-- | algorithms/registry.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/algorithms/registry.py b/algorithms/registry.py index 787fe49..3bc6495 100644 --- a/algorithms/registry.py +++ b/algorithms/registry.py @@ -5,10 +5,13 @@ from . import impl + _ALL_ALGORITHMS = impl.refresh_algorithms() + def get_codenames(): return _ALL_ALGORITHMS.keys() + def get(codename): return _ALL_ALGORITHMS[codename] |