From 7fcab73ee42b6422c40af24f9f90d0b91169d2e4 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 19 Nov 2024 08:27:10 +0000 Subject: [PATCH] Init. --- aliyun-python-sdk-aimath/ChangeLog.txt | 3 + aliyun-python-sdk-aimath/LICENSE | 13 ++++ aliyun-python-sdk-aimath/MANIFEST.in | 1 + aliyun-python-sdk-aimath/README.rst | 15 ++++ .../aliyunsdkaimath/__init__.py | 1 + .../aliyunsdkaimath/request/__init__.py | 0 .../request/v20241114/GenAnalysisRequest.py | 32 ++++++++ .../request/v20241114/GenStepRequest.py | 32 ++++++++ .../request/v20241114/GlobalConfirmRequest.py | 38 +++++++++ .../v20241114/UpdateAnalysisRequest.py | 43 ++++++++++ .../request/v20241114/UpdateStepRequest.py | 43 ++++++++++ .../request/v20241114/__init__.py | 0 aliyun-python-sdk-aimath/setup.cfg | 5 ++ aliyun-python-sdk-aimath/setup.py | 78 +++++++++++++++++++ 14 files changed, 304 insertions(+) create mode 100644 aliyun-python-sdk-aimath/ChangeLog.txt create mode 100644 aliyun-python-sdk-aimath/LICENSE create mode 100644 aliyun-python-sdk-aimath/MANIFEST.in create mode 100644 aliyun-python-sdk-aimath/README.rst create mode 100644 aliyun-python-sdk-aimath/aliyunsdkaimath/__init__.py create mode 100644 aliyun-python-sdk-aimath/aliyunsdkaimath/request/__init__.py create mode 100644 aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GenAnalysisRequest.py create mode 100644 aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GenStepRequest.py create mode 100644 aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GlobalConfirmRequest.py create mode 100644 aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/UpdateAnalysisRequest.py create mode 100644 aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/UpdateStepRequest.py create mode 100644 aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/__init__.py create mode 100644 aliyun-python-sdk-aimath/setup.cfg create mode 100644 aliyun-python-sdk-aimath/setup.py diff --git a/aliyun-python-sdk-aimath/ChangeLog.txt b/aliyun-python-sdk-aimath/ChangeLog.txt new file mode 100644 index 0000000000..77e980c283 --- /dev/null +++ b/aliyun-python-sdk-aimath/ChangeLog.txt @@ -0,0 +1,3 @@ +2024-11-19 Version: 1.0.0 +- Init. + diff --git a/aliyun-python-sdk-aimath/LICENSE b/aliyun-python-sdk-aimath/LICENSE new file mode 100644 index 0000000000..85815c8027 --- /dev/null +++ b/aliyun-python-sdk-aimath/LICENSE @@ -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. \ No newline at end of file diff --git a/aliyun-python-sdk-aimath/MANIFEST.in b/aliyun-python-sdk-aimath/MANIFEST.in new file mode 100644 index 0000000000..03d3d04ba9 --- /dev/null +++ b/aliyun-python-sdk-aimath/MANIFEST.in @@ -0,0 +1 @@ +include LICENSE README.rst ChangeLog.txt \ No newline at end of file diff --git a/aliyun-python-sdk-aimath/README.rst b/aliyun-python-sdk-aimath/README.rst new file mode 100644 index 0000000000..99f61dc4ef --- /dev/null +++ b/aliyun-python-sdk-aimath/README.rst @@ -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 `_ diff --git a/aliyun-python-sdk-aimath/aliyunsdkaimath/__init__.py b/aliyun-python-sdk-aimath/aliyunsdkaimath/__init__.py new file mode 100644 index 0000000000..75977e6f41 --- /dev/null +++ b/aliyun-python-sdk-aimath/aliyunsdkaimath/__init__.py @@ -0,0 +1 @@ +__version__ = '1.0.0' \ No newline at end of file diff --git a/aliyun-python-sdk-aimath/aliyunsdkaimath/request/__init__.py b/aliyun-python-sdk-aimath/aliyunsdkaimath/request/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GenAnalysisRequest.py b/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GenAnalysisRequest.py new file mode 100644 index 0000000000..3807fd4cda --- /dev/null +++ b/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GenAnalysisRequest.py @@ -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) diff --git a/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GenStepRequest.py b/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GenStepRequest.py new file mode 100644 index 0000000000..4d7687775f --- /dev/null +++ b/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GenStepRequest.py @@ -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) diff --git a/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GlobalConfirmRequest.py b/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GlobalConfirmRequest.py new file mode 100644 index 0000000000..99ffa33e3b --- /dev/null +++ b/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/GlobalConfirmRequest.py @@ -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) diff --git a/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/UpdateAnalysisRequest.py b/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/UpdateAnalysisRequest.py new file mode 100644 index 0000000000..2851352ed6 --- /dev/null +++ b/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/UpdateAnalysisRequest.py @@ -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) diff --git a/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/UpdateStepRequest.py b/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/UpdateStepRequest.py new file mode 100644 index 0000000000..e94260c6e9 --- /dev/null +++ b/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/UpdateStepRequest.py @@ -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) diff --git a/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/__init__.py b/aliyun-python-sdk-aimath/aliyunsdkaimath/request/v20241114/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/aliyun-python-sdk-aimath/setup.cfg b/aliyun-python-sdk-aimath/setup.cfg new file mode 100644 index 0000000000..f091bdf4a4 --- /dev/null +++ b/aliyun-python-sdk-aimath/setup.cfg @@ -0,0 +1,5 @@ +[metadata] +license_file = LICENSE + +[bdist_wheel] +universal = 1 diff --git a/aliyun-python-sdk-aimath/setup.py b/aliyun-python-sdk-aimath/setup.py new file mode 100644 index 0000000000..ba51b478e9 --- /dev/null +++ b/aliyun-python-sdk-aimath/setup.py @@ -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 = "aliyun-developers-efficiency@list.alibaba-inc.com" +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", + ) + +) \ No newline at end of file