Skip to main content

a dict that supports alias of KEY

Project description

Install cachelite:

pip install aliasdict

Then you can use it.

import aliasdict from AliasDict

adct = AliasDict()

#put a key-value

#set a alias to key
adct.set_alias("YOUR_KEY", "YOUR_ALIAS")

#get value by alias

with open( "PATH_TO_FILE", "wb") as f:

with open( "PATH_TO_FILE", "wb") as f:

with open( "PATH_TO_FILE", "rb") as f:
    adct = AliasDict.load(f)

with open( "PATH_TO_FILE", "rb") as f:
    adct = AliasDict.loads(

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aliasdict-0.9.3.tar.gz (2.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page