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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0804a2eb311861489fcd38b0483490d50616f7f6dbd00bfaf70844960ebf6447
|
|
| MD5 |
464d15d79b41fd31bac8c545c5817e13
|
|
| BLAKE2b-256 |
dd4f3b87a85ac6851aa607829ccfeb55862b8d5c23b17d0fd0306d9a4f265d47
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8600b1c3155fd8c528bcc8c3d1e3edd97c26924c68d2ce97dbf6df013da6d24c
|
|
| MD5 |
072c770797c32890df3cd9be71a9e0ae
|
|
| BLAKE2b-256 |
bdf48dd6de307dcf4ddd14c89586f6d851ba9621f9e0d66103910ae450e225b7
|