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.4.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for namespace-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ecc107623193f7ca9df8fe190e85e798b59c2bb93fa34d7cad41a6ed4403a3f |
|
MD5 | 617fc3de4a17e298f6445bf393bbf98f |
|
BLAKE2b-256 | 4d41b3777a19c04b0fe8d024441907de7fece4ace24ad16805516b5cf25172e8 |