hdbcli 2.27.19__cp38-abi3-manylinux2014_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
hdbcli/__init__.py ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env python
2
+ #
3
+ # Copyright 2010 SAP AG
4
+ #
5
+ # Python DB API v2.0
6
+ # NewDB client library
7
+
8
+
9
+ __all__ = [
10
+ 'dbapi',
11
+ ]
12
+ __version__ = '2.27.19'
hdbcli/dbapi.py ADDED
@@ -0,0 +1,328 @@
1
+ import time
2
+ import datetime
3
+ import decimal
4
+ import sys
5
+ import asyncio
6
+ import pyhdbcli
7
+
8
+ if sys.version_info >= (3,):
9
+ long = int
10
+ buffer = memoryview
11
+ unicode = str
12
+
13
+ #
14
+ # globals
15
+ #
16
+ apilevel = '2.0'
17
+ threadsafety = 1
18
+ paramstyle = ('qmark', 'named')
19
+ _dbapi_async_mode = False
20
+
21
+ Connection = pyhdbcli.Connection
22
+ LOB = pyhdbcli.LOB
23
+ ResultRow = pyhdbcli.ResultRow
24
+ connect = Connection
25
+ Cursor = pyhdbcli.Cursor
26
+
27
+ class AsyncLob(pyhdbcli.LOB):
28
+ def __init__(self, *args, **kwargs):
29
+ if len(args) == 1 and isinstance(args[0], pyhdbcli.LOB):
30
+ # Wrap an existing LOB
31
+ self._lob = args[0]
32
+ else:
33
+ # Create self as a new LOB
34
+ super().__init__(*args, **kwargs)
35
+ self._lob = None
36
+
37
+ async def close(self, *args, **kwargs):
38
+ def call_close():
39
+ if self._lob == None:
40
+ return super(AsyncLob, self).close(*args, **kwargs)
41
+ return self._lob.close(*args, **kwargs)
42
+ loop = asyncio.get_running_loop()
43
+ #return await loop.run_in_executor(None, super().close, *args, **kwargs)
44
+ return await loop.run_in_executor(None, call_close)
45
+
46
+ async def find(self, *args, **kwargs):
47
+ def call_find():
48
+ if self._lob == None:
49
+ return super(AsyncLob, self).find(*args, **kwargs)
50
+ return self._lob.find(*args, **kwargs)
51
+ loop = asyncio.get_running_loop()
52
+ return await loop.run_in_executor(None, call_find)
53
+
54
+ async def read(self, *args, **kwargs):
55
+ def call_read():
56
+ if self._lob == None:
57
+ return super(AsyncLob, self).read(*args, **kwargs)
58
+ return self._lob.read(*args, **kwargs)
59
+ loop = asyncio.get_running_loop()
60
+ return await loop.run_in_executor(None, call_read)
61
+
62
+ async def write(self, *args, **kwargs):
63
+ def call_write():
64
+ if self._lob == None:
65
+ return super(AsyncLob, self).write(*args, **kwargs)
66
+ return self._lob.write(*args, **kwargs)
67
+ loop = asyncio.get_running_loop()
68
+ return await loop.run_in_executor(None, call_write)
69
+
70
+ def __getattr__(self, name):
71
+ if self._lob is None:
72
+ return super(AsyncLob, self).__getattr__(name)
73
+ return getattr(self._lob, name)
74
+
75
+ class AsyncCursor(pyhdbcli.Cursor):
76
+ async def callproc(self, *args, **kwargs):
77
+ def call_callproc():
78
+ return super(AsyncCursor, self).callproc(*args, **kwargs)
79
+ loop = asyncio.get_running_loop()
80
+ return await loop.run_in_executor(None, call_callproc)
81
+
82
+ async def close(self, *args, **kwargs):
83
+ def call_close():
84
+ return super(AsyncCursor, self).close(*args, **kwargs)
85
+ loop = asyncio.get_running_loop()
86
+ return await loop.run_in_executor(None, call_close)
87
+
88
+ async def execute(self, *args, **kwargs):
89
+ def call_execute():
90
+ return super(AsyncCursor, self).execute(*args, **kwargs)
91
+ loop = asyncio.get_running_loop()
92
+ return await loop.run_in_executor(None, call_execute)
93
+
94
+ async def executemany(self, *args, **kwargs):
95
+ def call_executemany():
96
+ return super(AsyncCursor, self).executemany(*args, **kwargs)
97
+ loop = asyncio.get_running_loop()
98
+ return await loop.run_in_executor(None, call_executemany)
99
+
100
+ async def executemanyprepared(self, *args, **kwargs):
101
+ def call_executemanyprepared():
102
+ return super(AsyncCursor, self).executemanyprepared(*args, **kwargs)
103
+ loop = asyncio.get_running_loop()
104
+ return await loop.run_in_executor(None, call_executemanyprepared)
105
+
106
+ async def executeprepared(self, *args, **kwargs):
107
+ def call_executeprepared():
108
+ return super(AsyncCursor, self).executeprepared(*args, **kwargs)
109
+ loop = asyncio.get_running_loop()
110
+ return await loop.run_in_executor(None, call_executeprepared)
111
+
112
+ async def fetchall(self, *args, **kwargs):
113
+ def call_fetchall():
114
+ return super(AsyncCursor, self).fetchall(*args, **kwargs)
115
+ loop = asyncio.get_running_loop()
116
+ return await loop.run_in_executor(None, call_fetchall)
117
+
118
+ async def fetchmany(self, *args, **kwargs):
119
+ def call_fetchmany():
120
+ return super(AsyncCursor, self).fetchmany(*args, **kwargs)
121
+ loop = asyncio.get_running_loop()
122
+ return await loop.run_in_executor(None, call_fetchmany)
123
+
124
+ async def fetchone(self, *args, **kwargs):
125
+ def call_fetchone():
126
+ return super(AsyncCursor, self).fetchone(*args, **kwargs)
127
+ loop = asyncio.get_running_loop()
128
+ result = await loop.run_in_executor(None, call_fetchone)
129
+ uselob = False
130
+ if 'uselob' in kwargs:
131
+ uselob = kwargs['uselob']
132
+ elif len(args) > 0:
133
+ uselob = bool(args[0])
134
+ if uselob and result is not None:
135
+ result = tuple(
136
+ AsyncLob(val) if isinstance(val, pyhdbcli.LOB) else val
137
+ for val in result
138
+ )
139
+ return result
140
+
141
+ async def nextset(self, *args, **kwargs):
142
+ def call_nextset():
143
+ return super(AsyncCursor, self).nextset(*args, **kwargs)
144
+ loop = asyncio.get_running_loop()
145
+ return await loop.run_in_executor(None, call_nextset)
146
+
147
+ async def prepare(self, *args, **kwargs):
148
+ def call_prepare():
149
+ return super(AsyncCursor, self).prepare(*args, **kwargs)
150
+ loop = asyncio.get_running_loop()
151
+ return await loop.run_in_executor(None, call_prepare)
152
+
153
+ async def scroll(self, *args, **kwargs):
154
+ def call_scroll():
155
+ return super(AsyncCursor, self).scroll(*args, **kwargs)
156
+ loop = asyncio.get_running_loop()
157
+ return await loop.run_in_executor(None, call_scroll)
158
+
159
+
160
+ class AsyncConnection(pyhdbcli.Connection):
161
+ @classmethod
162
+ async def create(cls, *args, **kwargs):
163
+ def call_cls():
164
+ return cls(*args, **kwargs)
165
+ loop = asyncio.get_running_loop()
166
+ return await loop.run_in_executor(None, call_cls)
167
+
168
+ async def cancel(self, *args, **kwargs):
169
+ def call_cancel():
170
+ return super(AsyncConnection, self).cancel(*args, **kwargs)
171
+ loop = asyncio.get_running_loop()
172
+ return await loop.run_in_executor(None, call_cancel)
173
+
174
+ async def close(self, *args, **kwargs):
175
+ def call_close():
176
+ return super(AsyncConnection, self).close(*args, **kwargs)
177
+ loop = asyncio.get_running_loop()
178
+ return await loop.run_in_executor(None, call_close)
179
+
180
+ async def commit(self, *args, **kwargs):
181
+ def call_commit():
182
+ return super(AsyncConnection, self).commit(*args, **kwargs)
183
+ loop = asyncio.get_running_loop()
184
+ return await loop.run_in_executor(None, call_commit)
185
+
186
+ async def rollback(self, *args, **kwargs):
187
+ def call_rollback():
188
+ return super(AsyncConnection, self).rollback(*args, **kwargs)
189
+ loop = asyncio.get_running_loop()
190
+ return await loop.run_in_executor(None, call_rollback)
191
+
192
+ def cursor(self):
193
+ return AsyncCursor(self)
194
+
195
+ async def async_connect(*args, **kwargs):
196
+ """
197
+ Asynchronously create and return an AsyncConnection instance.
198
+ Usage: conn = await async_connect(...)
199
+ """
200
+ if sys.version_info < (3, 7):
201
+ raise RuntimeError("async_connect requires Python 3.7 or newer.")
202
+ return await AsyncConnection.create(*args, **kwargs)
203
+
204
+ def _get_connection_class():
205
+ return AsyncConnection if _dbapi_async_mode else pyhdbcli.Connection
206
+
207
+ def _get_cursor_class():
208
+ return AsyncCursor if _dbapi_async_mode else pyhdbcli.Cursor
209
+
210
+ def _get_lob_class():
211
+ return AsyncLob if _dbapi_async_mode else pyhdbcli.LOB
212
+
213
+ def set_async_mode(enabled=True):
214
+ global _dbapi_async_mode
215
+ global Connection
216
+ global LOB
217
+ global connect
218
+ global Cursor
219
+ _dbapi_async_mode = bool(enabled)
220
+ Connection = _get_connection_class()
221
+ LOB = _get_lob_class()
222
+ connect = async_connect if _dbapi_async_mode else pyhdbcli.Connection
223
+ Cursor = _get_cursor_class()
224
+
225
+
226
+ #
227
+ # exceptions
228
+ #
229
+ from pyhdbcli import Warning
230
+ from pyhdbcli import Error
231
+ def __errorinit(self, *args):
232
+ super(Error, self).__init__(*args)
233
+ argc = len(args)
234
+ if argc == 1:
235
+ if isinstance(args[0], Error):
236
+ self.errorcode = args[0].errorcode
237
+ self.errortext = args[0].errortext
238
+ elif isinstance(args[0], (str, unicode)):
239
+ self.errorcode = 0
240
+ self.errortext = args[0]
241
+ elif argc >= 2 and isinstance(args[0], (int, long)) and isinstance(args[1], (str, unicode)):
242
+ self.errorcode = args[0]
243
+ self.errortext = args[1]
244
+ Error.__init__ = __errorinit
245
+ from pyhdbcli import DatabaseError
246
+ from pyhdbcli import OperationalError
247
+ from pyhdbcli import ProgrammingError
248
+ from pyhdbcli import IntegrityError
249
+ from pyhdbcli import InterfaceError
250
+ from pyhdbcli import InternalError
251
+ from pyhdbcli import DataError
252
+ from pyhdbcli import NotSupportedError
253
+ from pyhdbcli import ExecuteManyError
254
+ from pyhdbcli import ExecuteManyErrorEntry
255
+
256
+ #
257
+ # input conversions
258
+ #
259
+
260
+ def Date(year, month, day):
261
+ return datetime.date(year, month, day)
262
+
263
+ def Time(hour, minute, second, millisecond = 0):
264
+ return datetime.time(hour, minute, second, millisecond * 1000)
265
+
266
+ def Timestamp(year, month, day, hour, minute, second, millisecond = 0):
267
+ return datetime.datetime(year, month, day, hour, minute, second, millisecond * 1000)
268
+
269
+ def DateFromTicks(ticks):
270
+ localtime = time.localtime(ticks)
271
+ year = localtime[0]
272
+ month = localtime[1]
273
+ day = localtime[2]
274
+ return Date(year, month, day)
275
+
276
+ def TimeFromTicks(ticks):
277
+ localtime = time.localtime(ticks)
278
+ hour = localtime[3]
279
+ minute = localtime[4]
280
+ second = localtime[5]
281
+ return Time(hour, minute, second)
282
+
283
+ def TimestampFromTicks(ticks):
284
+ localtime = time.localtime(ticks)
285
+ year = localtime[0]
286
+ month = localtime[1]
287
+ day = localtime[2]
288
+ hour = localtime[3]
289
+ minute = localtime[4]
290
+ second = localtime[5]
291
+ return Timestamp(year, month, day, hour, minute, second)
292
+
293
+ def Binary(data):
294
+ return buffer(data)
295
+
296
+ #
297
+ # Decimal
298
+ #
299
+ Decimal = decimal.Decimal
300
+
301
+ #
302
+ # type objects
303
+ #
304
+ class _AbstractType:
305
+ def __init__(self, name, typeobjects):
306
+ self.name = name
307
+ self.typeobjects = typeobjects
308
+
309
+ def __str__(self):
310
+ return self.name
311
+
312
+ def __cmp__(self, other):
313
+ if other in self.typeobjects:
314
+ return 0
315
+ else:
316
+ return -1
317
+
318
+ def __eq__(self, other):
319
+ return (other in self.typeobjects)
320
+
321
+ def __hash__(self):
322
+ return hash(self.name)
323
+
324
+ NUMBER = _AbstractType('NUMBER', (int, long, float, complex))
325
+ DATETIME = _AbstractType('DATETIME', (type(datetime.time(0)), type(datetime.date(1,1,1)), type(datetime.datetime(1,1,1))))
326
+ STRING = str
327
+ BINARY = buffer
328
+ ROWID = int
hdbcli/resultrow.py ADDED
@@ -0,0 +1,2 @@
1
+ import pyhdbcli
2
+ ResultRow = pyhdbcli.ResultRow
@@ -0,0 +1,154 @@
1
+ Metadata-Version: 2.4
2
+ Name: hdbcli
3
+ Version: 2.27.19
4
+ Summary: SAP HANA Python Client
5
+ Home-page: https://www.sap.com/
6
+ Author: SAP SE
7
+ License: SAP DEVELOPER LICENSE AGREEMENT
8
+ Project-URL: Documentation, https://help.sap.com/viewer/f1b440ded6144a54ada97ff95dac7adf/latest/en-US/f3b8fabf34324302b123297cdbe710f0.html
9
+ Keywords: SAP HANA client in-memory database SQL cloud business application intelligent enterprise AI artificial intelligence analytics experience
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Intended Audience :: End Users/Desktop
13
+ Classifier: Intended Audience :: Financial and Insurance Industry
14
+ Classifier: Intended Audience :: Healthcare Industry
15
+ Classifier: Intended Audience :: Information Technology
16
+ Classifier: Intended Audience :: Legal Industry
17
+ Classifier: Intended Audience :: Manufacturing
18
+ Classifier: Intended Audience :: Science/Research
19
+ Classifier: License :: Other/Proprietary License
20
+ Classifier: Operating System :: MacOS
21
+ Classifier: Operating System :: MacOS :: MacOS X
22
+ Classifier: Operating System :: Microsoft :: Windows :: Windows 11
23
+ Classifier: Operating System :: Microsoft :: Windows :: Windows 10
24
+ Classifier: Operating System :: POSIX :: Linux
25
+ Classifier: Programming Language :: Python
26
+ Classifier: Programming Language :: Python :: 3
27
+ Classifier: Programming Language :: Python :: 3.8
28
+ Classifier: Programming Language :: Python :: 3.9
29
+ Classifier: Programming Language :: Python :: 3.10
30
+ Classifier: Programming Language :: Python :: 3.11
31
+ Classifier: Programming Language :: Python :: 3.12
32
+ Classifier: Programming Language :: Python :: 3.13
33
+ Classifier: Topic :: Database
34
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
35
+ Description-Content-Type: text/x-rst
36
+ License-File: LICENSE
37
+ Dynamic: author
38
+ Dynamic: classifier
39
+ Dynamic: description
40
+ Dynamic: description-content-type
41
+ Dynamic: home-page
42
+ Dynamic: keywords
43
+ Dynamic: license
44
+ Dynamic: license-file
45
+ Dynamic: project-url
46
+ Dynamic: summary
47
+
48
+ ######################
49
+ SAP HANA Python Client
50
+ ######################
51
+
52
+ Introduction
53
+ ------------
54
+
55
+ The Python Database API Specification v2.0 (PEP 249) defines a set of methods that provides a consistent database interface independent of the actual database being used. The Python extension module for SAP HANA implements PEP 249. Once you install the module, you can access and change the information in SAP HANA databases from Python.
56
+
57
+ In PEP 249, autocommit is turned off by default. In the SAP HANA Python driver, autocommit is turned on by default.
58
+
59
+ For information, see: `PEP 249 -- Python Database API Specification v2.0 <https://www.python.org/dev/peps/pep-0249/>`_
60
+
61
+ Getting Started
62
+ ---------------
63
+
64
+ Install via ``pip install hdbcli`` or install manually via the `HANA Client Install <https://help.sap.com/viewer/f1b440ded6144a54ada97ff95dac7adf/latest/en-US/39eca89d94ca464ca52385ad50fc7dea.html>`_
65
+
66
+ Quick Start
67
+ -----------
68
+
69
+ * For HANA Cloud databases, the port number is 443 and encryption is always enabled by default
70
+ * For HANA tenant databases, use the port number 3**NN**13 (where **NN** is the SAP instance number - e.g. 30013).
71
+ * For HANA system databases in a multitenant system, the port number is 3**NN**13.
72
+ * For HANA single-tenant databases, the port number is 3**NN**15.
73
+
74
+ ::
75
+
76
+ from hdbcli import dbapi
77
+ conn = dbapi.connect(
78
+ address="<hostname>",
79
+ port=3<NN>MM,
80
+ user="<username>",
81
+ password="<password>"
82
+ )
83
+ cursor = conn.cursor()
84
+
85
+ Execute a single statement that does not return a result set:
86
+
87
+ ::
88
+
89
+ cursor.execute("CREATE TABLE T1 (ID INTEGER PRIMARY KEY, C2 VARCHAR(255))")
90
+ cursor.close()
91
+
92
+
93
+ Use question mark parameter binding to insert values into the T1 table created above. The parameter values are supplied as a Python sequence and can be literal values or variable names. This example uses literal values:
94
+
95
+ ::
96
+
97
+ sql = 'INSERT INTO T1 (ID, C2) VALUES (?, ?)'
98
+ cursor = conn.cursor()
99
+ cursor.execute(sql, (1, 'hello'))
100
+ # returns True
101
+ cursor.execute(sql, (2, 'hello again'))
102
+ # returns True
103
+ cursor.close()
104
+
105
+ Use named parameter binding to insert values into the T1 table. The values are supplied as a Python dictionary, and this example uses variable names.
106
+
107
+ ::
108
+
109
+ sql = 'INSERT INTO T1 (ID, C2) VALUES (:id, :c2)'
110
+ cursor = conn.cursor()
111
+ id = 3
112
+ c2 = "goodbye"
113
+ cursor.execute(sql, {"id": id, "c2": c2})
114
+ # returns True
115
+ cursor.close()
116
+
117
+ Loop over the rows of the result set.
118
+
119
+ ::
120
+
121
+ sql = 'SELECT * FROM T1'
122
+ cursor = conn.cursor()
123
+ cursor.execute(sql)
124
+ for row in cursor:
125
+ print(row)
126
+
127
+ Help
128
+ ----
129
+
130
+ See the `SAP HANA Client Interface Programming Reference <https://help.sap.com/viewer/f1b440ded6144a54ada97ff95dac7adf/latest/en-US/f3b8fabf34324302b123297cdbe710f0.html>`_ for details about developing with the SAP HANA Python Client.
131
+
132
+ Community
133
+ ---------
134
+
135
+ SAP Community provides a forum where you can ask and answer questions, and comment and vote on the questions of others and their answers.
136
+
137
+ See `SAP HANA Community Questions <https://answers.sap.com/tags/73554900100700000996>`_ for details.
138
+
139
+ Limitations of 32-bit Windows driver
140
+ ------------------------------------
141
+
142
+ The maximum length of a LOB column for the 32-bit Python driver on Windows is 2147483647.
143
+ The maximum rowcount that can be returned for the 32-bit Python driver on Windows is 2147483647.
144
+
145
+ License
146
+ -------
147
+
148
+ The HANA Python Client is provided via the `SAP Developer License Agreement <https://tools.hana.ondemand.com/developer-license.txt>`_.
149
+
150
+ By using this software, you agree that the following text is incorporated into the terms of the Developer Agreement:
151
+
152
+ If you are an existing SAP customer for On Premise software, your use of this current software is also covered by the
153
+ terms of your software license agreement with SAP, including the Use Rights, the current version of which can be found at:
154
+ `https://www.sap.com/about/agreements/product-use-and-support-terms.html?tag=agreements:product-use-support-terms/on-premise-software/software-use-rights <https://www.sap.com/about/agreements/product-use-and-support-terms.html?tag=agreements:product-use-support-terms/on-premise-software/software-use-rights>`_
@@ -0,0 +1,9 @@
1
+ pyhdbcli.abi3.so,sha256=r66uf6afyjm6ZjthBhT94diwdJzCLWqTOX3htLZ9mSI,13671080
2
+ hdbcli/__init__.py,sha256=h8tCMYLZi9QyoDZjHJxxlDbK5wHrYu_QpfrH11GpEB0,151
3
+ hdbcli/dbapi.py,sha256=h-BQwEaroRS4ISo8ZJe-NHjQpZaaDP_Hj6daTefAe-s,10814
4
+ hdbcli/resultrow.py,sha256=VDVuTB4e_dr9I6rMh11BvHdf4oXBWW29C5lRRfDsC0w,47
5
+ hdbcli-2.27.19.dist-info/licenses/LICENSE,sha256=we0Rtl2sV2nLJ7uQYb8WyohHGd5GPSH2C0AmTbW6xnM,13530
6
+ hdbcli-2.27.19.dist-info/METADATA,sha256=MX78CKCMEQ114pLUQEvThENS_c2Uugcli1GvKvjOaYw,6242
7
+ hdbcli-2.27.19.dist-info/WHEEL,sha256=NdDmhmRiefMEGIoxnSOVmW1XxkLZDTNbQ1kAMIExa1g,111
8
+ hdbcli-2.27.19.dist-info/top_level.txt,sha256=8LbnTZeduoYdRMjEGsfW-zEnFYceyInSnjZftZDOZuw,16
9
+ hdbcli-2.27.19.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp38-abi3-manylinux2014_aarch64
5
+
@@ -0,0 +1,39 @@
1
+ SAP DEVELOPER LICENSE AGREEMENT
2
+
3
+ Version 3.2
4
+
5
+ Please scroll down and read the following Developer License Agreement carefully ("Developer Agreement"). By clicking "I Accept" or by attempting to download, or install, or use the SAP software and other materials that accompany this Developer Agreement ("SAP Materials"), You agree that this Developer Agreement forms a legally binding agreement between You ("You" or "Your") and SAP SE, for and on behalf of itself and its subsidiaries and affiliates (as defined in Section 15 of the German Stock Corporation Act) and You agree to be bound by all of the terms and conditions stated in this Developer Agreement. If You are trying to access or download the SAP Materials on behalf of Your employer or as a consultant or agent of a third party (either "Your Company"), You represent and warrant that You have the authority to act on behalf of and bind Your Company to the terms of this Developer Agreement and everywhere in this Developer Agreement that refers to 'You' or 'Your' shall also include Your Company. If You do not agree to these terms, do not click "I Accept", and do not attempt to access or use the SAP Materials.
6
+
7
+ 1. LICENSE: SAP grants You a non-exclusive, non-transferable, non-sublicensable, revocable, limited use license to copy, reproduce and distribute the application programming interfaces ("API"), documentation, plug-ins, templates, scripts and sample code ("Tools") on a desktop, laptop, tablet, smart phone, or other appropriate computer device that You own or control (any, a "Computer") to create new applications ("Customer Applications"). You agree that the Customer Applications will not: (a) unreasonably impair, degrade or reduce the performance or security of any SAP software applications, services or related technology ("Software"); (b) enable the bypassing or circumventing of SAP's license restrictions and/or provide users with access to the Software to which such users are not licensed; (c) render or provide, without prior written consent from SAP, any information concerning SAP software license terms, Software, or any other information related to SAP products; or (d) permit mass data extraction from an SAP product to a non-SAP product, including use, modification, saving or other processing of such data in the non-SAP product. In exchange for the right to develop Customer Applications under this Agreement, You covenant not to assert any Intellectual Property Rights in Customer Applications created by You against any SAP product, service, or future SAP development.
8
+
9
+ 2. INTELLECTUAL PROPERTY: (a) SAP or its licensors retain all ownership and intellectual property rights in the APIs, Tools and Software. You may not: a) remove or modify any marks or proprietary notices of SAP, b) provide or make the APIs, Tools or Software available to any third party, c) assign this Developer Agreement or give or transfer the APIs, Tools or Software or an interest in them to another individual or entity, d) decompile, disassemble or reverse engineer (except to the extent permitted by applicable law) the APIs Tools or Software, (e) create derivative works of or based on the APIs, Tools or Software, (f) use any SAP name, trademark or logo, or (g) use the APIs or Tools to modify existing Software or other SAP product functionality or to access the Software or other SAP products' source code or metadata.
10
+ (b) Subject to SAP's underlying rights in any part of the APIs, Tools or Software, You retain all ownership and intellectual property rights in Your Customer Applications.
11
+
12
+ 3. ARTIFICIAL INTELLIGENCE TRAINING: You are expressly prohibited from using the Software, Tools or APIs as well as any Customer Applications or any part thereof for the purpose of training (developing) artificial intelligence models or systems (“AI Training”). Prohibition of AI Training includes, but is not limited to, using the Software, Tools, APIs and/or Customer Applications or part thereof in any training data set, algorithm development, model development or refinement (including language learning models) related to artificial intelligence, as well as text and data mining in accordance with §44b UrhG and Art. 4 of EU Directive 2019/790. For the avoidance of doubt, by accepting this Developer Agreement You agree that Your ownership of Customer Applications shall not create nor encompass any right to use Customer Applications for AI Training and, hence, You will not use Customer Applications or any part of it for AI Training.
13
+
14
+ 4. FREE AND OPEN SOURCE COMPONENTS: The SAP Materials may include certain third party free or open source components ("FOSS Components"). You may have additional rights in such FOSS Components that are provided by the third party licensors of those components.
15
+
16
+ 5. THIRD PARTY DEPENDENCIES: The SAP Materials may require certain third party software dependencies ("Dependencies") for the use or operation of such SAP Materials. These dependencies may be identified by SAP in Maven POM files, product documentation or by other means. SAP does not grant You any rights in or to such Dependencies under this Developer Agreement. You are solely responsible for the acquisition, installation and use of Dependencies. SAP DOES NOT MAKE ANY REPRESENTATIONS OR WARRANTIES IN RESPECT OF DEPENDENCIES, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND OF FITNESS FOR A PARTICULAR PURPOSE. IN PARTICULAR, SAP DOES NOT WARRANT THAT DEPENDENCIES WILL BE AVAILABLE, ERROR FREE, INTEROPERABLE WITH THE SAP MATERIALS, SUITABLE FOR ANY PARTICULAR PURPOSE OR NON-INFRINGING. YOU ASSUME ALL RISKS ASSOCIATED WITH THE USE OF DEPENDENCIES, INCLUDING WITHOUT LIMITATION RISKS RELATING TO QUALITY, AVAILABILITY, PERFORMANCE, DATA LOSS, UTILITY IN A PRODUCTION ENVIRONMENT, AND NON-INFRINGEMENT. IN NO EVENT WILL SAP BE LIABLE DIRECTLY OR INDIRECTLY IN RESPECT OF ANY USE OF DEPENDENCIES BY YOU.
17
+
18
+ 6. WARRANTY:
19
+ a) If You are located outside the US or Canada: AS THE API AND TOOLS ARE PROVIDED TO YOU FREE OF CHARGE, SAP DOES NOT GUARANTEE OR WARRANT ANY FEATURES OR QUALITIES OF THE TOOLS OR API OR GIVE ANY UNDERTAKING WITH REGARD TO ANY OTHER QUALITY. NO SUCH WARRANTY OR UNDERTAKING SHALL BE IMPLIED BY YOU FROM ANY DESCRIPTION IN THE API OR TOOLS OR ANY AVAILABLE DOCUMENTATION OR ANY OTHER COMMUNICATION OR ADVERTISEMENT. IN PARTICULAR, SAP DOES NOT WARRANT THAT THE SOFTWARE WILL BE AVAILABLE UNINTERRUPTED, ERROR FREE, OR PERMANENTLY AVAILABLE. FOR THE TOOLS AND API ALL WARRANTY CLAIMS ARE SUBJECT TO THE LIMITATION OF LIABILITY STIPULATED IN SECTION 4 BELOW.
20
+ b) If You are located in the US or Canada: THE API AND TOOLS ARE LICENSED TO YOU "AS IS", WITHOUT ANY WARRANTY, ESCROW, TRAINING, MAINTENANCE, OR SERVICE OBLIGATIONS WHATSOEVER ON THE PART OF SAP. SAP MAKES NO EXPRESS OR IMPLIED WARRANTIES OR CONDITIONS OF SALE OF ANY TYPE WHATSOEVER, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND OF FITNESS FOR A PARTICULAR PURPOSE. IN PARTICULAR, SAP DOES NOT WARRANT THAT THE SOFTWARE WILL BE AVAILABLE UNINTERRUPTED, ERROR FREE, OR PERMANENTLY AVAILABLE. YOU ASSUME ALL RISKS ASSOCIATED WITH THE USE OF THE API AND TOOLS, INCLUDING WITHOUT LIMITATION RISKS RELATING TO QUALITY, AVAILABILITY, PERFORMANCE, DATA LOSS, AND UTILITY IN A PRODUCTION ENVIRONMENT.
21
+
22
+ 7. LIMITATION OF LIABILITY:
23
+ a) If You are located outside the US or Canada: IRRESPECTIVE OF THE LEGAL REASONS, SAP SHALL ONLY BE LIABLE FOR DAMAGES UNDER THIS AGREEMENT IF SUCH DAMAGE (I) CAN BE CLAIMED UNDER THE GERMAN PRODUCT LIABILITY ACT OR (II) IS CAUSED BY INTENTIONAL MISCONDUCT OF SAP OR (III) CONSISTS OF PERSONAL INJURY. IN ALL OTHER CASES, NEITHER SAP NOR ITS EMPLOYEES, AGENTS AND SUBCONTRACTORS SHALL BE LIABLE FOR ANY KIND OF DAMAGE OR CLAIMS HEREUNDER.
24
+ b) If You are located in the US or Canada: IN NO EVENT SHALL SAP BE LIABLE TO YOU, YOUR COMPANY OR TO ANY THIRD PARTY FOR ANY DAMAGES IN AN AMOUNT IN EXCESS OF $100 ARISING IN CONNECTION WITH YOUR USE OF OR INABILITY TO USE THE TOOLS OR API OR IN CONNECTION WITH SAP'S PROVISION OF OR FAILURE TO PROVIDE SERVICES PERTAINING TO THE TOOLS OR API, OR AS A RESULT OF ANY DEFECT IN THE API OR TOOLS. THIS DISCLAIMER OF LIABILITY SHALL APPLY REGARDLESS OF THE FORM OF ACTION THAT MAY BE BROUGHT AGAINST SAP, WHETHER IN CONTRACT OR TORT, INCLUDING WITHOUT LIMITATION ANY ACTION FOR NEGLIGENCE. YOUR SOLE REMEDY IN THE EVENT OF BREACH OF THIS DEVELOPER AGREEMENT BY SAP OR FOR ANY OTHER CLAIM RELATED TO THE API OR TOOLS SHALL BE TERMINATION OF THIS AGREEMENT. NOTWITHSTANDING ANYTHING TO THE CONTRARY HEREIN, UNDER NO CIRCUMSTANCES SHALL SAP AND ITS LICENSORS BE LIABLE TO YOU OR ANY OTHER PERSON OR ENTITY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR INDIRECT DAMAGES, LOSS OF GOOD WILL OR BUSINESS PROFITS, WORK STOPPAGE, DATA LOSS, COMPUTER FAILURE OR MALFUNCTION, ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSS, OR EXEMPLARY OR PUNITIVE DAMAGES.
25
+
26
+ 8. INDEMNITY: You will fully indemnify, hold harmless and defend SAP against law suits based on any claim: (a) that any Customer Application created by You infringes or misappropriates any patent, copyright, trademark, trade secrets, or other proprietary rights of a third party, or (b) related to Your alleged violation of the terms of this Developer Agreement.
27
+
28
+ 9. EXPORT: The Tools and API are subject to German, EU and US export control regulations. You confirm that: a) You will not use the Tools or API for, and will not allow the Tools or API to be used for, any purposes prohibited by German, EU and US law, including, without limitation, for the development, design, manufacture or production of nuclear, chemical or biological weapons of mass destruction; b) You are not located in Cuba, Iran, Sudan, Iraq, North Korea, Syria, nor any other country to which the United States has prohibited export or that has been designated by the U.S. Government as a "terrorist supporting" country (any, an "US Embargoed Country"); c) You are not a citizen, national or resident of, and are not under the control of, a US Embargoed Country; d) You will not download or otherwise export or re-export the API or Tools, directly or indirectly, to a US Embargoed Country nor to citizens, nationals or residents of a US Embargoed Country; e) You are not listed on the United States Department of Treasury lists of Specially Designated Nationals, Specially Designated Terrorists, and Specially Designated Narcotic Traffickers, nor listed on the United States Department of Commerce Table of Denial Orders or any other U.S. government list of prohibited or restricted parties and f) You will not download or otherwise export or re-export the API or Tools , directly or indirectly, to persons on the above-mentioned lists.
29
+
30
+ 10. SUPPORT: Other than what is made available on the SAP Community Website (SCN) by SAP at its sole discretion and by SCN members, SAP does not offer support for the API or Tools which are the subject of this Developer Agreement.
31
+
32
+ 11. TERM AND TERMINATION: You may terminate this Developer Agreement by destroying all copies of the API and Tools on Your Computer(s). SAP may terminate Your license to use the API and Tools immediately if You fail to comply with any of the terms of this Developer Agreement, or, for SAP's convenience by providing you with ten (10) day's written notice of termination (including by public notice). In case of termination or expiration of this Developer Agreement, You must destroy all copies of the API and Tools immediately. In the event Your Company or any of the intellectual property you create using the API, Tools or Software are acquired (by merger, purchase of stock, assets or intellectual property or exclusive license), or You become employed, by a direct competitor of SAP, then this Development Agreement and all licenses granted in this Developer Agreement shall immediately terminate upon the date of such acquisition.
33
+
34
+ 12. LAW/VENUE:
35
+ a) If You are located outside the US or Canada: This Developer Agreement is governed by and construed in accordance with the laws of the Germany. You and SAP agree to submit to the exclusive jurisdiction of, and venue in, the courts of Karlsruhe in Germany in any dispute arising out of or relating to this Developer Agreement.
36
+ b) If You are located in the US or Canada: This Developer Agreement shall be governed by and construed under the Commonwealth of Pennsylvania law without reference to its conflicts of law principles. In the event of any conflicts between foreign law, rules, and regulations, and United States of America law, rules, and regulations, United States of America law, rules, and regulations shall prevail and govern. The United Nations Convention on Contracts for the International Sale of Goods shall not apply to this Developer Agreement. The Uniform Computer Information Transactions Act as enacted shall not apply.
37
+
38
+ 13. MISCELLANEOUS: This Developer Agreement is the complete agreement for the API and Tools licensed (including reference to information/documentation contained in a URL). This Developer Agreement supersedes all prior or contemporaneous agreements or representations with regards to the subject matter of this Developer Agreement. If any term of this Developer Agreement is found to be invalid or unenforceable, the surviving provisions shall remain effective. SAP's failure to enforce any right or provisions stipulated in this Developer Agreement will not constitute a waiver of such provision, or any other provision of this Developer Agreement.
39
+
@@ -0,0 +1,2 @@
1
+ hdbcli
2
+ pyhdbcli
pyhdbcli.abi3.so ADDED
Binary file