kudu-python 1.16.0__tar.gz → 1.17.1__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.
- {kudu-python-1.16.0 → kudu-python-1.17.1}/MANIFEST.in +3 -0
- {kudu-python-1.16.0/kudu_python.egg-info → kudu-python-1.17.1}/PKG-INFO +20 -20
- kudu-python-1.17.1/README.md +11 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/__init__.py +13 -3
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/client.cpp +8720 -4160
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/client.pyx +245 -4
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/compat.py +11 -1
- kudu-python-1.17.1/kudu/config.pxi +24 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/errors.cpp +395 -109
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/libkudu_client.pxd +35 -3
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/schema.cpp +3192 -1467
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/schema.pyx +131 -3
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/version.py +1 -1
- {kudu-python-1.16.0 → kudu-python-1.17.1/kudu_python.egg-info}/PKG-INFO +20 -20
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu_python.egg-info/SOURCES.txt +1 -10
- kudu-python-1.17.1/kudu_python.egg-info/requires.txt +2 -0
- kudu-python-1.17.1/requirements.txt +2 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/setup.py +22 -26
- kudu-python-1.16.0/kudu/tests/__init__.py → kudu-python-1.17.1/setup_prerequisites.py +23 -1
- kudu-python-1.17.1/version.txt +1 -0
- kudu-python-1.16.0/Makefile +0 -19
- kudu-python-1.16.0/README.md +0 -12
- kudu-python-1.16.0/kudu/config.pxi +0 -11
- kudu-python-1.16.0/kudu/tests/common.py +0 -139
- kudu-python-1.16.0/kudu/tests/test_client.py +0 -534
- kudu-python-1.16.0/kudu/tests/test_scanner.py +0 -406
- kudu-python-1.16.0/kudu/tests/test_scantoken.py +0 -299
- kudu-python-1.16.0/kudu/tests/test_schema.py +0 -298
- kudu-python-1.16.0/kudu/tests/test_util.py +0 -80
- kudu-python-1.16.0/kudu/tests/util.py +0 -275
- kudu-python-1.16.0/kudu_python.egg-info/requires.txt +0 -3
- kudu-python-1.16.0/pytest.ini +0 -4
- kudu-python-1.16.0/requirements.txt +0 -22
- kudu-python-1.16.0/version.txt +0 -1
- {kudu-python-1.16.0 → kudu-python-1.17.1}/LICENSE.txt +0 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/__init__.pxd +0 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/client.pxd +0 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/config.pxi.in +0 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/errors.pxd +0 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/errors.pyx +0 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/schema.pxd +0 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu/util.py +0 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu_python.egg-info/dependency_links.txt +0 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/kudu_python.egg-info/top_level.txt +0 -0
- {kudu-python-1.16.0 → kudu-python-1.17.1}/setup.cfg +0 -0
|
@@ -1,11 +1,23 @@
|
|
|
1
|
-
Metadata-Version: 2
|
|
1
|
+
Metadata-Version: 1.2
|
|
2
2
|
Name: kudu-python
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.17.1
|
|
4
4
|
Summary: Python interface to the Apache Kudu C++ Client API
|
|
5
5
|
Home-page: http://kudu.apache.org/
|
|
6
6
|
Maintainer: Apache Kudu team
|
|
7
7
|
Maintainer-email: dev@kudu.apache.org
|
|
8
8
|
License: Apache License, Version 2.0
|
|
9
|
+
Description: kudu-python: Python interface to the Apache Kudu C++ Client API
|
|
10
|
+
---------------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
Using this package requires that you install the Kudu C++ client libraries and
|
|
13
|
+
headers. See https://kudu.apache.org for more.
|
|
14
|
+
|
|
15
|
+
To install from PyPI, run
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
pip install kudu-python
|
|
19
|
+
```
|
|
20
|
+
|
|
9
21
|
Platform: UNKNOWN
|
|
10
22
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
23
|
Classifier: Intended Audience :: Developers
|
|
@@ -17,22 +29,10 @@ Classifier: Programming Language :: Python
|
|
|
17
29
|
Classifier: Programming Language :: Python :: 2
|
|
18
30
|
Classifier: Programming Language :: Python :: 3
|
|
19
31
|
Classifier: Programming Language :: Python :: 2.7
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.
|
|
32
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
33
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
34
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
35
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
36
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
38
|
Classifier: Programming Language :: Cython
|
|
23
|
-
License-File: LICENSE.txt
|
|
24
|
-
|
|
25
|
-
## kudu-python: Python interface to the Apache Kudu C++ Client API
|
|
26
|
-
|
|
27
|
-
Using this package requires that you install the Kudu C++ client libraries and
|
|
28
|
-
headers. See http://getkudu.io for more.
|
|
29
|
-
|
|
30
|
-
To install from PyPI, run
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
pip install kudu-python
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
Installation from source requires Cython.
|
|
37
|
-
|
|
38
|
-
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
kudu-python: Python interface to the Apache Kudu C++ Client API
|
|
2
|
+
---------------------------------------------------------------
|
|
3
|
+
|
|
4
|
+
Using this package requires that you install the Kudu C++ client libraries and
|
|
5
|
+
headers. See https://kudu.apache.org for more.
|
|
6
|
+
|
|
7
|
+
To install from PyPI, run
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
pip install kudu-python
|
|
11
|
+
```
|
|
@@ -61,7 +61,8 @@ from kudu.schema import (int8, int16, int32, int64, string_ as string, # noqa
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
def connect(host, port=7051, admin_timeout_ms=None, rpc_timeout_ms=None,
|
|
64
|
-
require_authentication=False, encryption_policy=ENCRYPTION_OPTIONAL
|
|
64
|
+
require_authentication=False, encryption_policy=ENCRYPTION_OPTIONAL,
|
|
65
|
+
jwt=None, trusted_certificates=None):
|
|
65
66
|
"""
|
|
66
67
|
Connect to a Kudu master server
|
|
67
68
|
|
|
@@ -80,6 +81,12 @@ def connect(host, port=7051, admin_timeout_ms=None, rpc_timeout_ms=None,
|
|
|
80
81
|
Whether to require authentication
|
|
81
82
|
encryption_policy : enum, optional
|
|
82
83
|
Whether to require encryption
|
|
84
|
+
jwt : string, optional
|
|
85
|
+
The JSON web token to set.
|
|
86
|
+
trusted_certificates : string/list, optional
|
|
87
|
+
TLS certificates to trust (in PEM format) when negotiating an RPC
|
|
88
|
+
connection with Kudu servers. This is needed only if authenticating
|
|
89
|
+
to Kudu servers using JWT.
|
|
83
90
|
|
|
84
91
|
Returns
|
|
85
92
|
-------
|
|
@@ -102,10 +109,13 @@ def connect(host, port=7051, admin_timeout_ms=None, rpc_timeout_ms=None,
|
|
|
102
109
|
else:
|
|
103
110
|
addresses.append('{0}:{1}'.format(host, port))
|
|
104
111
|
|
|
105
|
-
return Client(addresses,
|
|
112
|
+
return Client(addresses,
|
|
113
|
+
admin_timeout_ms=admin_timeout_ms,
|
|
106
114
|
rpc_timeout_ms=rpc_timeout_ms,
|
|
107
115
|
encryption_policy=encryption_policy,
|
|
108
|
-
require_authentication=require_authentication
|
|
116
|
+
require_authentication=require_authentication,
|
|
117
|
+
jwt=jwt,
|
|
118
|
+
trusted_certificates=trusted_certificates)
|
|
109
119
|
|
|
110
120
|
|
|
111
121
|
def timedelta(seconds=0, millis=0, micros=0, nanos=0):
|