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 details)
Built Distribution
File details
Details for the file namespace-0.1.4.tar.gz
.
File metadata
- Download URL: namespace-0.1.4.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.10 Linux/5.4.0-89-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e909e18270ef63d36681b5cf618ef6ae4f9192d69a577bcddc49631d46692bf3 |
|
MD5 | b2bebd6d33b724fc42aef6e615f740c9 |
|
BLAKE2b-256 | e0189038cb4cb4e33b2cedff15fb3b56bf50b47ec69a4d5b817b59c4a6c64f50 |
File details
Details for the file namespace-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: namespace-0.1.4-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.10 Linux/5.4.0-89-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ecc107623193f7ca9df8fe190e85e798b59c2bb93fa34d7cad41a6ed4403a3f |
|
MD5 | 617fc3de4a17e298f6445bf393bbf98f |
|
BLAKE2b-256 | 4d41b3777a19c04b0fe8d024441907de7fece4ace24ad16805516b5cf25172e8 |