Skip to main content

A mixin and a dict subclass where .FOO means [‘FOO’]

Presents:

  • WithUC_Attrs, a mixin for other classes which provides .__getattr__ and .__setattr__ which intercept .FOO where FOO would match the rexgep ^[A-Z][_A-Z0-9]*$ and maps them to [‘FOO’].

  • UCdict, a subclass of dict using the WithUC_Attrs mixin.

Download files

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

Source Distribution

cs.mixin.ucattrs-20150118.tar.gz (1.7 kB view details)

Uploaded Source

File details

Details for the file cs.mixin.ucattrs-20150118.tar.gz.

File metadata

File hashes

Hashes for cs.mixin.ucattrs-20150118.tar.gz
Algorithm Hash digest
SHA256 80a88ba5f43e45752047f1b83f8bf08a9aeb9c0bb8eae86210be13663039e2ad
MD5 ec4b5520c56c62f3a3f905352c4ec29f
BLAKE2b-256 d5572bf2257491b077be453bb7f661f5ed096464ed76b5587e22e7036112b8b3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

20150118 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page