A dictionary that supports dot notation access, including nested dicts.
Project description
classyDict
classyDict is a Python package that provides a dictionary with dot notation access, including support for nested dictionaries.
Features
- Access dictionary keys using dot notation.
- Supports nested dictionaries with dot notation.
Installation
To install classyDict, you can use pip:
pip install classyDict
Usage
Here's a simple example of how to use classyDict:
from classyDict import ClassyDict
# Create a ClassyDict instance
my_dict = ClassyDict({'key1': 'value1', 'key2': {'nestedKey': 'nestedValue'}})
# Access values using dot notation
print(my_dict.key1) # Output: value1
print(my_dict.key2.nestedKey) # Output: nestedValue
Contributing
Contributions are welcome! Please feel free to submit a Pull Request on GitHub.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Hassan Rasool - hassanrasool1057@gmail.com
Acknowledgments
- Inspired by the need for a more intuitive way to access dictionary keys in Python.
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
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 classydict-0.1.3.tar.gz.
File metadata
- Download URL: classydict-0.1.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4343a5de2fcb8c8d968c281a4de0b24a853aa097ca8339eccdf6ce773a8840dc
|
|
| MD5 |
cf8697f7583c03fbfae1319fdbaffb75
|
|
| BLAKE2b-256 |
43d36e61256b72c2d1093436b47e4003982b59c31fb023cc564d3ba92e8d81b9
|
Provenance
The following attestation bundles were made for classydict-0.1.3.tar.gz:
Publisher:
publish.yml on HassanRasoo98/classy-dict
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
classydict-0.1.3.tar.gz -
Subject digest:
4343a5de2fcb8c8d968c281a4de0b24a853aa097ca8339eccdf6ce773a8840dc - Sigstore transparency entry: 185732737
- Sigstore integration time:
-
Permalink:
HassanRasoo98/classy-dict@d2fab86b889fc67d485764f3c23b79ec1f686b99 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/HassanRasoo98
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d2fab86b889fc67d485764f3c23b79ec1f686b99 -
Trigger Event:
push
-
Statement type:
File details
Details for the file classydict-0.1.3-py3-none-any.whl.
File metadata
- Download URL: classydict-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
831bd4026c9b13944b845a5741c7faac857204c72f467bdfc4ddcaa893923062
|
|
| MD5 |
bf73bf4759fb20133e247fc595095da9
|
|
| BLAKE2b-256 |
460fb313501fb856f903c121fc239df253bc2042b8cbccb20f8d4f8aec59c18d
|
Provenance
The following attestation bundles were made for classydict-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on HassanRasoo98/classy-dict
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
classydict-0.1.3-py3-none-any.whl -
Subject digest:
831bd4026c9b13944b845a5741c7faac857204c72f467bdfc4ddcaa893923062 - Sigstore transparency entry: 185732738
- Sigstore integration time:
-
Permalink:
HassanRasoo98/classy-dict@d2fab86b889fc67d485764f3c23b79ec1f686b99 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/HassanRasoo98
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d2fab86b889fc67d485764f3c23b79ec1f686b99 -
Trigger Event:
push
-
Statement type: