aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/algorithms/registry.py
blob: 0f75dce864b2b882ccc2c1f0b86a5509e59df3d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright 2016 Egor Tensin <Egor.Tensin@gmail.com>
# This file is licensed under the terms of the MIT License.
# See LICENSE.txt for details.

from . import impl

_ALL_ALGORITHMS = impl.refresh_algorithms()

def get_codenames():
    return _ALL_ALGORITHMS.keys()

def get(codename):
    return _ALL_ALGORITHMS[codename]