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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dotsy-0.2.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for dotsy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0804a2eb311861489fcd38b0483490d50616f7f6dbd00bfaf70844960ebf6447
MD5 464d15d79b41fd31bac8c545c5817e13
BLAKE2b-256 dd4f3b87a85ac6851aa607829ccfeb55862b8d5c23b17d0fd0306d9a4f265d47

See more details on using hashes here.

File details

Details for the file dotsy-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dotsy-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for dotsy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8600b1c3155fd8c528bcc8c3d1e3edd97c26924c68d2ce97dbf6df013da6d24c
MD5 072c770797c32890df3cd9be71a9e0ae
BLAKE2b-256 bdf48dd6de307dcf4ddd14c89586f6d851ba9621f9e0d66103910ae450e225b7

See more details on using hashes here.

Supported by

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