crate 2.0.0.dev0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- crate/client/__init__.py +37 -0
- crate/client/_pep440.py +1 -0
- crate/client/blob.py +105 -0
- crate/client/connection.py +221 -0
- crate/client/converter.py +143 -0
- crate/client/cursor.py +321 -0
- crate/client/exceptions.py +101 -0
- crate/client/http.py +694 -0
- crate/testing/__init__.py +0 -0
- crate/testing/layer.py +428 -0
- crate/testing/util.py +95 -0
- crate-2.0.0.dev0.dist-info/LICENSE +178 -0
- crate-2.0.0.dev0.dist-info/METADATA +168 -0
- crate-2.0.0.dev0.dist-info/NOTICE +24 -0
- crate-2.0.0.dev0.dist-info/RECORD +17 -0
- crate-2.0.0.dev0.dist-info/WHEEL +5 -0
- crate-2.0.0.dev0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,168 @@
|
|
1
|
+
Metadata-Version: 2.2
|
2
|
+
Name: crate
|
3
|
+
Version: 2.0.0.dev0
|
4
|
+
Summary: CrateDB Python Client
|
5
|
+
Home-page: https://github.com/crate/crate-python
|
6
|
+
Author: Crate.io
|
7
|
+
Author-email: office@crate.io
|
8
|
+
License: Apache License 2.0
|
9
|
+
Keywords: cratedb db api dbapi database sql http rdbms olap
|
10
|
+
Platform: any
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
12
|
+
Classifier: Intended Audience :: Developers
|
13
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
14
|
+
Classifier: Operating System :: OS Independent
|
15
|
+
Classifier: Programming Language :: Python
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
17
|
+
Classifier: Programming Language :: Python :: 3.6
|
18
|
+
Classifier: Programming Language :: Python :: 3.7
|
19
|
+
Classifier: Programming Language :: Python :: 3.8
|
20
|
+
Classifier: Programming Language :: Python :: 3.9
|
21
|
+
Classifier: Programming Language :: Python :: 3.10
|
22
|
+
Classifier: Programming Language :: Python :: 3.11
|
23
|
+
Classifier: Programming Language :: Python :: 3.12
|
24
|
+
Classifier: Programming Language :: Python :: 3.13
|
25
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
26
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
27
|
+
Classifier: Topic :: Database
|
28
|
+
Requires-Python: >=3.6
|
29
|
+
Description-Content-Type: text/x-rst
|
30
|
+
License-File: LICENSE
|
31
|
+
License-File: NOTICE
|
32
|
+
Requires-Dist: orjson<4
|
33
|
+
Requires-Dist: urllib3
|
34
|
+
Requires-Dist: verlib2
|
35
|
+
Provides-Extra: doc
|
36
|
+
Requires-Dist: crate-docs-theme>=0.26.5; extra == "doc"
|
37
|
+
Requires-Dist: sphinx<9,>=3.5; extra == "doc"
|
38
|
+
Provides-Extra: test
|
39
|
+
Requires-Dist: backports.zoneinfo<1; python_version < "3.9" and extra == "test"
|
40
|
+
Requires-Dist: certifi; extra == "test"
|
41
|
+
Requires-Dist: createcoverage<2,>=1; extra == "test"
|
42
|
+
Requires-Dist: mypy<1.15; extra == "test"
|
43
|
+
Requires-Dist: poethepoet<0.33; extra == "test"
|
44
|
+
Requires-Dist: ruff<0.10; extra == "test"
|
45
|
+
Requires-Dist: stopit<2,>=1.1.2; extra == "test"
|
46
|
+
Requires-Dist: tox<5,>=3; extra == "test"
|
47
|
+
Requires-Dist: pytz; extra == "test"
|
48
|
+
Requires-Dist: zc.customdoctests<2,>=1.0.1; extra == "test"
|
49
|
+
Requires-Dist: zope.testing<6,>=4; extra == "test"
|
50
|
+
Requires-Dist: zope.testrunner<7,>=5; extra == "test"
|
51
|
+
Dynamic: author
|
52
|
+
Dynamic: author-email
|
53
|
+
Dynamic: classifier
|
54
|
+
Dynamic: description
|
55
|
+
Dynamic: description-content-type
|
56
|
+
Dynamic: home-page
|
57
|
+
Dynamic: keywords
|
58
|
+
Dynamic: license
|
59
|
+
Dynamic: platform
|
60
|
+
Dynamic: provides-extra
|
61
|
+
Dynamic: requires-dist
|
62
|
+
Dynamic: requires-python
|
63
|
+
Dynamic: summary
|
64
|
+
|
65
|
+
=====================
|
66
|
+
CrateDB Python Client
|
67
|
+
=====================
|
68
|
+
|
69
|
+
.. image:: https://github.com/crate/crate-python/workflows/Tests/badge.svg
|
70
|
+
:target: https://github.com/crate/crate-python/actions?workflow=Tests
|
71
|
+
:alt: Build status
|
72
|
+
|
73
|
+
.. image:: https://codecov.io/gh/crate/crate-python/branch/main/graph/badge.svg
|
74
|
+
:target: https://app.codecov.io/gh/crate/crate-python
|
75
|
+
:alt: Coverage
|
76
|
+
|
77
|
+
.. image:: https://readthedocs.org/projects/crate-python/badge/
|
78
|
+
:target: https://cratedb.com/docs/python/
|
79
|
+
:alt: Build status (documentation)
|
80
|
+
|
81
|
+
.. image:: https://img.shields.io/pypi/v/crate.svg
|
82
|
+
:target: https://pypi.org/project/crate/
|
83
|
+
:alt: PyPI Version
|
84
|
+
|
85
|
+
.. image:: https://img.shields.io/pypi/pyversions/crate.svg
|
86
|
+
:target: https://pypi.org/project/crate/
|
87
|
+
:alt: Python Version
|
88
|
+
|
89
|
+
.. image:: https://static.pepy.tech/badge/crate/month
|
90
|
+
:target: https://pepy.tech/project/crate
|
91
|
+
:alt: PyPI Downloads
|
92
|
+
|
93
|
+
.. image:: https://img.shields.io/pypi/wheel/crate.svg
|
94
|
+
:target: https://pypi.org/project/crate/
|
95
|
+
:alt: Wheel
|
96
|
+
|
97
|
+
.. image:: https://img.shields.io/pypi/status/crate.svg
|
98
|
+
:target: https://pypi.org/project/crate/
|
99
|
+
:alt: Status
|
100
|
+
|
101
|
+
.. image:: https://img.shields.io/pypi/l/crate.svg
|
102
|
+
:target: https://pypi.org/project/crate/
|
103
|
+
:alt: License
|
104
|
+
|
105
|
+
|
106
|
+
|
|
107
|
+
|
108
|
+
A Python client library for `CrateDB`_, implementing the Python `DB API 2.0`_
|
109
|
+
specification.
|
110
|
+
|
111
|
+
The CrateDB dialect for `SQLAlchemy`_ is provided by the `sqlalchemy-cratedb`_
|
112
|
+
package, see also `sqlalchemy-cratedb documentation`_.
|
113
|
+
|
114
|
+
|
115
|
+
Installation
|
116
|
+
============
|
117
|
+
|
118
|
+
The CrateDB Python client is available as package `crate`_ on `PyPI`_.
|
119
|
+
|
120
|
+
To install the most recent driver version, run::
|
121
|
+
|
122
|
+
$ pip install --upgrade crate
|
123
|
+
|
124
|
+
|
125
|
+
Migration Notes
|
126
|
+
===============
|
127
|
+
|
128
|
+
If you are migrating from previous versions of ``crate[sqlalchemy]<1.0.0``, you
|
129
|
+
will find that the newer releases ``crate>=1.0.0`` no longer include the
|
130
|
+
SQLAlchemy dialect for CrateDB.
|
131
|
+
|
132
|
+
See `migrate to sqlalchemy-cratedb`_ for relevant guidelines about how to
|
133
|
+
successfully migrate to the `sqlalchemy-cratedb`_ package.
|
134
|
+
|
135
|
+
|
136
|
+
Documentation and Help
|
137
|
+
======================
|
138
|
+
|
139
|
+
- `CrateDB Python Client documentation`_
|
140
|
+
- `CrateDB reference documentation`_
|
141
|
+
- `Developer documentation`_
|
142
|
+
- `Contributing`_
|
143
|
+
- Other `support channels`_
|
144
|
+
|
145
|
+
|
146
|
+
Contributions
|
147
|
+
=============
|
148
|
+
|
149
|
+
The CrateDB Python client library is an open source project, and is `managed on
|
150
|
+
GitHub`_. We appreciate contributions of any kind.
|
151
|
+
|
152
|
+
|
153
|
+
.. _Contributing: CONTRIBUTING.rst
|
154
|
+
.. _crate: https://pypi.org/project/crate/
|
155
|
+
.. _Crate.io: https://cratedb.com/
|
156
|
+
.. _CrateDB: https://github.com/crate/crate
|
157
|
+
.. _CrateDB Python Client documentation: https://cratedb.com/docs/python/
|
158
|
+
.. _CrateDB reference documentation: https://crate.io/docs/reference/
|
159
|
+
.. _DB API 2.0: https://peps.python.org/pep-0249/
|
160
|
+
.. _Developer documentation: DEVELOP.rst
|
161
|
+
.. _managed on GitHub: https://github.com/crate/crate-python
|
162
|
+
.. _migrate to sqlalchemy-cratedb: https://cratedb.com/docs/sqlalchemy-cratedb/migrate-from-crate-client.html
|
163
|
+
.. _PyPI: https://pypi.org/
|
164
|
+
.. _SQLAlchemy: https://www.sqlalchemy.org/
|
165
|
+
.. _sqlalchemy-cratedb: https://github.com/crate/sqlalchemy-cratedb
|
166
|
+
.. _sqlalchemy-cratedb documentation: https://cratedb.com/docs/sqlalchemy-cratedb/
|
167
|
+
.. _StackOverflow: https://stackoverflow.com/tags/cratedb
|
168
|
+
.. _support channels: https://cratedb.com/support/
|
@@ -0,0 +1,24 @@
|
|
1
|
+
CrateDB Python Adapter
|
2
|
+
Copyright 2013-2024 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,17 @@
|
|
1
|
+
crate/client/__init__.py,sha256=n7iMSdGyJdMgWiXSdSUgyRqKpvMZEy2VAuXqnwVKFP0,1349
|
2
|
+
crate/client/_pep440.py,sha256=iwY5wopxbgbwsT0ImANrwN3V_ZYQHhSr7lEdVT5dQRM,42
|
3
|
+
crate/client/blob.py,sha256=aMo6ZNHGT3Zq_yR3gcpd3CKrJvfqUAhExhKtHUwC5Io,3460
|
4
|
+
crate/client/connection.py,sha256=80v9_--YilDAaIQpejf3G_TWGz9iwUkixwHAL66sDm0,8098
|
5
|
+
crate/client/converter.py,sha256=Qci0MNcpz1jAnjquG8Ld9LI84_iHVInrv4HMb8r5zzg,4313
|
6
|
+
crate/client/cursor.py,sha256=Mlk-TVLzM4zSSr7GxcHK4Mjbt1KQeMfNFNrPBtGjk-c,10741
|
7
|
+
crate/client/exceptions.py,sha256=wMyJmOB3RP5kuPeW9f0fEb-1AKZcGSTyIGvN0HqpqUw,2557
|
8
|
+
crate/client/http.py,sha256=vgkG7xiuNwu5wcOxnTUhsaiinxBKQR6ddabTpFSizFs,22704
|
9
|
+
crate/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
+
crate/testing/layer.py,sha256=jvHRWTRE4Zal211UO0HWPFcbprAcaGB3WyAUDR7BKFQ,13376
|
11
|
+
crate/testing/util.py,sha256=BPEZ8DavXwyOTCmOQnP5QjQlapEw3harzKK4w2HOTA4,3264
|
12
|
+
crate-2.0.0.dev0.dist-info/LICENSE,sha256=s_w3FXmAYQuatqsgvyYLnGyC_13KOqp3W1DUEXO9RpY,10175
|
13
|
+
crate-2.0.0.dev0.dist-info/METADATA,sha256=Cx02Vi7mak-wkw38CcBDFEnV2ty1ya695xvdUEg4Y70,5655
|
14
|
+
crate-2.0.0.dev0.dist-info/NOTICE,sha256=jfWOHkoZKjNATGXMfgpMJdL38ki_ZZTgR6M9CUUJxrM,1159
|
15
|
+
crate-2.0.0.dev0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
16
|
+
crate-2.0.0.dev0.dist-info/top_level.txt,sha256=2wP2HlpxdhgTLMl9ipi168xkm6FMq9_2bf0xGGxF_OI,6
|
17
|
+
crate-2.0.0.dev0.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
crate
|