BeAllAround / BeAllAround/py_utils
__utils - create a Map that has "obj.key" accessibility: Python-native
Open
enhancement
P1
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
class Map:
...
m = Map({'scopeFlag': true, ...})
m.scopeFlag; # true
m.temFlag; # None
```
new prototype?
```
import re
def _parse(obj):
try:
print(eval(obj));
except NameError as err:
# extract 'a' and write up a white loop
globals()['a'] = 'a'
print(eval(obj));
del globals()['a']
_parse('''{a: 1}''');
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.