sqlalchemy-singlestoredb 1.1.0__tar.gz → 1.1.2__tar.gz
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.
- sqlalchemy_singlestoredb-1.1.2/PKG-INFO +39 -0
- sqlalchemy_singlestoredb-1.1.2/README.md +21 -0
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/setup.cfg +2 -3
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb/__init__.py +1 -1
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb/base.py +37 -1
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb/column.py +0 -3
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb/ddlelement.py +8 -5
- sqlalchemy_singlestoredb-1.1.2/sqlalchemy_singlestoredb.egg-info/PKG-INFO +39 -0
- sqlalchemy_singlestoredb-1.1.0/PKG-INFO +0 -53
- sqlalchemy_singlestoredb-1.1.0/README.md +0 -35
- sqlalchemy_singlestoredb-1.1.0/sqlalchemy_singlestoredb.egg-info/PKG-INFO +0 -53
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/LICENSE +0 -0
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/setup.py +0 -0
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb/dtypes.py +0 -0
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb/reflection.py +0 -0
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb/tests/__init__.py +0 -0
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb/tests/test.sql +0 -0
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb/tests/test_basics.py +0 -0
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb.egg-info/SOURCES.txt +0 -0
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb.egg-info/dependency_links.txt +0 -0
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb.egg-info/entry_points.txt +0 -0
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb.egg-info/requires.txt +0 -0
- {sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sqlalchemy_singlestoredb
|
|
3
|
+
Version: 1.1.2
|
|
4
|
+
Summary: SQLAlchemy dialect for the SingleStoreDB database
|
|
5
|
+
Home-page: https://github.com/singlestore-labs/sqlalchemy-singlestoredb
|
|
6
|
+
Author: SingleStore
|
|
7
|
+
Author-email: support@singlestore.com
|
|
8
|
+
License: Apache-2.0
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
12
|
+
Requires-Python: >=3.9
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
Requires-Dist: singlestoredb>=1.0.0
|
|
16
|
+
Requires-Dist: sqlalchemy<3.0.0dev,>=1.4.0
|
|
17
|
+
Dynamic: license-file
|
|
18
|
+
|
|
19
|
+
# <img src="https://raw.githubusercontent.com/singlestore-labs/singlestoredb-python/main/resources/singlestore-logo.png" height="60" valign="middle"/> SingleStoreDB SQLAlchemy Dialect
|
|
20
|
+
|
|
21
|
+
This project contains a [SQLAlchemyDB](https://sqlalchemy.org) dialect which allows
|
|
22
|
+
you to use the SQLAlchemy APIs with the [SingleStoreDB](https://singlestore.com) database.
|
|
23
|
+
|
|
24
|
+
## Install
|
|
25
|
+
|
|
26
|
+
This package can be install from PyPI using `pip`:
|
|
27
|
+
```
|
|
28
|
+
pip install sqlalchemy-singlestoredb
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## License
|
|
32
|
+
|
|
33
|
+
This library is licensed under the [Apache 2.0 License](https://raw.githubusercontent.com/singlestore-labs/singlestoredb-python/main/LICENSE?token=GHSAT0AAAAAABMGV6QPNR6N23BVICDYK5LAYTVK5EA).
|
|
34
|
+
|
|
35
|
+
## Resources
|
|
36
|
+
|
|
37
|
+
* [Documentation](https://sqlalchemy-singlestoredb.labs.singlestore.com)
|
|
38
|
+
* [SingleStore](https://www.singlestore.com)
|
|
39
|
+
* [SQLAlchemy](https://sqlalchemy.org)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# <img src="https://raw.githubusercontent.com/singlestore-labs/singlestoredb-python/main/resources/singlestore-logo.png" height="60" valign="middle"/> SingleStoreDB SQLAlchemy Dialect
|
|
2
|
+
|
|
3
|
+
This project contains a [SQLAlchemyDB](https://sqlalchemy.org) dialect which allows
|
|
4
|
+
you to use the SQLAlchemy APIs with the [SingleStoreDB](https://singlestore.com) database.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
This package can be install from PyPI using `pip`:
|
|
9
|
+
```
|
|
10
|
+
pip install sqlalchemy-singlestoredb
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## License
|
|
14
|
+
|
|
15
|
+
This library is licensed under the [Apache 2.0 License](https://raw.githubusercontent.com/singlestore-labs/singlestoredb-python/main/LICENSE?token=GHSAT0AAAAAABMGV6QPNR6N23BVICDYK5LAYTVK5EA).
|
|
16
|
+
|
|
17
|
+
## Resources
|
|
18
|
+
|
|
19
|
+
* [Documentation](https://sqlalchemy-singlestoredb.labs.singlestore.com)
|
|
20
|
+
* [SingleStore](https://www.singlestore.com)
|
|
21
|
+
* [SQLAlchemy](https://sqlalchemy.org)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = sqlalchemy_singlestoredb
|
|
3
|
-
version = 1.1.
|
|
3
|
+
version = 1.1.2
|
|
4
4
|
description = SQLAlchemy dialect for the SingleStoreDB database
|
|
5
5
|
long_description = file: README.md
|
|
6
6
|
long_description_content_type = text/markdown
|
|
@@ -11,7 +11,6 @@ license = Apache-2.0
|
|
|
11
11
|
license_files = LICENSE
|
|
12
12
|
classifiers =
|
|
13
13
|
Development Status :: 5 - Production/Stable
|
|
14
|
-
License :: OSI Approved :: Apache Software License
|
|
15
14
|
Programming Language :: Python :: 3
|
|
16
15
|
Programming Language :: Python :: 3 :: Only
|
|
17
16
|
|
|
@@ -20,7 +19,7 @@ packages = find:
|
|
|
20
19
|
install_requires =
|
|
21
20
|
singlestoredb>=1.0.0
|
|
22
21
|
sqlalchemy>=1.4.0,<3.0.0dev
|
|
23
|
-
python_requires = >=3.
|
|
22
|
+
python_requires = >=3.9
|
|
24
23
|
tests_require =
|
|
25
24
|
coverage
|
|
26
25
|
pytest
|
{sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb/base.py
RENAMED
|
@@ -8,6 +8,8 @@ from typing import Dict
|
|
|
8
8
|
from typing import List
|
|
9
9
|
from typing import Optional
|
|
10
10
|
from typing import Type
|
|
11
|
+
from urllib.parse import quote
|
|
12
|
+
from urllib.parse import quote_plus
|
|
11
13
|
|
|
12
14
|
import sqlalchemy.sql.elements as se
|
|
13
15
|
from sqlalchemy import util
|
|
@@ -199,6 +201,13 @@ class SingleStoreDBCompiler(MySQLCompiler):
|
|
|
199
201
|
),
|
|
200
202
|
)
|
|
201
203
|
|
|
204
|
+
def visit_primary_key_constraint(self, constraint: Any, **kw: Any) -> str:
|
|
205
|
+
text = super().visit_primary_key_constraint(constraint)
|
|
206
|
+
using = constraint.dialect_options['mysql']['using']
|
|
207
|
+
if using:
|
|
208
|
+
text += ' USING %s' % (self.preparer.quote(using))
|
|
209
|
+
return text
|
|
210
|
+
|
|
202
211
|
|
|
203
212
|
class SingleStoreDBDDLCompiler(MySQLDDLCompiler):
|
|
204
213
|
"""SingleStoreDB SQLAlchemy DDL compiler."""
|
|
@@ -311,6 +320,33 @@ class _myconnpyBIT(BIT):
|
|
|
311
320
|
return None
|
|
312
321
|
|
|
313
322
|
|
|
323
|
+
def render_as_string(url: URL) -> str:
|
|
324
|
+
s = url.drivername + '://'
|
|
325
|
+
if url.username is not None:
|
|
326
|
+
s += quote(url.username)
|
|
327
|
+
if url.password is not None:
|
|
328
|
+
s += ':' + quote(str(url.password))
|
|
329
|
+
s += '@'
|
|
330
|
+
if url.host is not None:
|
|
331
|
+
if ':' in url.host:
|
|
332
|
+
s += f'[{url.host}]'
|
|
333
|
+
else:
|
|
334
|
+
s += url.host
|
|
335
|
+
if url.port is not None:
|
|
336
|
+
s += ':' + str(url.port)
|
|
337
|
+
if url.database is not None:
|
|
338
|
+
s += '/' + url.database
|
|
339
|
+
if url.query:
|
|
340
|
+
keys = list(url.query)
|
|
341
|
+
keys.sort()
|
|
342
|
+
s += '?' + '&'.join(
|
|
343
|
+
f'{quote_plus(k)}={quote_plus(element)}'
|
|
344
|
+
for k in keys
|
|
345
|
+
for element in util.to_list(url.query[k])
|
|
346
|
+
)
|
|
347
|
+
return s
|
|
348
|
+
|
|
349
|
+
|
|
314
350
|
class SingleStoreDBDialect(MySQLDialect):
|
|
315
351
|
"""SingleStoreDB SQLAlchemy dialect."""
|
|
316
352
|
|
|
@@ -376,7 +412,7 @@ class SingleStoreDBDialect(MySQLDialect):
|
|
|
376
412
|
|
|
377
413
|
def create_connect_args(self, url: URL) -> List[Any]:
|
|
378
414
|
from singlestoredb.connection import build_params
|
|
379
|
-
return [[], build_params(host=
|
|
415
|
+
return [[], build_params(host=render_as_string(url))]
|
|
380
416
|
|
|
381
417
|
def _extract_error_code(self, exception: Exception) -> int:
|
|
382
418
|
return getattr(exception, 'errno', -1)
|
{sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb/column.py
RENAMED
|
@@ -3,11 +3,8 @@ from __future__ import annotations
|
|
|
3
3
|
from typing import Any
|
|
4
4
|
|
|
5
5
|
from sqlalchemy import Column
|
|
6
|
-
from sqlalchemy.ext.declarative import declarative_base
|
|
7
6
|
from sqlalchemy.sql.expression import TextClause
|
|
8
7
|
|
|
9
|
-
Base = declarative_base()
|
|
10
|
-
|
|
11
8
|
|
|
12
9
|
class PersistedColumn(Column):
|
|
13
10
|
def __init__(
|
|
@@ -3,27 +3,30 @@ from __future__ import annotations
|
|
|
3
3
|
from typing import Any
|
|
4
4
|
|
|
5
5
|
from sqlalchemy.ext.compiler import compiles
|
|
6
|
-
from sqlalchemy.ext.declarative import declarative_base
|
|
7
6
|
from sqlalchemy.schema import DDLElement
|
|
8
7
|
|
|
9
|
-
Base = declarative_base()
|
|
10
|
-
|
|
11
8
|
|
|
12
9
|
class ShardKey(DDLElement):
|
|
13
10
|
def __init__(self, *columns: Any) -> None:
|
|
14
11
|
self.columns = columns
|
|
15
12
|
|
|
13
|
+
def __repr__(self) -> str:
|
|
14
|
+
return 'ShardKey(%s)' % ', '.join([repr(x) for x in self.columns])
|
|
15
|
+
|
|
16
16
|
|
|
17
17
|
@compiles(ShardKey, 'singlestoredb.mysql')
|
|
18
18
|
def compile_shard_key(element: Any, compiler: Any, **kw: Any) -> str:
|
|
19
|
-
return 'SHARD KEY (%s)' % ', '.join(element.columns)
|
|
19
|
+
return 'SHARD KEY (%s)' % ', '.join([str(x) for x in element.columns])
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class SortKey(DDLElement):
|
|
23
23
|
def __init__(self, *columns: Any) -> None:
|
|
24
24
|
self.columns = columns
|
|
25
25
|
|
|
26
|
+
def __repr__(self) -> str:
|
|
27
|
+
return 'SortKey(%s)' % ', '.join([repr(x) for x in self.columns])
|
|
28
|
+
|
|
26
29
|
|
|
27
30
|
@compiles(SortKey, 'singlestoredb.mysql')
|
|
28
31
|
def compile_sort_key(element: Any, compiler: Any, **kw: Any) -> str:
|
|
29
|
-
return 'SORT KEY (%s)' % ', '.join(element.columns)
|
|
32
|
+
return 'SORT KEY (%s)' % ', '.join([str(x) for x in element.columns])
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sqlalchemy_singlestoredb
|
|
3
|
+
Version: 1.1.2
|
|
4
|
+
Summary: SQLAlchemy dialect for the SingleStoreDB database
|
|
5
|
+
Home-page: https://github.com/singlestore-labs/sqlalchemy-singlestoredb
|
|
6
|
+
Author: SingleStore
|
|
7
|
+
Author-email: support@singlestore.com
|
|
8
|
+
License: Apache-2.0
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
12
|
+
Requires-Python: >=3.9
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
Requires-Dist: singlestoredb>=1.0.0
|
|
16
|
+
Requires-Dist: sqlalchemy<3.0.0dev,>=1.4.0
|
|
17
|
+
Dynamic: license-file
|
|
18
|
+
|
|
19
|
+
# <img src="https://raw.githubusercontent.com/singlestore-labs/singlestoredb-python/main/resources/singlestore-logo.png" height="60" valign="middle"/> SingleStoreDB SQLAlchemy Dialect
|
|
20
|
+
|
|
21
|
+
This project contains a [SQLAlchemyDB](https://sqlalchemy.org) dialect which allows
|
|
22
|
+
you to use the SQLAlchemy APIs with the [SingleStoreDB](https://singlestore.com) database.
|
|
23
|
+
|
|
24
|
+
## Install
|
|
25
|
+
|
|
26
|
+
This package can be install from PyPI using `pip`:
|
|
27
|
+
```
|
|
28
|
+
pip install sqlalchemy-singlestoredb
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## License
|
|
32
|
+
|
|
33
|
+
This library is licensed under the [Apache 2.0 License](https://raw.githubusercontent.com/singlestore-labs/singlestoredb-python/main/LICENSE?token=GHSAT0AAAAAABMGV6QPNR6N23BVICDYK5LAYTVK5EA).
|
|
34
|
+
|
|
35
|
+
## Resources
|
|
36
|
+
|
|
37
|
+
* [Documentation](https://sqlalchemy-singlestoredb.labs.singlestore.com)
|
|
38
|
+
* [SingleStore](https://www.singlestore.com)
|
|
39
|
+
* [SQLAlchemy](https://sqlalchemy.org)
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: sqlalchemy_singlestoredb
|
|
3
|
-
Version: 1.1.0
|
|
4
|
-
Summary: SQLAlchemy dialect for the SingleStoreDB database
|
|
5
|
-
Home-page: https://github.com/singlestore-labs/sqlalchemy-singlestoredb
|
|
6
|
-
Author: SingleStore
|
|
7
|
-
Author-email: support@singlestore.com
|
|
8
|
-
License: Apache-2.0
|
|
9
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
-
Requires-Python: >=3.8
|
|
14
|
-
Description-Content-Type: text/markdown
|
|
15
|
-
License-File: LICENSE
|
|
16
|
-
Requires-Dist: singlestoredb>=1.0.0
|
|
17
|
-
Requires-Dist: sqlalchemy<3.0.0dev,>=1.4.0
|
|
18
|
-
|
|
19
|
-
# <img src="https://raw.githubusercontent.com/singlestore-labs/singlestoredb-python/main/resources/singlestore-logo.png" height="60" valign="middle"/> SingleStoreDB SQLAlchemy Dialect
|
|
20
|
-
|
|
21
|
-
This project contains a [SQLAlchemyDB](https://sqlalchemy.org) dialect which allows
|
|
22
|
-
you to use the SQLAlchemy APIs with the [SingleStoreDB](https://singlestore.com) database.
|
|
23
|
-
|
|
24
|
-
## Install
|
|
25
|
-
|
|
26
|
-
This package can be install from PyPI using `pip`:
|
|
27
|
-
```
|
|
28
|
-
pip install sqlalchemy-singlestoredb
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## License
|
|
32
|
-
|
|
33
|
-
This library is licensed under the [Apache 2.0 License](https://raw.githubusercontent.com/singlestore-labs/singlestoredb-python/main/LICENSE?token=GHSAT0AAAAAABMGV6QPNR6N23BVICDYK5LAYTVK5EA).
|
|
34
|
-
|
|
35
|
-
## Resources
|
|
36
|
-
|
|
37
|
-
* [Documentation](https://sqlalchemy-singlestoredb.labs.singlestore.com)
|
|
38
|
-
* [SingleStore](https://www.singlestore.com)
|
|
39
|
-
* [SQLAlchemy](https://sqlalchemy.org)
|
|
40
|
-
|
|
41
|
-
## User agreement
|
|
42
|
-
|
|
43
|
-
SINGLESTORE, INC. ("SINGLESTORE") AGREES TO GRANT YOU AND YOUR COMPANY ACCESS TO THIS OPEN SOURCE SOFTWARE CONNECTOR ONLY IF (A) YOU AND YOUR COMPANY REPRESENT AND WARRANT THAT YOU, ON BEHALF OF YOUR COMPANY, HAVE THE AUTHORITY TO LEGALLY BIND YOUR COMPANY AND (B) YOU, ON BEHALF OF YOUR COMPANY ACCEPT AND AGREE TO BE BOUND BY ALL OF THE OPEN SOURCE TERMS AND CONDITIONS APPLICABLE TO THIS OPEN SOURCE CONNECTOR AS SET FORTH BELOW (THIS “AGREEMENT”), WHICH SHALL BE DEFINITIVELY EVIDENCED BY ANY ONE OF THE FOLLOWING MEANS: YOU, ON BEHALF OF YOUR COMPANY, CLICKING THE “DOWNLOAD, “ACCEPTANCE” OR “CONTINUE” BUTTON, AS APPLICABLE OR COMPANY’S INSTALLATION, ACCESS OR USE OF THE OPEN SOURCE CONNECTOR AND SHALL BE EFFECTIVE ON THE EARLIER OF THE DATE ON WHICH THE DOWNLOAD, ACCESS, COPY OR INSTALL OF THE CONNECTOR OR USE ANY SERVICES (INCLUDING ANY UPDATES OR UPGRADES) PROVIDED BY SINGLESTORE.
|
|
44
|
-
BETA SOFTWARE CONNECTOR
|
|
45
|
-
|
|
46
|
-
Customer Understands and agrees that it is being granted access to pre-release or “beta” versions of SingleStore’s open source software connector (“Beta Software Connector”) for the limited purposes of non-production testing and evaluation of such Beta Software Connector. Customer acknowledges that SingleStore shall have no obligation to release a generally available version of such Beta Software Connector or to provide support or warranty for such versions of the Beta Software Connector for any production or non-evaluation use.
|
|
47
|
-
|
|
48
|
-
NOTWITHSTANDING ANYTHING TO THE CONTRARY IN ANY DOCUMENTATION, AGREEMENT OR IN ANY ORDER DOCUMENT, SINGLESTORE WILL HAVE NO WARRANTY, INDEMNITY, SUPPORT, OR SERVICE LEVEL, OBLIGATIONS WITH
|
|
49
|
-
RESPECT TO THIS BETA SOFTWARE CONNECTOR (INCLUDING TOOLS AND UTILITIES).
|
|
50
|
-
|
|
51
|
-
APPLICABLE OPEN SOURCE LICENSE: Apache 2.0
|
|
52
|
-
|
|
53
|
-
IF YOU OR YOUR COMPANY DO NOT AGREE TO THESE TERMS AND CONDITIONS, DO NOT CHECK THE ACCEPTANCE BOX, AND DO NOT DOWNLOAD, ACCESS, COPY, INSTALL OR USE THE SOFTWARE OR THE SERVICES.
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# <img src="https://raw.githubusercontent.com/singlestore-labs/singlestoredb-python/main/resources/singlestore-logo.png" height="60" valign="middle"/> SingleStoreDB SQLAlchemy Dialect
|
|
2
|
-
|
|
3
|
-
This project contains a [SQLAlchemyDB](https://sqlalchemy.org) dialect which allows
|
|
4
|
-
you to use the SQLAlchemy APIs with the [SingleStoreDB](https://singlestore.com) database.
|
|
5
|
-
|
|
6
|
-
## Install
|
|
7
|
-
|
|
8
|
-
This package can be install from PyPI using `pip`:
|
|
9
|
-
```
|
|
10
|
-
pip install sqlalchemy-singlestoredb
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## License
|
|
14
|
-
|
|
15
|
-
This library is licensed under the [Apache 2.0 License](https://raw.githubusercontent.com/singlestore-labs/singlestoredb-python/main/LICENSE?token=GHSAT0AAAAAABMGV6QPNR6N23BVICDYK5LAYTVK5EA).
|
|
16
|
-
|
|
17
|
-
## Resources
|
|
18
|
-
|
|
19
|
-
* [Documentation](https://sqlalchemy-singlestoredb.labs.singlestore.com)
|
|
20
|
-
* [SingleStore](https://www.singlestore.com)
|
|
21
|
-
* [SQLAlchemy](https://sqlalchemy.org)
|
|
22
|
-
|
|
23
|
-
## User agreement
|
|
24
|
-
|
|
25
|
-
SINGLESTORE, INC. ("SINGLESTORE") AGREES TO GRANT YOU AND YOUR COMPANY ACCESS TO THIS OPEN SOURCE SOFTWARE CONNECTOR ONLY IF (A) YOU AND YOUR COMPANY REPRESENT AND WARRANT THAT YOU, ON BEHALF OF YOUR COMPANY, HAVE THE AUTHORITY TO LEGALLY BIND YOUR COMPANY AND (B) YOU, ON BEHALF OF YOUR COMPANY ACCEPT AND AGREE TO BE BOUND BY ALL OF THE OPEN SOURCE TERMS AND CONDITIONS APPLICABLE TO THIS OPEN SOURCE CONNECTOR AS SET FORTH BELOW (THIS “AGREEMENT”), WHICH SHALL BE DEFINITIVELY EVIDENCED BY ANY ONE OF THE FOLLOWING MEANS: YOU, ON BEHALF OF YOUR COMPANY, CLICKING THE “DOWNLOAD, “ACCEPTANCE” OR “CONTINUE” BUTTON, AS APPLICABLE OR COMPANY’S INSTALLATION, ACCESS OR USE OF THE OPEN SOURCE CONNECTOR AND SHALL BE EFFECTIVE ON THE EARLIER OF THE DATE ON WHICH THE DOWNLOAD, ACCESS, COPY OR INSTALL OF THE CONNECTOR OR USE ANY SERVICES (INCLUDING ANY UPDATES OR UPGRADES) PROVIDED BY SINGLESTORE.
|
|
26
|
-
BETA SOFTWARE CONNECTOR
|
|
27
|
-
|
|
28
|
-
Customer Understands and agrees that it is being granted access to pre-release or “beta” versions of SingleStore’s open source software connector (“Beta Software Connector”) for the limited purposes of non-production testing and evaluation of such Beta Software Connector. Customer acknowledges that SingleStore shall have no obligation to release a generally available version of such Beta Software Connector or to provide support or warranty for such versions of the Beta Software Connector for any production or non-evaluation use.
|
|
29
|
-
|
|
30
|
-
NOTWITHSTANDING ANYTHING TO THE CONTRARY IN ANY DOCUMENTATION, AGREEMENT OR IN ANY ORDER DOCUMENT, SINGLESTORE WILL HAVE NO WARRANTY, INDEMNITY, SUPPORT, OR SERVICE LEVEL, OBLIGATIONS WITH
|
|
31
|
-
RESPECT TO THIS BETA SOFTWARE CONNECTOR (INCLUDING TOOLS AND UTILITIES).
|
|
32
|
-
|
|
33
|
-
APPLICABLE OPEN SOURCE LICENSE: Apache 2.0
|
|
34
|
-
|
|
35
|
-
IF YOU OR YOUR COMPANY DO NOT AGREE TO THESE TERMS AND CONDITIONS, DO NOT CHECK THE ACCEPTANCE BOX, AND DO NOT DOWNLOAD, ACCESS, COPY, INSTALL OR USE THE SOFTWARE OR THE SERVICES.
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: sqlalchemy_singlestoredb
|
|
3
|
-
Version: 1.1.0
|
|
4
|
-
Summary: SQLAlchemy dialect for the SingleStoreDB database
|
|
5
|
-
Home-page: https://github.com/singlestore-labs/sqlalchemy-singlestoredb
|
|
6
|
-
Author: SingleStore
|
|
7
|
-
Author-email: support@singlestore.com
|
|
8
|
-
License: Apache-2.0
|
|
9
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
-
Requires-Python: >=3.8
|
|
14
|
-
Description-Content-Type: text/markdown
|
|
15
|
-
License-File: LICENSE
|
|
16
|
-
Requires-Dist: singlestoredb>=1.0.0
|
|
17
|
-
Requires-Dist: sqlalchemy<3.0.0dev,>=1.4.0
|
|
18
|
-
|
|
19
|
-
# <img src="https://raw.githubusercontent.com/singlestore-labs/singlestoredb-python/main/resources/singlestore-logo.png" height="60" valign="middle"/> SingleStoreDB SQLAlchemy Dialect
|
|
20
|
-
|
|
21
|
-
This project contains a [SQLAlchemyDB](https://sqlalchemy.org) dialect which allows
|
|
22
|
-
you to use the SQLAlchemy APIs with the [SingleStoreDB](https://singlestore.com) database.
|
|
23
|
-
|
|
24
|
-
## Install
|
|
25
|
-
|
|
26
|
-
This package can be install from PyPI using `pip`:
|
|
27
|
-
```
|
|
28
|
-
pip install sqlalchemy-singlestoredb
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## License
|
|
32
|
-
|
|
33
|
-
This library is licensed under the [Apache 2.0 License](https://raw.githubusercontent.com/singlestore-labs/singlestoredb-python/main/LICENSE?token=GHSAT0AAAAAABMGV6QPNR6N23BVICDYK5LAYTVK5EA).
|
|
34
|
-
|
|
35
|
-
## Resources
|
|
36
|
-
|
|
37
|
-
* [Documentation](https://sqlalchemy-singlestoredb.labs.singlestore.com)
|
|
38
|
-
* [SingleStore](https://www.singlestore.com)
|
|
39
|
-
* [SQLAlchemy](https://sqlalchemy.org)
|
|
40
|
-
|
|
41
|
-
## User agreement
|
|
42
|
-
|
|
43
|
-
SINGLESTORE, INC. ("SINGLESTORE") AGREES TO GRANT YOU AND YOUR COMPANY ACCESS TO THIS OPEN SOURCE SOFTWARE CONNECTOR ONLY IF (A) YOU AND YOUR COMPANY REPRESENT AND WARRANT THAT YOU, ON BEHALF OF YOUR COMPANY, HAVE THE AUTHORITY TO LEGALLY BIND YOUR COMPANY AND (B) YOU, ON BEHALF OF YOUR COMPANY ACCEPT AND AGREE TO BE BOUND BY ALL OF THE OPEN SOURCE TERMS AND CONDITIONS APPLICABLE TO THIS OPEN SOURCE CONNECTOR AS SET FORTH BELOW (THIS “AGREEMENT”), WHICH SHALL BE DEFINITIVELY EVIDENCED BY ANY ONE OF THE FOLLOWING MEANS: YOU, ON BEHALF OF YOUR COMPANY, CLICKING THE “DOWNLOAD, “ACCEPTANCE” OR “CONTINUE” BUTTON, AS APPLICABLE OR COMPANY’S INSTALLATION, ACCESS OR USE OF THE OPEN SOURCE CONNECTOR AND SHALL BE EFFECTIVE ON THE EARLIER OF THE DATE ON WHICH THE DOWNLOAD, ACCESS, COPY OR INSTALL OF THE CONNECTOR OR USE ANY SERVICES (INCLUDING ANY UPDATES OR UPGRADES) PROVIDED BY SINGLESTORE.
|
|
44
|
-
BETA SOFTWARE CONNECTOR
|
|
45
|
-
|
|
46
|
-
Customer Understands and agrees that it is being granted access to pre-release or “beta” versions of SingleStore’s open source software connector (“Beta Software Connector”) for the limited purposes of non-production testing and evaluation of such Beta Software Connector. Customer acknowledges that SingleStore shall have no obligation to release a generally available version of such Beta Software Connector or to provide support or warranty for such versions of the Beta Software Connector for any production or non-evaluation use.
|
|
47
|
-
|
|
48
|
-
NOTWITHSTANDING ANYTHING TO THE CONTRARY IN ANY DOCUMENTATION, AGREEMENT OR IN ANY ORDER DOCUMENT, SINGLESTORE WILL HAVE NO WARRANTY, INDEMNITY, SUPPORT, OR SERVICE LEVEL, OBLIGATIONS WITH
|
|
49
|
-
RESPECT TO THIS BETA SOFTWARE CONNECTOR (INCLUDING TOOLS AND UTILITIES).
|
|
50
|
-
|
|
51
|
-
APPLICABLE OPEN SOURCE LICENSE: Apache 2.0
|
|
52
|
-
|
|
53
|
-
IF YOU OR YOUR COMPANY DO NOT AGREE TO THESE TERMS AND CONDITIONS, DO NOT CHECK THE ACCEPTANCE BOX, AND DO NOT DOWNLOAD, ACCESS, COPY, INSTALL OR USE THE SOFTWARE OR THE SERVICES.
|
|
File without changes
|
|
File without changes
|
{sqlalchemy_singlestoredb-1.1.0 → sqlalchemy_singlestoredb-1.1.2}/sqlalchemy_singlestoredb/dtypes.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|