Skip to content

Commit

Permalink
Init.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Nov 19, 2024
1 parent 1d1b29f commit 7fcab73
Show file tree
Hide file tree
Showing 14 changed files with 304 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-aimath/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
2024-11-19 Version: 1.0.0
- Init.

13 changes: 13 additions & 0 deletions aliyun-python-sdk-aimath/LICENSE
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.
1 change: 1 addition & 0 deletions aliyun-python-sdk-aimath/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include LICENSE README.rst ChangeLog.txt
15 changes: 15 additions & 0 deletions aliyun-python-sdk-aimath/README.rst
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>`_
1 change: 1 addition & 0 deletions aliyun-python-sdk-aimath/aliyunsdkaimath/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '1.0.0'
Empty file.
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)
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)
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)
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)
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.
5 changes: 5 additions & 0 deletions aliyun-python-sdk-aimath/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[metadata]
license_file = LICENSE

[bdist_wheel]
universal = 1
78 changes: 78 additions & 0 deletions aliyun-python-sdk-aimath/setup.py
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",
)

)

0 comments on commit 7fcab73

Please sign in to comment.