semvec/pypi-packages huggingface dataset:
dictbox 0.0.3
make it easy to use dict

# dictbox

#### 介绍
最新移步：https://pypi.org/project/lazysdk/

#### 软件架构
软件架构说明


#### 安装教程

1.  pip安装
```shell script
pip install dictbox
```
2.  pip安装（使用阿里镜像加速）
```shell script
pip install dictbox -i https://mirrors.aliyun.com/pypi/simple
```

#### 使用说明

1.  demo
```python
import dictbox
test_dict = {
    'aaa': 'aaa',
    'bbb': 'bbb',
    'ccc': {
        'aa': 'aa'
    }
}
test_res = dictbox.dict_tiler(test_dict)
```
safeOptimization 0.0.4
A package for safe optimization algorithms.
Requires Python: >=3.6

## Safe optimization python package

This version contain sLBM and SAFW algorithm. 

.. code-block:: bash

    >>> import safeOpt
    
    >>> def ask_constraints(x):
        '''will return a list of the values of constraints at x_t'''
        y = [-5 - x[0], -5 - x[1], x[0] - 5, x[1] - 5]
        return y
        
    >>> def ask_objective_func(x):
        '''will return the value of objective function at x_t'''
        y = -1*(x[0] - 1)**3 + 2 -1*(x[0] - 1)**2
        return y**2
        
    >>> model = safeOpt.logBarrier.sLBM(ask_objective_func, ask_constraints, dimension = 2, constraints_number = 4, x_0 = np.array([0,0]))
    >>> model.run()