Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Mixin for .FOO uppercase attributes mapped to ['FOO'] access.

Project description

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.

Project details


Release history Release notifications

This version
History Node

20150118

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
cs.mixin.ucattrs-20150118.tar.gz (1.7 kB) Copy SHA256 hash SHA256 Source None Jan 18, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page