Skip to main content

Doing weird things with dicts.

Project description

This package offers a base implementation as well as several examples of “normalized dicts”.

A normalized dict is a python dictionary subclass whose keys are normalized through a particular function prior to insertion/modification/deletion.

Examples

The example classes provided include:

  • A case-insensitive dict,

  • a dict whose keys are truncated to a given length,

  • a dict whose keys are computed modulo N, where N is a given int.

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

weirdict-0.2.0.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file weirdict-0.2.0.tar.gz.

File metadata

  • Download URL: weirdict-0.2.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for weirdict-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7bd78353929ebfa4ab7034d11218afd10f4acdfe780c42d1a685bbc49baa5128
MD5 f9e0567195a7188d82ec07989b870931
BLAKE2b-256 e0f6c34c6c27dfd2ed793253aabfcfa6e3fa0e9b197e03273565a8cd368eb46d

See more details on using hashes here.

Supported by

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