Simple namespaces
Project description
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>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
namespace-0.1.3.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for namespace-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 718c1a2022de9cb347b0574f217168cd067ae1387207297e1bd42e8b54525412 |
|
MD5 | 6e2b00d94aa04f7c8c2a7f99e8601a31 |
|
BLAKE2b-256 | 009bb46a9d0b835fc51f20dceac7e3cd1b97a17702d608b7db6e83ab9eedc60b |