-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
304 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
2024-11-19 Version: 1.0.0 | ||
- Init. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Copyright 1999-present Alibaba Group Holding Ltd. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include LICENSE README.rst ChangeLog.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
============================================================= | ||
aliyun-python-sdk-aimath | ||
============================================================= | ||
|
||
.. This is the aimath module of Aliyun Python SDK. | ||
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services. | ||
|
||
This module works on Python versions: | ||
|
||
3.7 and greater | ||
|
||
**Documentation:** | ||
|
||
Please visit `http://develop.aliyun.com/sdk/python <http://develop.aliyun.com/sdk/python>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = '1.0.0' |
Empty file.
32 changes: 32 additions & 0 deletions
32
aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GenAnalysisRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class GenAnalysisRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'AIMath', '2024-11-14', 'GenAnalysis') | ||
self.set_method('POST') | ||
|
||
def get_ExerciseContent(self): # String | ||
return self.get_body_params().get('ExerciseContent') | ||
|
||
def set_ExerciseContent(self, ExerciseContent): # String | ||
self.add_body_params('ExerciseContent', ExerciseContent) |
32 changes: 32 additions & 0 deletions
32
aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GenStepRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class GenStepRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'AIMath', '2024-11-14', 'GenStep') | ||
self.set_method('POST') | ||
|
||
def get_ExerciseCode(self): # String | ||
return self.get_body_params().get('ExerciseCode') | ||
|
||
def set_ExerciseCode(self, ExerciseCode): # String | ||
self.add_body_params('ExerciseCode', ExerciseCode) |
38 changes: 38 additions & 0 deletions
38
aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GlobalConfirmRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class GlobalConfirmRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'AIMath', '2024-11-14', 'GlobalConfirm') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
def get_Tag(self): # String | ||
return self.get_body_params().get('Tag') | ||
|
||
def set_Tag(self, Tag): # String | ||
self.add_body_params('Tag', Tag) | ||
def get_ExerciseCode(self): # String | ||
return self.get_body_params().get('ExerciseCode') | ||
|
||
def set_ExerciseCode(self, ExerciseCode): # String | ||
self.add_body_params('ExerciseCode', ExerciseCode) |
43 changes: 43 additions & 0 deletions
43
aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/UpdateAnalysisRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class UpdateAnalysisRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'AIMath', '2024-11-14', 'UpdateAnalysis') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
def get_Content(self): # String | ||
return self.get_body_params().get('Content') | ||
|
||
def set_Content(self, Content): # String | ||
self.add_body_params('Content', Content) | ||
def get_ContentCode(self): # String | ||
return self.get_body_params().get('ContentCode') | ||
|
||
def set_ContentCode(self, ContentCode): # String | ||
self.add_body_params('ContentCode', ContentCode) | ||
def get_ExerciseCode(self): # String | ||
return self.get_body_params().get('ExerciseCode') | ||
|
||
def set_ExerciseCode(self, ExerciseCode): # String | ||
self.add_body_params('ExerciseCode', ExerciseCode) |
43 changes: 43 additions & 0 deletions
43
aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/UpdateStepRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class UpdateStepRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'AIMath', '2024-11-14', 'UpdateStep') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
def get_Content(self): # String | ||
return self.get_body_params().get('Content') | ||
|
||
def set_Content(self, Content): # String | ||
self.add_body_params('Content', Content) | ||
def get_ContentCode(self): # String | ||
return self.get_body_params().get('ContentCode') | ||
|
||
def set_ContentCode(self, ContentCode): # String | ||
self.add_body_params('ContentCode', ContentCode) | ||
def get_ExerciseCode(self): # String | ||
return self.get_body_params().get('ExerciseCode') | ||
|
||
def set_ExerciseCode(self, ExerciseCode): # String | ||
self.add_body_params('ExerciseCode', ExerciseCode) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[metadata] | ||
license_file = LICENSE | ||
|
||
[bdist_wheel] | ||
universal = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
#!/usr/bin/python | ||
''' | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you under the Apache License, Version 2.0 (the | ||
"License"); you may not use this file except in compliance | ||
with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations | ||
under the License. | ||
''' | ||
|
||
from setuptools import setup, find_packages | ||
import os | ||
import sys | ||
|
||
""" | ||
setup module for aimath. | ||
Created on 7/3/2015 | ||
@author: alex | ||
""" | ||
|
||
PACKAGE = "aliyunsdkaimath" | ||
NAME = "aliyun-python-sdk-aimath" | ||
DESCRIPTION = "The aimath module of Aliyun Python sdk." | ||
AUTHOR = "Aliyun" | ||
AUTHOR_EMAIL = "[email protected]" | ||
URL = "http://develop.aliyun.com/sdk/python" | ||
|
||
TOPDIR = os.path.dirname(__file__) or "." | ||
VERSION = __import__(PACKAGE).__version__ | ||
|
||
desc_file = open("README.rst") | ||
try: | ||
LONG_DESCRIPTION = desc_file.read() | ||
finally: | ||
desc_file.close() | ||
|
||
setup( | ||
name=NAME, | ||
version=VERSION, | ||
description=DESCRIPTION, | ||
long_description=LONG_DESCRIPTION, | ||
author=AUTHOR, | ||
author_email=AUTHOR_EMAIL, | ||
license="Apache", | ||
url=URL, | ||
keywords=["aliyun","sdk","aimath"], | ||
packages=find_packages(exclude=["tests*"]), | ||
include_package_data=True, | ||
platforms="any", | ||
install_requires=["aliyun-python-sdk-core>=2.11.5",], | ||
classifiers=( | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Software Development", | ||
) | ||
|
||
) |