sqlalchemy-cratedb 0.41.0.dev0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.2
2
+ Name: sqlalchemy-cratedb
3
+ Version: 0.41.0.dev0
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 :: 3.13
37
+ Classifier: Programming Language :: Python :: Implementation :: CPython
38
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
39
+ Classifier: Programming Language :: SQL
40
+ Classifier: Topic :: Adaptive Technologies
41
+ Classifier: Topic :: Communications
42
+ Classifier: Topic :: Database
43
+ Classifier: Topic :: Documentation
44
+ Classifier: Topic :: Education
45
+ Classifier: Topic :: Internet
46
+ Classifier: Topic :: Office/Business
47
+ Classifier: Topic :: Scientific/Engineering
48
+ Classifier: Topic :: Software Development :: Libraries
49
+ Classifier: Topic :: Software Development :: Pre-processors
50
+ Classifier: Topic :: Software Development :: Testing
51
+ Classifier: Topic :: Software Development :: Version Control
52
+ Classifier: Topic :: System :: Archiving
53
+ Classifier: Topic :: System :: Benchmark
54
+ Classifier: Topic :: System :: Clustering
55
+ Classifier: Topic :: System :: Distributed Computing
56
+ Classifier: Topic :: System :: Logging
57
+ Classifier: Topic :: System :: Monitoring
58
+ Classifier: Topic :: System :: Networking
59
+ Classifier: Topic :: System :: Systems Administration
60
+ Classifier: Topic :: Text Processing
61
+ Classifier: Topic :: Utilities
62
+ Requires-Python: >=3.6
63
+ Description-Content-Type: text/markdown
64
+ License-File: LICENSE
65
+ License-File: NOTICE
66
+ Requires-Dist: backports.zoneinfo<1; python_version < "3.9"
67
+ Requires-Dist: crate<3,>=2.0.0.dev4
68
+ Requires-Dist: geojson<4,>=2.5
69
+ Requires-Dist: importlib-resources; python_version < "3.9"
70
+ Requires-Dist: sqlalchemy<2.1,>=1
71
+ Requires-Dist: verlib2==0.2
72
+ Provides-Extra: all
73
+ Requires-Dist: sqlalchemy-cratedb[vector]; extra == "all"
74
+ Provides-Extra: develop
75
+ Requires-Dist: mypy<1.15; extra == "develop"
76
+ Requires-Dist: poethepoet<0.33; extra == "develop"
77
+ Requires-Dist: pyproject-fmt<2.6; extra == "develop"
78
+ Requires-Dist: ruff<0.10; extra == "develop"
79
+ Requires-Dist: validate-pyproject<0.24; extra == "develop"
80
+ Provides-Extra: doc
81
+ Requires-Dist: crate-docs-theme>=0.26.5; extra == "doc"
82
+ Requires-Dist: sphinx<9,>=3.5; extra == "doc"
83
+ Provides-Extra: release
84
+ Requires-Dist: build<2; extra == "release"
85
+ Requires-Dist: twine<7; extra == "release"
86
+ Provides-Extra: test
87
+ Requires-Dist: cratedb-toolkit[testing]; extra == "test"
88
+ Requires-Dist: dask[dataframe]; python_version < "3.13" and 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<7; 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=1W1uYA3Ax7HJTQatj6UulvPEmetUICEx_S7C2bmp76Q,2326
2
+ sqlalchemy_cratedb/compiler.py,sha256=obD3DivOzy6i-ewMZz2Qaj9I8J7EkPPhFTAESqvtNsA,13144
3
+ sqlalchemy_cratedb/dialect.py,sha256=YEp5bYO6rfKM8rSXddaF40J0iz4bH6RurkBmly4tUpo,15037
4
+ sqlalchemy_cratedb/predicate.py,sha256=mUIHwGv9tuNmN_BqRD5LC5Ll3Lxpb4WI_muZqbP6HRs,3568
5
+ sqlalchemy_cratedb/sa_version.py,sha256=sQtmUQEJcguJRRSlbkVpYcdEzPduA-sUHtmOtWSH8qI,1168
6
+ sqlalchemy_cratedb/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ sqlalchemy_cratedb/compat/api13.py,sha256=cWgQxPuc47tOjWb4wvCAMBrOsrT9xJJffZqmdfyJA24,5619
8
+ sqlalchemy_cratedb/compat/core10.py,sha256=VDugi9u4wr5tSoxyD8C9kPmxXgtik0avNPUPnSmP4DI,8191
9
+ sqlalchemy_cratedb/compat/core14.py,sha256=qtL1UfvT7aZK2TafNi5KiXA1b0nO84PgoBMI0FgnXos,11144
10
+ sqlalchemy_cratedb/compat/core20.py,sha256=bKeAqSZH0qyK3Mj6qpj8x8IG2hcchVsGUvPW9xS7z_I,14675
11
+ sqlalchemy_cratedb/support/__init__.py,sha256=zPXmiW2M5-yLZFfKZX78mZiL0T5MzD0IhUNEoRs9NuY,507
12
+ sqlalchemy_cratedb/support/pandas.py,sha256=yt5re_PmiwEv7nMK1A2xIufXbmxUjWXP_06pH3V2qyg,4397
13
+ sqlalchemy_cratedb/support/polyfill.py,sha256=yyqlXBvb6FfWpA3ChDF8XoiCImHsMD8NknZe4gTfvI0,5009
14
+ sqlalchemy_cratedb/support/util.py,sha256=HjZpOy8uTqkMwUrFYsL3JEDgjmAVSqk4zYMJAyNhpEE,2442
15
+ sqlalchemy_cratedb/type/__init__.py,sha256=qT3s2Dt83BPp0ZXCv5e1vHod7MKzDjVzSSV8Pcnl9JM,249
16
+ sqlalchemy_cratedb/type/array.py,sha256=N5tl_XrrTVhMOqHeDt0q4M0VOcQC_DSAkF3NlGDsXlc,4339
17
+ sqlalchemy_cratedb/type/geo.py,sha256=8Z81m8wtpb0TBdSy_3v5FeXd0MTGZD3LxVguf9PzCZA,1160
18
+ sqlalchemy_cratedb/type/object.py,sha256=aAkmr55RYZUbJ2MVUDV1-5eQ7kKuATVy6oy2OFqmibU,3015
19
+ sqlalchemy_cratedb/type/vector.py,sha256=g8_C-ObDWEBoGz7u5QdljDCRWYNSRVafCAsmWJSxXiE,4746
20
+ sqlalchemy_cratedb-0.41.0.dev0.dist-info/LICENSE,sha256=s_w3FXmAYQuatqsgvyYLnGyC_13KOqp3W1DUEXO9RpY,10175
21
+ sqlalchemy_cratedb-0.41.0.dev0.dist-info/METADATA,sha256=C1-UWoQw4jhuiGABFRMIseVGZr_UAWIIgRpHq3rCL0U,6589
22
+ sqlalchemy_cratedb-0.41.0.dev0.dist-info/NOTICE,sha256=yU9CWOf_XrVU7fpqGgM9tDjppoMyfHHBmFVMiINZk-k,1167
23
+ sqlalchemy_cratedb-0.41.0.dev0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
24
+ sqlalchemy_cratedb-0.41.0.dev0.dist-info/entry_points.txt,sha256=c14wyCG3OeM64_DUbI_vLVUXR3e3GhDyO_PCjo6UQMU,57
25
+ sqlalchemy_cratedb-0.41.0.dev0.dist-info/top_level.txt,sha256=UjjXz0burl_-2MApzLzffHG_2RXm6KljZvoGJHISMPo,19
26
+ sqlalchemy_cratedb-0.41.0.dev0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.8.0)
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