Skip to main content

dot-accessible dictionaries (dicy) and dictionary-containing encyclopedia classes (ency)

Project description

dot-accessible dictionaries and dictionary-containing classes

dicy: dot-accessible dictionary

ency: dot-accessible "ecyclopedia" - a custom class containing one or more dictionaries, and possibly other data. This is intended to be used as an abstract class, inherited in your custom data class. If there are multiple contained dictionaries, they are prioritized based on the explicit ordering. When there are two or more identical keys exist in contained dictionaries, the priority determines which is accessed.

Features:

  • dot-accessed create*/read/update/delete operations for dictionary keys
  • IDE auto-completion**
  • pickle serialization

*: Key creation can be dot-accessed for dicy. In ency, dot-create adds a new class attribute, as is standard in python. **: Auto-complete is tested in pycharm but others should work.

Installation

pip install dotsy

Usage

from dotsy import dicy, ency

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

dotsy-0.2.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

dotsy-0.2.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

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