Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tombulled/namespace
Simple namespaces
https://github.com/tombulled/namespace
Last synced: 23 days ago
JSON representation
Simple namespaces
- Host: GitHub
- URL: https://github.com/tombulled/namespace
- Owner: tombulled
- License: mit
- Created: 2021-10-02T19:27:20.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-06T20:13:45.000Z (over 2 years ago)
- Last Synced: 2024-10-29T21:21:41.367Z (about 2 months ago)
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# namespace
Simple namespaces## Usage
```python
import namespacefunctions = namespace.Namespace()
@functions
def foo(): pass@functions
def bar(): pass
``````python
>>> functions
Namespace(bar=, foo=)
>>>
>>> functions.foo```