Skip to main content

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

Your Name - 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

classydict-0.1.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

classydict-0.1.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file classydict-0.1.1.tar.gz.

File metadata

  • Download URL: classydict-0.1.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for classydict-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f3f0f7b3ee2e9fe4a469cdf225c03b362fa7c2cc8b2e3a3a01b214b5776b0d64
MD5 4b5de3ce90cf790c849632c401f3cdcb
BLAKE2b-256 5eb81a3b66d835ed0c8e4f42810fab352123c57231a0e38f19a9f8a4d571bfe7

See more details on using hashes here.

Provenance

The following attestation bundles were made for classydict-0.1.1.tar.gz:

Publisher: publish.yml on HassanRasoo98/classy-dict

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file classydict-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: classydict-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for classydict-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 672fedf03ff549ecf3e661e051e0980bc6298bda6e390d710a23eabf0812cd09
MD5 1b0c1397ad80889124c347e006cb7b24
BLAKE2b-256 cf7d0b70b3211cd7499e0b99cc3caab091f27a658f7712bcaa76a8e2efae5df7

See more details on using hashes here.

Provenance

The following attestation bundles were made for classydict-0.1.1-py3-none-any.whl:

Publisher: publish.yml on HassanRasoo98/classy-dict

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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