multiformats / py-multibase

Multibase implementation in Python
MIT License
22 stars 9 forks source link

Move public code lookups generation and lookup table inside a class #8

Closed dhruvbaldawa closed 6 years ago

dhruvbaldawa commented 7 years ago

So that the code is easily testable and to minimize the number of global variables in the codebase. Move the global variables related stuff inside a class and the public API should access the class methods on this class instead