Metadata-Version: 2.2
Name: codosdk
Version: 1.0.18
Summary: CODO项目的Python SDK
Home-page: https://github.com/ss1917/codo_sdk/
Author: shenshuo
Author-email: 191715030@qq.com
License: GPLv3
Keywords: ops,codo,devops
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console :: Curses
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=2.7, >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fire==0.5.0
Requires-Dist: shortuuid==1.0.11
Requires-Dist: pymysql==0.9.3
Requires-Dist: sqlalchemy==1.3.23
Requires-Dist: pika==1.3.1
Requires-Dist: PyJWT==2.0.1
Requires-Dist: requests==2.28.2
Requires-Dist: redis==4.5.1
Requires-Dist: tornado>=6.0
Requires-Dist: loguru>=0.6.0
Requires-Dist: cryptography==42.0.4
Requires-Dist: ldap3==2.9
Requires-Dist: pydantic>=1.10.5
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: platform
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

## 安装

### python3安装

[python链接](https://www.python.org/)

##### python3.9以上

##### SDK 安装

```bash
$ pip3 install -U git+https://github.com/ss1917/ops_sdk.git
```

## 结构

```shell
.
├── README.md    项目readme
└── opssdk
    ├── logs     日志模块
    ├── install  安装模块
    ├── get_info 配置获取
    └── operate  运维操作
        ├── check           系统参数检查和获取
        ├── mysql           mysql 操作
        ├── mail            发送邮件
        └── centralization  集中化管理工具 salt
    └── websdk2      web开发使用
    ├── application.py          tornado application
    ├── base_handler.py         tornado  基类
    ├── cache.py                处理redis缓存
    ├── configs.py              配置文件管理
    ├── consts.py               常量
    ├── db_context.py           MySQL 处理类
    ├── error.py                异常
    ├── fetch_coroutine.py      
    ├── __init__.py
    ├── jwt_token.py            jwt
    ├── mqhelper.py             MQ 处理类
    ├── program.py
    ├── salt_api.py             salt 处理类 可以移到工具类
    ├── sms.py                  发送短信     可以移到工具类
    ├── tools.py                工具类
    └── web_logs.py             日志处理
```

## License

Everything is [GPL v3.0](https://www.gnu.org/licenses/gpl-3.0.html).
