美文网首页
Python SDK的目录结构

Python SDK的目录结构

作者: Wayne维基 | 来源:发表于2020-01-06 11:02 被阅读0次

参考腾讯云 cos-python-sdk-v4来看下python SDK目录规范

├── CHANGES.rst  
├── CONTRIBUTING
├── LICENSE
├── README.rst
├── docs
│   ├── Makefile
│   ├── conf.py
│   ├── index.rst
│   └── make.bat
├── qcloud_cos
│   ├── __init__.py
│   ├── cos_auth.py
│   ├── cos_client.py
│   ├── cos_common.py
│   ├── cos_config.py
│   ├── cos_cred.py
│   ├── cos_err.py
│   ├── cos_op.py
│   ├── cos_params_check.py
│   ├── cos_request.py
│   └── threadpool.py
├── sample.py
├── setup.py
└── test
    ├── __init__.py
    └── test_simple.py

主要目录结构

  • docs 文档
  • qcloud_cos 核心逻辑,如果需要加密可以编译为pyc,子目录根据项目情况确定
  • test 单元测试
  • sample.py 使用样例
  • setup.py 安装,便于python setup.py install安装,引用python包setuptools

相关文章

网友评论

      本文标题:Python SDK的目录结构

      本文链接:https://www.haomeiwen.com/subject/pighactx.html