jokimina / aliyunpy

基于阿里云官方SDK的整合封装

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python3

阿里云SDK, 官方的觉得有点难用所以简单封装了下, 内部用起来比较顺手, 不过比较粗糙, 欢迎PR

使用示例

安装

pip install aliyunpy
from aliyunpy.client import AliyunClient
c = AliyunClient('xxx', 'xxx', 'cn-beijing')
c.ecs.get_ecs_all()

上传到私有pypiserver

本地pipyserver配置

$ cat ~/.pypirc
[distutils]
index-servers = sample

[sample]
repository: http://pypi.sample.com/
username: sample
password: xxxx

上传

python setup.py sdist upload -r sample

参考

About

基于阿里云官方SDK的整合封装

License:MIT License


Languages

Language:Python 100.0%