DotDict: A simple Python library to make chained attributes possible
1–10 of 55 posts
Re: DotDict: A simple Python library to make chained attributes possible
#2Re: DotDict: A simple Python library to make chained attributes possible
#3Re: DotDict: A simple Python library to make chained attributes possible
#4Re: DotDict: A simple Python library to make chained attributes possible
#5Re: DotDict: A simple Python library to make chained attributes possible
#6This is the way. And that pip command is just clean.
(temp5) ~/temp5 pip install .
ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.Re: DotDict: A simple Python library to make chained attributes possible
#7For example, if I call config.usors.adminn.naem I’d like it to fail loud and fast to point out the typos.
Re: DotDict: A simple Python library to make chained attributes possible
#8This is the way. And that pip command is just clean.
Have I lost my marbles? It doesn't work? (temp5) ~/temp5 pip install . ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
I don't see a name to install this from pypi (I see several dotdict libraries on there but they don't link here, so don't know if this is there somewhere).
Re: DotDict: A simple Python library to make chained attributes possible
#9Does it lazy-create leaf dicts on access? It would be preferable if they were only created on assignment, and failed if it’s just a get. For example, if I call config.usors.adminn.naem I’d like it to fail loud and fast to point out the typos.
Re: DotDict: A simple Python library to make chained attributes possible
#10Does it lazy-create leaf dicts on access? It would be preferable if they were only created on assignment, and failed if it’s just a get. For example, if I call config.usors.adminn.naem I’d like it to fail loud and fast to point out the typos.