Ditto.py
Ditto, the Transform Pokémon. Ditto has the ability to reconstruct its entire cellular structure into whatever it sees.
Lazy config variable handler.
Install
Ditto
is on the Python Package Index (PyPI):
pip install Dittopy
or
python setup.py install
Usage
Inside your code:
from dittopy import d
print d.GET # prints GET
print d.INFO # prints INFO
print d.VAL # prints VAL
Ditto.VAL = 10
print d.VAL # prints 10
It's a singleton, you can import it everywhere.. :D
if you think it won't be useful then just pass, We're just enjoying.. ;)
License
MIT © Anass LAHLALI