semvec/pypi-packages huggingface dataset:
cosmos-python 1.1.0
The Python SDK for CosMoS, the universal cms.
License: MIT
Keywords: cosmos universal cms

# CosMoS' Python Library
### **This library is still in beta, just like [cosmos-cms.com](https://cosmos-cms.com).**
Using this library it's extremely easy to fetch and decrypt your content from **CosMoS, The Universal CMS**.
*For detailed documentation*, please go to: [cosmos-cms.com/docs](https://cosmos-cms.com/docs)


## Instalation
CosMoS' Python SDK can be installed within seconds using pip.
```
pip install cosmos-python
```

## Setup
This is where we'll show how to setup CosMoS for Python.

## Usage
Here is where we'll tell you how to fetch data from our api.
py-redux 0.2.2
python implementation of the redux library
License: MIT
Keywords: redux development state ui

Python port of redux library

Simple example app:

```
from redux import create_store, actiontypes, frozenbunch

action_types = actiontypes('myapp', 'increment decrement')

def app_reducer(state, action):
    if state is None:
        return frozenbunch(counter=0)
    if action.type == action_types.increment:
        return state.copy(counter=state.counter + 1)
    elif action.type == action_types.decrement:
        return state.copy(counter=state.counter - 1)
    return state

store = create_store(app_reducer)
```

The frozenbunch type is an immutable version of the Bunch pattern, whose members can be accessed by item or by attribute. For example:

```
x = frozenbunch(foo=12, bar=7)
x['foo']
x.foo
x['foo'] = 17
x.foo = 17
x = x.copy(bar=17)
```