Simple Dotdict
The dotdict class is a dictionary that allows access to its elements using dot notation. It inherits from the built-in dict class in Python.
Installation
To install simple-dotdict, you can use pip:
pip install simple-dotdict
Usage
Here is an example of how to use the dotdict class:
from simple_dotdict import dotdict
d = dotdict({'key': 'value'})
print(d.key) # Outputs: value
You can also set and delete keys using dot notation:
d.new_key = 'new_value' # Sets a new key-value pair
print(d.new_key) # Outputs: new_value
del d.new_key # Deletes the key-value pair
License
This project is licensed under the MIT License - see the LICENSE file for details.# simple-dotdict
Metadata
Release files for simple-dotdict 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| simple_dotdict-1.0.0.tar.gz | 2.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simple_dotdict-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 kB
Release files / simple_dotdict-1.0.0.tar.gz
| Download URL | simple_dotdict-1.0.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9eb80d75708df7f3c83c5319f2000e4d42273256d5396255d07bc48069b9f277
|
|
BLAKE2b-256 checksum How to use checksums |
55f676baa5934220bbe43a8d915c59d4bd123be508f19e03fc3e3ee223ab0462
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / simple_dotdict-1.0.0-py3-none-any.whl
| Download URL | simple_dotdict-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4fca8fbe94152f27dbdf42454a4f1da797090e1e10a0e588dfc9451c76272d08
|
|
BLAKE2b-256 checksum How to use checksums |
f9f763ed8fe5210673642de137f28ead90cbe9489a547a8e2030ef9afcdf7734
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for simple-dotdict 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.