a dict that supports alias of KEY
The full documentation is at https://cachelite.readthedocs.org/
pip install aliasdict
Then you can use it.
import aliasdict from AliasDict adct = AliasDict() #put a key-value adct["YOUR_KEY"] = "YOUR_VALUE" #set a alias to key adct.set_alias("YOUR_KEY", "YOUR_ALIAS") #get value by alias adct["YOUR_ALIAS"]
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
aliasdict-0.9.1.tar.gz (2.7 kB view hashes)