Skip to main content

a dict that supports alias of KEY

Project description

Documentation

The full documentation is at https://cachelite.readthedocs.org/

Quickstart

Install cachelite:

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"]

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.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file aliasdict-0.9.1.tar.gz.

File metadata

  • Download URL: aliasdict-0.9.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for aliasdict-0.9.1.tar.gz
Algorithm Hash digest
SHA256 d37e25afe968b661b6b40f616d1742f6e22fcf89edbf5cd52b04364937b1feb8
MD5 310e7a245a0d71a8ba08d186781408e4
BLAKE2b-256 7cceabea18a898d14ab67d792cef988d0bdd7411914e19d143ffaf9afa9c02b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page