Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tombulled/namespace

Simple namespaces
https://github.com/tombulled/namespace

Last synced: 23 days ago
JSON representation

Simple namespaces

Awesome Lists containing this project

README

        

# namespace
Simple namespaces

## Usage
```python
import namespace

functions = namespace.Namespace()

@functions
def foo(): pass

@functions
def bar(): pass
```

```python
>>> functions
Namespace(bar=, foo=)
>>>
>>> functions.foo

```