namespace

Simple namespaces


Keywords
python, namespace
License
MIT
Install
pip install namespace==0.1.4

Documentation

namespace

Simple namespaces

Usage

>>> import namespace
>>>
>>> functions = namespace()
>>>
>>> @functions
>>> def foo(): pass
>>>
>>> functions
Namespace(foo=<function foo at 0x7fd5d249d1f0>)
>>>
>>> functions.foo
<function foo at 0x7fd5d249d1f0>