sqlalchemy-cratedb 0.38.0__py3-none-any.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.
@@ -0,0 +1,178 @@
1
+
2
+
3
+ Apache License
4
+ Version 2.0, January 2004
5
+ http://www.apache.org/licenses/
6
+
7
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
+
9
+ 1. Definitions.
10
+
11
+ "License" shall mean the terms and conditions for use, reproduction,
12
+ and distribution as defined by Sections 1 through 9 of this document.
13
+
14
+ "Licensor" shall mean the copyright owner or entity authorized by
15
+ the copyright owner that is granting the License.
16
+
17
+ "Legal Entity" shall mean the union of the acting entity and all
18
+ other entities that control, are controlled by, or are under common
19
+ control with that entity. For the purposes of this definition,
20
+ "control" means (i) the power, direct or indirect, to cause the
21
+ direction or management of such entity, whether by contract or
22
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
23
+ outstanding shares, or (iii) beneficial ownership of such entity.
24
+
25
+ "You" (or "Your") shall mean an individual or Legal Entity
26
+ exercising permissions granted by this License.
27
+
28
+ "Source" form shall mean the preferred form for making modifications,
29
+ including but not limited to software source code, documentation
30
+ source, and configuration files.
31
+
32
+ "Object" form shall mean any form resulting from mechanical
33
+ transformation or translation of a Source form, including but
34
+ not limited to compiled object code, generated documentation,
35
+ and conversions to other media types.
36
+
37
+ "Work" shall mean the work of authorship, whether in Source or
38
+ Object form, made available under the License, as indicated by a
39
+ copyright notice that is included in or attached to the work
40
+ (an example is provided in the Appendix below).
41
+
42
+ "Derivative Works" shall mean any work, whether in Source or Object
43
+ form, that is based on (or derived from) the Work and for which the
44
+ editorial revisions, annotations, elaborations, or other modifications
45
+ represent, as a whole, an original work of authorship. For the purposes
46
+ of this License, Derivative Works shall not include works that remain
47
+ separable from, or merely link (or bind by name) to the interfaces of,
48
+ the Work and Derivative Works thereof.
49
+
50
+ "Contribution" shall mean any work of authorship, including
51
+ the original version of the Work and any modifications or additions
52
+ to that Work or Derivative Works thereof, that is intentionally
53
+ submitted to Licensor for inclusion in the Work by the copyright owner
54
+ or by an individual or Legal Entity authorized to submit on behalf of
55
+ the copyright owner. For the purposes of this definition, "submitted"
56
+ means any form of electronic, verbal, or written communication sent
57
+ to the Licensor or its representatives, including but not limited to
58
+ communication on electronic mailing lists, source code control systems,
59
+ and issue tracking systems that are managed by, or on behalf of, the
60
+ Licensor for the purpose of discussing and improving the Work, but
61
+ excluding communication that is conspicuously marked or otherwise
62
+ designated in writing by the copyright owner as "Not a Contribution."
63
+
64
+ "Contributor" shall mean Licensor and any individual or Legal Entity
65
+ on behalf of whom a Contribution has been received by Licensor and
66
+ subsequently incorporated within the Work.
67
+
68
+ 2. Grant of Copyright License. Subject to the terms and conditions of
69
+ this License, each Contributor hereby grants to You a perpetual,
70
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
71
+ copyright license to reproduce, prepare Derivative Works of,
72
+ publicly display, publicly perform, sublicense, and distribute the
73
+ Work and such Derivative Works in Source or Object form.
74
+
75
+ 3. Grant of Patent License. Subject to the terms and conditions of
76
+ this License, each Contributor hereby grants to You a perpetual,
77
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78
+ (except as stated in this section) patent license to make, have made,
79
+ use, offer to sell, sell, import, and otherwise transfer the Work,
80
+ where such license applies only to those patent claims licensable
81
+ by such Contributor that are necessarily infringed by their
82
+ Contribution(s) alone or by combination of their Contribution(s)
83
+ with the Work to which such Contribution(s) was submitted. If You
84
+ institute patent litigation against any entity (including a
85
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
86
+ or a Contribution incorporated within the Work constitutes direct
87
+ or contributory patent infringement, then any patent licenses
88
+ granted to You under this License for that Work shall terminate
89
+ as of the date such litigation is filed.
90
+
91
+ 4. Redistribution. You may reproduce and distribute copies of the
92
+ Work or Derivative Works thereof in any medium, with or without
93
+ modifications, and in Source or Object form, provided that You
94
+ meet the following conditions:
95
+
96
+ (a) You must give any other recipients of the Work or
97
+ Derivative Works a copy of this License; and
98
+
99
+ (b) You must cause any modified files to carry prominent notices
100
+ stating that You changed the files; and
101
+
102
+ (c) You must retain, in the Source form of any Derivative Works
103
+ that You distribute, all copyright, patent, trademark, and
104
+ attribution notices from the Source form of the Work,
105
+ excluding those notices that do not pertain to any part of
106
+ the Derivative Works; and
107
+
108
+ (d) If the Work includes a "NOTICE" text file as part of its
109
+ distribution, then any Derivative Works that You distribute must
110
+ include a readable copy of the attribution notices contained
111
+ within such NOTICE file, excluding those notices that do not
112
+ pertain to any part of the Derivative Works, in at least one
113
+ of the following places: within a NOTICE text file distributed
114
+ as part of the Derivative Works; within the Source form or
115
+ documentation, if provided along with the Derivative Works; or,
116
+ within a display generated by the Derivative Works, if and
117
+ wherever such third-party notices normally appear. The contents
118
+ of the NOTICE file are for informational purposes only and
119
+ do not modify the License. You may add Your own attribution
120
+ notices within Derivative Works that You distribute, alongside
121
+ or as an addendum to the NOTICE text from the Work, provided
122
+ that such additional attribution notices cannot be construed
123
+ as modifying the License.
124
+
125
+ You may add Your own copyright statement to Your modifications and
126
+ may provide additional or different license terms and conditions
127
+ for use, reproduction, or distribution of Your modifications, or
128
+ for any such Derivative Works as a whole, provided Your use,
129
+ reproduction, and distribution of the Work otherwise complies with
130
+ the conditions stated in this License.
131
+
132
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
133
+ any Contribution intentionally submitted for inclusion in the Work
134
+ by You to the Licensor shall be under the terms and conditions of
135
+ this License, without any additional terms or conditions.
136
+ Notwithstanding the above, nothing herein shall supersede or modify
137
+ the terms of any separate license agreement you may have executed
138
+ with Licensor regarding such Contributions.
139
+
140
+ 6. Trademarks. This License does not grant permission to use the trade
141
+ names, trademarks, service marks, or product names of the Licensor,
142
+ except as required for reasonable and customary use in describing the
143
+ origin of the Work and reproducing the content of the NOTICE file.
144
+
145
+ 7. Disclaimer of Warranty. Unless required by applicable law or
146
+ agreed to in writing, Licensor provides the Work (and each
147
+ Contributor provides its Contributions) on an "AS IS" BASIS,
148
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
149
+ implied, including, without limitation, any warranties or conditions
150
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
151
+ PARTICULAR PURPOSE. You are solely responsible for determining the
152
+ appropriateness of using or redistributing the Work and assume any
153
+ risks associated with Your exercise of permissions under this License.
154
+
155
+ 8. Limitation of Liability. In no event and under no legal theory,
156
+ whether in tort (including negligence), contract, or otherwise,
157
+ unless required by applicable law (such as deliberate and grossly
158
+ negligent acts) or agreed to in writing, shall any Contributor be
159
+ liable to You for damages, including any direct, indirect, special,
160
+ incidental, or consequential damages of any character arising as a
161
+ result of this License or out of the use or inability to use the
162
+ Work (including but not limited to damages for loss of goodwill,
163
+ work stoppage, computer failure or malfunction, or any and all
164
+ other commercial damages or losses), even if such Contributor
165
+ has been advised of the possibility of such damages.
166
+
167
+ 9. Accepting Warranty or Additional Liability. While redistributing
168
+ the Work or Derivative Works thereof, You may choose to offer,
169
+ and charge a fee for, acceptance of support, warranty, indemnity,
170
+ or other liability obligations and/or rights consistent with this
171
+ License. However, in accepting such obligations, You may act only
172
+ on Your own behalf and on Your sole responsibility, not on behalf
173
+ of any other Contributor, and only if You agree to indemnify,
174
+ defend, and hold each Contributor harmless for any liability
175
+ incurred by, or claims asserted against, such Contributor by reason
176
+ of your accepting any such warranty or additional liability.
177
+
178
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,143 @@
1
+ Metadata-Version: 2.1
2
+ Name: sqlalchemy-cratedb
3
+ Version: 0.38.0
4
+ Summary: SQLAlchemy dialect for CrateDB.
5
+ Author-email: "Crate.io" <office@crate.io>
6
+ License: Apache License 2.0
7
+ Project-URL: changelog, https://github.com/crate/sqlalchemy-cratedb/blob/main/CHANGES.md
8
+ Project-URL: documentation, https://cratedb.com/docs/sqlalchemy-cratedb/
9
+ Project-URL: homepage, https://cratedb.com/docs/sqlalchemy-cratedb/
10
+ Project-URL: repository, https://github.com/crate/sqlalchemy-cratedb
11
+ Keywords: CrateDB,dask,data io,orm,pandas,PostgreSQL,rdbms,sql,SQLAlchemy
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Environment :: Plugins
14
+ Classifier: Intended Audience :: Customer Service
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Intended Audience :: Education
17
+ Classifier: Intended Audience :: End Users/Desktop
18
+ Classifier: Intended Audience :: Information Technology
19
+ Classifier: Intended Audience :: Manufacturing
20
+ Classifier: Intended Audience :: Science/Research
21
+ Classifier: Intended Audience :: System Administrators
22
+ Classifier: Intended Audience :: Telecommunications Industry
23
+ Classifier: License :: OSI Approved :: Apache Software License
24
+ Classifier: Operating System :: OS Independent
25
+ Classifier: Operating System :: POSIX :: Linux
26
+ Classifier: Operating System :: Unix
27
+ Classifier: Programming Language :: Python
28
+ Classifier: Programming Language :: Python :: 3 :: Only
29
+ Classifier: Programming Language :: Python :: 3.6
30
+ Classifier: Programming Language :: Python :: 3.7
31
+ Classifier: Programming Language :: Python :: 3.8
32
+ Classifier: Programming Language :: Python :: 3.9
33
+ Classifier: Programming Language :: Python :: 3.10
34
+ Classifier: Programming Language :: Python :: 3.11
35
+ Classifier: Programming Language :: Python :: 3.12
36
+ Classifier: Programming Language :: Python :: Implementation :: CPython
37
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
38
+ Classifier: Programming Language :: SQL
39
+ Classifier: Topic :: Adaptive Technologies
40
+ Classifier: Topic :: Communications
41
+ Classifier: Topic :: Database
42
+ Classifier: Topic :: Documentation
43
+ Classifier: Topic :: Education
44
+ Classifier: Topic :: Internet
45
+ Classifier: Topic :: Office/Business
46
+ Classifier: Topic :: Scientific/Engineering
47
+ Classifier: Topic :: Software Development :: Libraries
48
+ Classifier: Topic :: Software Development :: Pre-processors
49
+ Classifier: Topic :: Software Development :: Testing
50
+ Classifier: Topic :: Software Development :: Version Control
51
+ Classifier: Topic :: System :: Archiving
52
+ Classifier: Topic :: System :: Benchmark
53
+ Classifier: Topic :: System :: Clustering
54
+ Classifier: Topic :: System :: Distributed Computing
55
+ Classifier: Topic :: System :: Logging
56
+ Classifier: Topic :: System :: Monitoring
57
+ Classifier: Topic :: System :: Networking
58
+ Classifier: Topic :: System :: Systems Administration
59
+ Classifier: Topic :: Text Processing
60
+ Classifier: Topic :: Utilities
61
+ Requires-Python: >=3.6
62
+ Description-Content-Type: text/markdown
63
+ License-File: LICENSE
64
+ License-File: NOTICE
65
+ Requires-Dist: crate ==1.0.0dev0
66
+ Requires-Dist: geojson <4,>=2.5
67
+ Requires-Dist: sqlalchemy <2.1,>=1
68
+ Requires-Dist: verlib2 ==0.2
69
+ Requires-Dist: backports.zoneinfo <1 ; python_version < "3.9"
70
+ Requires-Dist: importlib-resources ; python_version < "3.9"
71
+ Provides-Extra: all
72
+ Requires-Dist: sqlalchemy-cratedb[vector] ; extra == 'all'
73
+ Provides-Extra: develop
74
+ Requires-Dist: black <25 ; extra == 'develop'
75
+ Requires-Dist: mypy <1.11 ; extra == 'develop'
76
+ Requires-Dist: poethepoet <0.27 ; extra == 'develop'
77
+ Requires-Dist: pyproject-fmt <2.2 ; extra == 'develop'
78
+ Requires-Dist: ruff <0.5 ; extra == 'develop'
79
+ Requires-Dist: validate-pyproject <0.19 ; extra == 'develop'
80
+ Provides-Extra: doc
81
+ Requires-Dist: crate-docs-theme >=0.26.5 ; extra == 'doc'
82
+ Requires-Dist: sphinx <8,>=3.5 ; extra == 'doc'
83
+ Provides-Extra: release
84
+ Requires-Dist: build <2 ; extra == 'release'
85
+ Requires-Dist: twine <6 ; extra == 'release'
86
+ Provides-Extra: test
87
+ Requires-Dist: cratedb-toolkit[testing] ; extra == 'test'
88
+ Requires-Dist: dask[dataframe] ; extra == 'test'
89
+ Requires-Dist: pandas <2.3 ; extra == 'test'
90
+ Requires-Dist: pueblo >=0.0.7 ; extra == 'test'
91
+ Requires-Dist: pytest <9 ; extra == 'test'
92
+ Requires-Dist: pytest-cov <6 ; extra == 'test'
93
+ Requires-Dist: pytest-mock <4 ; extra == 'test'
94
+ Provides-Extra: vector
95
+ Requires-Dist: numpy ; extra == 'vector'
96
+
97
+ # SQLAlchemy dialect for CrateDB
98
+
99
+ [![Tests](https://github.com/crate/sqlalchemy-cratedb/actions/workflows/tests.yml/badge.svg)](https://github.com/crate/sqlalchemy-cratedb/actions/workflows/tests.yml)
100
+ [![Coverage](https://codecov.io/gh/crate/sqlalchemy-cratedb/branch/main/graph/badge.svg)](https://app.codecov.io/gh/crate/sqlalchemy-cratedb)
101
+ [![Build status (documentation)](https://readthedocs.org/projects/sqlalchemy-cratedb/badge/)](https://cratedb.com/docs/sqlalchemy-cratedb/)
102
+ [![PyPI Version](https://img.shields.io/pypi/v/sqlalchemy-cratedb.svg)](https://pypi.org/project/sqlalchemy-cratedb/)
103
+ [![Python Version](https://img.shields.io/pypi/pyversions/sqlalchemy-cratedb.svg)](https://pypi.org/project/sqlalchemy-cratedb/)
104
+ [![PyPI Downloads](https://pepy.tech/badge/sqlalchemy-cratedb/month)](https://pepy.tech/project/sqlalchemy-cratedb/)
105
+ [![Wheel](https://img.shields.io/pypi/wheel/sqlalchemy-cratedb.svg)](https://pypi.org/project/sqlalchemy-cratedb/)
106
+ [![Status](https://img.shields.io/pypi/status/sqlalchemy-cratedb.svg)](https://pypi.org/project/sqlalchemy-cratedb/)
107
+ [![License](https://img.shields.io/pypi/l/sqlalchemy-cratedb.svg)](https://pypi.org/project/sqlalchemy-cratedb/)
108
+
109
+
110
+ ## About
111
+
112
+ The [SQLAlchemy] dialect for [CrateDB], based on the HTTP-based DBAPI client
113
+ library [crate-python].
114
+
115
+ ## Installation
116
+
117
+ The package is available from [PyPI] at [sqlalchemy-cratedb].
118
+ To install the most recent version, run:
119
+ ```shell
120
+ pip install --upgrade sqlalchemy-cratedb
121
+ ```
122
+
123
+ ## Documentation and help
124
+
125
+ - [SQLAlchemy dialect for CrateDB](https://cratedb.com/docs/sqlalchemy-cratedb/)
126
+ - [CrateDB Python Client documentation](https://cratedb.com/docs/python/)
127
+ - [CrateDB reference documentation](https://cratedb.com/docs/reference/)
128
+ - [Developer documentation](DEVELOP.md)
129
+ - [Contributing](CONTRIBUTING.md)
130
+ - Other [support channels](https://cratedb.com/support)
131
+
132
+ ## Contributing
133
+
134
+ The SQLAlchemy dialect for CrateDB is an open source project, and is
135
+ [managed on GitHub](https://github.com/crate/sqlalchemy-cratedb). We
136
+ appreciate contributions of any kind.
137
+
138
+
139
+ [CrateDB]: https://github.com/crate/crate
140
+ [crate-python]: https://github.com/crate/crate-python
141
+ [SQLAlchemy]: https://www.sqlalchemy.org
142
+ [sqlalchemy-cratedb]: https://pypi.org/project/sqlalchemy-cratedb/
143
+ [PyPI]: https://pypi.org/
@@ -0,0 +1,24 @@
1
+ SQLALchemy dialect for CrateDB
2
+ Copyright 2013-2023 Crate.IO GmbH ("Crate")
3
+
4
+
5
+ Licensed to Crate.IO GmbH (referred to in this notice as "Crate") under one or
6
+ more contributor license agreements.
7
+
8
+ Unless otherwise stated, every component of the CrateDB Python Adapter is
9
+ licensed under the Apache License, Version 2.0.
10
+
11
+ Third-party components bundled with the CrateDB Python Adapter are listed in
12
+ the LICENSE file along with their respective licenses. Any additional mandatory
13
+ notices pertaining to those dependencies will be reproduced in this file.
14
+
15
+ Crate provides pre-built releases for convenience, also known as convenience
16
+ releases. Building the CrateDB Python Adapter from source pulls in a number of
17
+ additional third-party dependencies. Hence, convenience releases will contain a
18
+ mix of CrateDB Python Adapter source code and third-party build-time
19
+ dependencies not listed in the LICENSE file or in this file.
20
+
21
+ Crate is committed to only using permissively licensed third-party code.
22
+ However, for the time being, if you make use of convenience releases, it is
23
+ your responsibility to check the licensing status of the bundled third-party
24
+ build-time dependencies.
@@ -0,0 +1,26 @@
1
+ sqlalchemy_cratedb/__init__.py,sha256=HIsl7K75Yi2Z1rey-LXPiuonRVJ-Qj8TVWKmIk5d8g8,2289
2
+ sqlalchemy_cratedb/compiler.py,sha256=dfD5qRHQfs0XseJvUxkGNpgqvtTNPkYlwOC7L2sEkqI,13294
3
+ sqlalchemy_cratedb/dialect.py,sha256=k6CHSnYqL53ShhCVVlZSOgSY2Y3xGtQxTl2Ip04xYQE,14101
4
+ sqlalchemy_cratedb/predicate.py,sha256=HT7tHF7PxX71G8m91lqpH732iVQZtO8_NPZUIsllcys,3622
5
+ sqlalchemy_cratedb/sa_version.py,sha256=NhNA5FUw0Sm5n-fSVo6CTcaioDRovUknFOslX31ir-I,1168
6
+ sqlalchemy_cratedb/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ sqlalchemy_cratedb/compat/api13.py,sha256=1sf1kJycBSxLn7KJiWyTRkLacB-aCqhLu3TKKzL4g4w,5669
8
+ sqlalchemy_cratedb/compat/core10.py,sha256=P46_ABaii-LQrzeeu8bkhCkoYLr2sVZB3TMGr2BSqD4,8636
9
+ sqlalchemy_cratedb/compat/core14.py,sha256=xh_wnNkMUD8aE_VFQPnPeXWsPIFzPg0ZjkhfJBzo3IM,11606
10
+ sqlalchemy_cratedb/compat/core20.py,sha256=QgNEA4z37ldFI4X9HapbTcga7KvsrdMkoMRjxvCJ4tE,15145
11
+ sqlalchemy_cratedb/support/__init__.py,sha256=AwqsVVRBaoMaTZ0zNjcoY9HbLIQsP1vlu__ANL___vY,450
12
+ sqlalchemy_cratedb/support/pandas.py,sha256=bEQTPJBvJepM5_GY5Jxewu26Fs6d8AKzizxgO4vw2PA,4357
13
+ sqlalchemy_cratedb/support/polyfill.py,sha256=0w6zHpptLot68xrHLa67Bbe4pM-kPczyp3qDpkQqWhU,4931
14
+ sqlalchemy_cratedb/support/util.py,sha256=L-DFQv8dg8onTs1ahGBqefd9WzRCZNWGBvP3DJHyqDo,1265
15
+ sqlalchemy_cratedb/type/__init__.py,sha256=8Bp0RKTFAx-3ETOcG4R4wjhL5rarN7tJLfrue7S6mH8,141
16
+ sqlalchemy_cratedb/type/array.py,sha256=RrHkFoNmTKtk_6md0OtsR7xofRxdk0PbfO-JFfevBJI,4396
17
+ sqlalchemy_cratedb/type/geo.py,sha256=9wFGxGMxxN-7_qZTlmWialzaPp_zzFj4U-yVqY_deA0,1377
18
+ sqlalchemy_cratedb/type/object.py,sha256=-bebiW38vor3grD9qsomzJ_z3zRpNMb2XLLto2fFez4,3016
19
+ sqlalchemy_cratedb/type/vector.py,sha256=5Q2v-RuiNKriSm-EX7tTb1PelqqoBvjDOFDB27Xxk5I,4723
20
+ sqlalchemy_cratedb-0.38.0.dist-info/LICENSE,sha256=s_w3FXmAYQuatqsgvyYLnGyC_13KOqp3W1DUEXO9RpY,10175
21
+ sqlalchemy_cratedb-0.38.0.dist-info/METADATA,sha256=M2KXvL3JlsBRSXsB4Twmjkte9ml9X3ivtWJdhosCaf4,6585
22
+ sqlalchemy_cratedb-0.38.0.dist-info/NOTICE,sha256=yU9CWOf_XrVU7fpqGgM9tDjppoMyfHHBmFVMiINZk-k,1167
23
+ sqlalchemy_cratedb-0.38.0.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
24
+ sqlalchemy_cratedb-0.38.0.dist-info/entry_points.txt,sha256=c14wyCG3OeM64_DUbI_vLVUXR3e3GhDyO_PCjo6UQMU,57
25
+ sqlalchemy_cratedb-0.38.0.dist-info/top_level.txt,sha256=UjjXz0burl_-2MApzLzffHG_2RXm6KljZvoGJHISMPo,19
26
+ sqlalchemy_cratedb-0.38.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (70.1.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [sqlalchemy.dialects]
2
+ crate = sqlalchemy_cratedb:dialect
@@ -0,0 +1 @@
1
+ sqlalchemy_cratedb