Skip to content

Commit 02fecc7

Browse files
committed
XSPACE SDK Auto Released By xiaoyan.yan,Version:1.1.1
发布日志: 1, add agency infomation 2, update sdk core resources
1 parent 5830c90 commit 02fecc7

File tree

9 files changed

+158
-0
lines changed

9 files changed

+158
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2019-03-11 Version: 1.1.1
2+
1, add agency infomation
3+
2, update sdk core resources
4+

aliyun-python-sdk-xspace/MANIFEST.in

Whitespace-only changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
aliyun-python-sdk-xspace
2+
This is the xspace module of Aliyun Python SDK.
3+
4+
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services.
5+
6+
This module works on Python versions:
7+
8+
2.6.5 and greater
9+
Documentation:
10+
11+
Please visit http://develop.aliyun.com/sdk/python
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "1.1.1"

aliyun-python-sdk-xspace/aliyunsdkxspace/request/__init__.py

Whitespace-only changes.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RoaRequest
21+
class QueryCustomerByIdRequest(RoaRequest):
22+
23+
def __init__(self):
24+
RoaRequest.__init__(self, 'xspace', '2017-07-20', 'QueryCustomerById')
25+
self.set_uri_pattern('/customer')
26+
self.set_method('PUT|POST|GET|DELETE')
27+
28+
def get_Id(self):
29+
return self.get_query_params().get('Id')
30+
31+
def set_Id(self,Id):
32+
self.add_query_param('Id',Id)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RoaRequest
21+
class QueryCustomerByPhoneRequest(RoaRequest):
22+
23+
def __init__(self):
24+
RoaRequest.__init__(self, 'xspace', '2017-07-20', 'QueryCustomerByPhone')
25+
self.set_uri_pattern('/customerbyphone')
26+
self.set_method('POST|GET')
27+
28+
def get_Phone(self):
29+
return self.get_query_params().get('Phone')
30+
31+
def set_Phone(self,Phone):
32+
self.add_query_param('Phone',Phone)

aliyun-python-sdk-xspace/aliyunsdkxspace/request/v20170720/__init__.py

Whitespace-only changes.

aliyun-python-sdk-xspace/setup.py

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
#!/usr/bin/python
2+
'''
3+
Licensed to the Apache Software Foundation (ASF) under one
4+
or more contributor license agreements. See the NOTICE file
5+
distributed with this work for additional information
6+
regarding copyright ownership. The ASF licenses this file
7+
to you under the Apache License, Version 2.0 (the
8+
"License"); you may not use this file except in compliance
9+
with the License. You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing,
14+
software distributed under the License is distributed on an
15+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
KIND, either express or implied. See the License for the
17+
specific language governing permissions and limitations
18+
under the License.
19+
'''
20+
21+
from setuptools import setup, find_packages
22+
import os
23+
import sys
24+
25+
"""
26+
setup module for xspace.
27+
28+
Created on 7/3/2015
29+
30+
@author: alex
31+
"""
32+
33+
PACKAGE = "aliyunsdkxspace"
34+
NAME = "aliyun-python-sdk-xspace"
35+
DESCRIPTION = "The xspace module of Aliyun Python sdk."
36+
AUTHOR = "Aliyun"
37+
AUTHOR_EMAIL = "aliyun-developers-efficiency@list.alibaba-inc.com"
38+
URL = "http://develop.aliyun.com/sdk/python"
39+
40+
TOPDIR = os.path.dirname(__file__) or "."
41+
VERSION = __import__(PACKAGE).__version__
42+
43+
desc_file = open("README.rst")
44+
try:
45+
LONG_DESCRIPTION = desc_file.read()
46+
finally:
47+
desc_file.close()
48+
49+
setup(
50+
name=NAME,
51+
version=VERSION,
52+
description=DESCRIPTION,
53+
long_description=LONG_DESCRIPTION,
54+
author=AUTHOR,
55+
author_email=AUTHOR_EMAIL,
56+
license="Apache",
57+
url=URL,
58+
keywords=["aliyun","sdk","xspace"],
59+
packages=find_packages(exclude=["tests*"]),
60+
include_package_data=True,
61+
platforms="any",
62+
install_requires=["aliyun-python-sdk-core>=2.11.5",],
63+
classifiers=(
64+
"Development Status :: 4 - Beta",
65+
"Intended Audience :: Developers",
66+
"License :: OSI Approved :: Apache Software License",
67+
"Programming Language :: Python",
68+
"Programming Language :: Python :: 2.6",
69+
"Programming Language :: Python :: 2.7",
70+
"Programming Language :: Python :: 3",
71+
"Programming Language :: Python :: 3.3",
72+
"Programming Language :: Python :: 3.4",
73+
"Programming Language :: Python :: 3.5",
74+
"Programming Language :: Python :: 3.6",
75+
"Topic :: Software Development",
76+
)
77+
78+
)

0 commit comments

Comments
 (0)