duckdb 1.5.0.dev37__cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.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.
Potentially problematic release.
This version of duckdb might be problematic. Click here for more details.
- _duckdb.cpython-314t-x86_64-linux-gnu.so +0 -0
- duckdb/__init__.py +475 -0
- duckdb/__init__.pyi +713 -0
- duckdb/bytes_io_wrapper.py +66 -0
- duckdb/experimental/__init__.py +2 -0
- duckdb/experimental/spark/LICENSE +260 -0
- duckdb/experimental/spark/__init__.py +7 -0
- duckdb/experimental/spark/_globals.py +77 -0
- duckdb/experimental/spark/_typing.py +48 -0
- duckdb/experimental/spark/conf.py +45 -0
- duckdb/experimental/spark/context.py +164 -0
- duckdb/experimental/spark/errors/__init__.py +72 -0
- duckdb/experimental/spark/errors/error_classes.py +918 -0
- duckdb/experimental/spark/errors/exceptions/__init__.py +16 -0
- duckdb/experimental/spark/errors/exceptions/base.py +217 -0
- duckdb/experimental/spark/errors/utils.py +116 -0
- duckdb/experimental/spark/exception.py +15 -0
- duckdb/experimental/spark/sql/__init__.py +7 -0
- duckdb/experimental/spark/sql/_typing.py +93 -0
- duckdb/experimental/spark/sql/catalog.py +78 -0
- duckdb/experimental/spark/sql/column.py +368 -0
- duckdb/experimental/spark/sql/conf.py +23 -0
- duckdb/experimental/spark/sql/dataframe.py +1437 -0
- duckdb/experimental/spark/sql/functions.py +6221 -0
- duckdb/experimental/spark/sql/group.py +420 -0
- duckdb/experimental/spark/sql/readwriter.py +449 -0
- duckdb/experimental/spark/sql/session.py +292 -0
- duckdb/experimental/spark/sql/streaming.py +37 -0
- duckdb/experimental/spark/sql/type_utils.py +105 -0
- duckdb/experimental/spark/sql/types.py +1275 -0
- duckdb/experimental/spark/sql/udf.py +37 -0
- duckdb/filesystem.py +23 -0
- duckdb/functional/__init__.py +17 -0
- duckdb/functional/__init__.pyi +31 -0
- duckdb/polars_io.py +237 -0
- duckdb/query_graph/__main__.py +363 -0
- duckdb/typing/__init__.py +61 -0
- duckdb/typing/__init__.pyi +36 -0
- duckdb/udf.py +19 -0
- duckdb/value/__init__.py +0 -0
- duckdb/value/__init__.pyi +0 -0
- duckdb/value/constant/__init__.py +268 -0
- duckdb/value/constant/__init__.pyi +115 -0
- duckdb-1.5.0.dev37.dist-info/METADATA +80 -0
- duckdb-1.5.0.dev37.dist-info/RECORD +47 -0
- duckdb-1.5.0.dev37.dist-info/WHEEL +6 -0
- duckdb-1.5.0.dev37.dist-info/licenses/LICENSE +7 -0
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
from typing import Any, Dict
|
|
2
|
+
from duckdb.typing import DuckDBPyType
|
|
3
|
+
from duckdb.typing import (
|
|
4
|
+
BIGINT,
|
|
5
|
+
BIT,
|
|
6
|
+
BLOB,
|
|
7
|
+
BOOLEAN,
|
|
8
|
+
DATE,
|
|
9
|
+
DOUBLE,
|
|
10
|
+
FLOAT,
|
|
11
|
+
HUGEINT,
|
|
12
|
+
UHUGEINT,
|
|
13
|
+
INTEGER,
|
|
14
|
+
INTERVAL,
|
|
15
|
+
SMALLINT,
|
|
16
|
+
SQLNULL,
|
|
17
|
+
TIME,
|
|
18
|
+
TIMESTAMP,
|
|
19
|
+
TIMESTAMP_MS,
|
|
20
|
+
TIMESTAMP_NS,
|
|
21
|
+
TIMESTAMP_S,
|
|
22
|
+
TIMESTAMP_TZ,
|
|
23
|
+
TIME_TZ,
|
|
24
|
+
TINYINT,
|
|
25
|
+
UBIGINT,
|
|
26
|
+
UINTEGER,
|
|
27
|
+
USMALLINT,
|
|
28
|
+
UTINYINT,
|
|
29
|
+
UUID,
|
|
30
|
+
VARCHAR,
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class Value:
|
|
35
|
+
def __init__(self, object: Any, type: DuckDBPyType):
|
|
36
|
+
self.object = object
|
|
37
|
+
self.type = type
|
|
38
|
+
|
|
39
|
+
def __repr__(self) -> str:
|
|
40
|
+
return str(self.object)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
# Miscellaneous
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class NullValue(Value):
|
|
47
|
+
def __init__(self):
|
|
48
|
+
super().__init__(None, SQLNULL)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class BooleanValue(Value):
|
|
52
|
+
def __init__(self, object: Any):
|
|
53
|
+
super().__init__(object, BOOLEAN)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
# Unsigned numerics
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
class UnsignedBinaryValue(Value):
|
|
60
|
+
def __init__(self, object: Any):
|
|
61
|
+
super().__init__(object, UTINYINT)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
class UnsignedShortValue(Value):
|
|
65
|
+
def __init__(self, object: Any):
|
|
66
|
+
super().__init__(object, USMALLINT)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class UnsignedIntegerValue(Value):
|
|
70
|
+
def __init__(self, object: Any):
|
|
71
|
+
super().__init__(object, UINTEGER)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class UnsignedLongValue(Value):
|
|
75
|
+
def __init__(self, object: Any):
|
|
76
|
+
super().__init__(object, UBIGINT)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
# Signed numerics
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
class BinaryValue(Value):
|
|
83
|
+
def __init__(self, object: Any):
|
|
84
|
+
super().__init__(object, TINYINT)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class ShortValue(Value):
|
|
88
|
+
def __init__(self, object: Any):
|
|
89
|
+
super().__init__(object, SMALLINT)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
class IntegerValue(Value):
|
|
93
|
+
def __init__(self, object: Any):
|
|
94
|
+
super().__init__(object, INTEGER)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
class LongValue(Value):
|
|
98
|
+
def __init__(self, object: Any):
|
|
99
|
+
super().__init__(object, BIGINT)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
class HugeIntegerValue(Value):
|
|
103
|
+
def __init__(self, object: Any):
|
|
104
|
+
super().__init__(object, HUGEINT)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
class UnsignedHugeIntegerValue(Value):
|
|
108
|
+
def __init__(self, object: Any):
|
|
109
|
+
super().__init__(object, UHUGEINT)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
# Fractional
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
class FloatValue(Value):
|
|
116
|
+
def __init__(self, object: Any):
|
|
117
|
+
super().__init__(object, FLOAT)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
class DoubleValue(Value):
|
|
121
|
+
def __init__(self, object: Any):
|
|
122
|
+
super().__init__(object, DOUBLE)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
class DecimalValue(Value):
|
|
126
|
+
def __init__(self, object: Any, width: int, scale: int):
|
|
127
|
+
import duckdb
|
|
128
|
+
|
|
129
|
+
decimal_type = duckdb.decimal_type(width, scale)
|
|
130
|
+
super().__init__(object, decimal_type)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
# String
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
class StringValue(Value):
|
|
137
|
+
def __init__(self, object: Any):
|
|
138
|
+
super().__init__(object, VARCHAR)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class UUIDValue(Value):
|
|
142
|
+
def __init__(self, object: Any):
|
|
143
|
+
super().__init__(object, UUID)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
class BitValue(Value):
|
|
147
|
+
def __init__(self, object: Any):
|
|
148
|
+
super().__init__(object, BIT)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class BlobValue(Value):
|
|
152
|
+
def __init__(self, object: Any):
|
|
153
|
+
super().__init__(object, BLOB)
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
# Temporal
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
class DateValue(Value):
|
|
160
|
+
def __init__(self, object: Any):
|
|
161
|
+
super().__init__(object, DATE)
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
class IntervalValue(Value):
|
|
165
|
+
def __init__(self, object: Any):
|
|
166
|
+
super().__init__(object, INTERVAL)
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
class TimestampValue(Value):
|
|
170
|
+
def __init__(self, object: Any):
|
|
171
|
+
super().__init__(object, TIMESTAMP)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
class TimestampSecondValue(Value):
|
|
175
|
+
def __init__(self, object: Any):
|
|
176
|
+
super().__init__(object, TIMESTAMP_S)
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
class TimestampMilisecondValue(Value):
|
|
180
|
+
def __init__(self, object: Any):
|
|
181
|
+
super().__init__(object, TIMESTAMP_MS)
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
class TimestampNanosecondValue(Value):
|
|
185
|
+
def __init__(self, object: Any):
|
|
186
|
+
super().__init__(object, TIMESTAMP_NS)
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
class TimestampTimeZoneValue(Value):
|
|
190
|
+
def __init__(self, object: Any):
|
|
191
|
+
super().__init__(object, TIMESTAMP_TZ)
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
class TimeValue(Value):
|
|
195
|
+
def __init__(self, object: Any):
|
|
196
|
+
super().__init__(object, TIME)
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
class TimeTimeZoneValue(Value):
|
|
200
|
+
def __init__(self, object: Any):
|
|
201
|
+
super().__init__(object, TIME_TZ)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
class ListValue(Value):
|
|
205
|
+
def __init__(self, object: Any, child_type: DuckDBPyType):
|
|
206
|
+
import duckdb
|
|
207
|
+
|
|
208
|
+
list_type = duckdb.list_type(child_type)
|
|
209
|
+
super().__init__(object, list_type)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
class StructValue(Value):
|
|
213
|
+
def __init__(self, object: Any, children: Dict[str, DuckDBPyType]):
|
|
214
|
+
import duckdb
|
|
215
|
+
|
|
216
|
+
struct_type = duckdb.struct_type(children)
|
|
217
|
+
super().__init__(object, struct_type)
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
class MapValue(Value):
|
|
221
|
+
def __init__(self, object: Any, key_type: DuckDBPyType, value_type: DuckDBPyType):
|
|
222
|
+
import duckdb
|
|
223
|
+
|
|
224
|
+
map_type = duckdb.map_type(key_type, value_type)
|
|
225
|
+
super().__init__(object, map_type)
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
class UnionType(Value):
|
|
229
|
+
def __init__(self, object: Any, members: Dict[str, DuckDBPyType]):
|
|
230
|
+
import duckdb
|
|
231
|
+
|
|
232
|
+
union_type = duckdb.union_type(members)
|
|
233
|
+
super().__init__(object, union_type)
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
# TODO: add EnumValue once `duckdb.enum_type` is added
|
|
237
|
+
|
|
238
|
+
__all__ = [
|
|
239
|
+
"Value",
|
|
240
|
+
"NullValue",
|
|
241
|
+
"BooleanValue",
|
|
242
|
+
"UnsignedBinaryValue",
|
|
243
|
+
"UnsignedShortValue",
|
|
244
|
+
"UnsignedIntegerValue",
|
|
245
|
+
"UnsignedLongValue",
|
|
246
|
+
"BinaryValue",
|
|
247
|
+
"ShortValue",
|
|
248
|
+
"IntegerValue",
|
|
249
|
+
"LongValue",
|
|
250
|
+
"HugeIntegerValue",
|
|
251
|
+
"UnsignedHugeIntegerValue",
|
|
252
|
+
"FloatValue",
|
|
253
|
+
"DoubleValue",
|
|
254
|
+
"DecimalValue",
|
|
255
|
+
"StringValue",
|
|
256
|
+
"UUIDValue",
|
|
257
|
+
"BitValue",
|
|
258
|
+
"BlobValue",
|
|
259
|
+
"DateValue",
|
|
260
|
+
"IntervalValue",
|
|
261
|
+
"TimestampValue",
|
|
262
|
+
"TimestampSecondValue",
|
|
263
|
+
"TimestampMilisecondValue",
|
|
264
|
+
"TimestampNanosecondValue",
|
|
265
|
+
"TimestampTimeZoneValue",
|
|
266
|
+
"TimeValue",
|
|
267
|
+
"TimeTimeZoneValue",
|
|
268
|
+
]
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
from duckdb.typing import DuckDBPyType
|
|
2
|
+
from typing import Any
|
|
3
|
+
|
|
4
|
+
class NullValue(Value):
|
|
5
|
+
def __init__(self) -> None: ...
|
|
6
|
+
def __repr__(self) -> str: ...
|
|
7
|
+
|
|
8
|
+
class BooleanValue(Value):
|
|
9
|
+
def __init__(self, object: Any) -> None: ...
|
|
10
|
+
def __repr__(self) -> str: ...
|
|
11
|
+
|
|
12
|
+
class UnsignedBinaryValue(Value):
|
|
13
|
+
def __init__(self, object: Any) -> None: ...
|
|
14
|
+
def __repr__(self) -> str: ...
|
|
15
|
+
|
|
16
|
+
class UnsignedShortValue(Value):
|
|
17
|
+
def __init__(self, object: Any) -> None: ...
|
|
18
|
+
def __repr__(self) -> str: ...
|
|
19
|
+
|
|
20
|
+
class UnsignedIntegerValue(Value):
|
|
21
|
+
def __init__(self, object: Any) -> None: ...
|
|
22
|
+
def __repr__(self) -> str: ...
|
|
23
|
+
|
|
24
|
+
class UnsignedLongValue(Value):
|
|
25
|
+
def __init__(self, object: Any) -> None: ...
|
|
26
|
+
def __repr__(self) -> str: ...
|
|
27
|
+
|
|
28
|
+
class BinaryValue(Value):
|
|
29
|
+
def __init__(self, object: Any) -> None: ...
|
|
30
|
+
def __repr__(self) -> str: ...
|
|
31
|
+
|
|
32
|
+
class ShortValue(Value):
|
|
33
|
+
def __init__(self, object: Any) -> None: ...
|
|
34
|
+
def __repr__(self) -> str: ...
|
|
35
|
+
|
|
36
|
+
class IntegerValue(Value):
|
|
37
|
+
def __init__(self, object: Any) -> None: ...
|
|
38
|
+
def __repr__(self) -> str: ...
|
|
39
|
+
|
|
40
|
+
class LongValue(Value):
|
|
41
|
+
def __init__(self, object: Any) -> None: ...
|
|
42
|
+
def __repr__(self) -> str: ...
|
|
43
|
+
|
|
44
|
+
class HugeIntegerValue(Value):
|
|
45
|
+
def __init__(self, object: Any) -> None: ...
|
|
46
|
+
def __repr__(self) -> str: ...
|
|
47
|
+
|
|
48
|
+
class FloatValue(Value):
|
|
49
|
+
def __init__(self, object: Any) -> None: ...
|
|
50
|
+
def __repr__(self) -> str: ...
|
|
51
|
+
|
|
52
|
+
class DoubleValue(Value):
|
|
53
|
+
def __init__(self, object: Any) -> None: ...
|
|
54
|
+
def __repr__(self) -> str: ...
|
|
55
|
+
|
|
56
|
+
class DecimalValue(Value):
|
|
57
|
+
def __init__(self, object: Any, width: int, scale: int) -> None: ...
|
|
58
|
+
def __repr__(self) -> str: ...
|
|
59
|
+
|
|
60
|
+
class StringValue(Value):
|
|
61
|
+
def __init__(self, object: Any) -> None: ...
|
|
62
|
+
def __repr__(self) -> str: ...
|
|
63
|
+
|
|
64
|
+
class UUIDValue(Value):
|
|
65
|
+
def __init__(self, object: Any) -> None: ...
|
|
66
|
+
def __repr__(self) -> str: ...
|
|
67
|
+
|
|
68
|
+
class BitValue(Value):
|
|
69
|
+
def __init__(self, object: Any) -> None: ...
|
|
70
|
+
def __repr__(self) -> str: ...
|
|
71
|
+
|
|
72
|
+
class BlobValue(Value):
|
|
73
|
+
def __init__(self, object: Any) -> None: ...
|
|
74
|
+
def __repr__(self) -> str: ...
|
|
75
|
+
|
|
76
|
+
class DateValue(Value):
|
|
77
|
+
def __init__(self, object: Any) -> None: ...
|
|
78
|
+
def __repr__(self) -> str: ...
|
|
79
|
+
|
|
80
|
+
class IntervalValue(Value):
|
|
81
|
+
def __init__(self, object: Any) -> None: ...
|
|
82
|
+
def __repr__(self) -> str: ...
|
|
83
|
+
|
|
84
|
+
class TimestampValue(Value):
|
|
85
|
+
def __init__(self, object: Any) -> None: ...
|
|
86
|
+
def __repr__(self) -> str: ...
|
|
87
|
+
|
|
88
|
+
class TimestampSecondValue(Value):
|
|
89
|
+
def __init__(self, object: Any) -> None: ...
|
|
90
|
+
def __repr__(self) -> str: ...
|
|
91
|
+
|
|
92
|
+
class TimestampMilisecondValue(Value):
|
|
93
|
+
def __init__(self, object: Any) -> None: ...
|
|
94
|
+
def __repr__(self) -> str: ...
|
|
95
|
+
|
|
96
|
+
class TimestampNanosecondValue(Value):
|
|
97
|
+
def __init__(self, object: Any) -> None: ...
|
|
98
|
+
def __repr__(self) -> str: ...
|
|
99
|
+
|
|
100
|
+
class TimestampTimeZoneValue(Value):
|
|
101
|
+
def __init__(self, object: Any) -> None: ...
|
|
102
|
+
def __repr__(self) -> str: ...
|
|
103
|
+
|
|
104
|
+
class TimeValue(Value):
|
|
105
|
+
def __init__(self, object: Any) -> None: ...
|
|
106
|
+
def __repr__(self) -> str: ...
|
|
107
|
+
|
|
108
|
+
class TimeTimeZoneValue(Value):
|
|
109
|
+
def __init__(self, object: Any) -> None: ...
|
|
110
|
+
def __repr__(self) -> str: ...
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
class Value:
|
|
114
|
+
def __init__(self, object: Any, type: DuckDBPyType) -> None: ...
|
|
115
|
+
def __repr__(self) -> str: ...
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: duckdb
|
|
3
|
+
Version: 1.5.0.dev37
|
|
4
|
+
Summary: DuckDB in-process database
|
|
5
|
+
Keywords: DuckDB,Database,SQL,OLAP
|
|
6
|
+
Author: DuckDB Foundation
|
|
7
|
+
Maintainer: DuckDB Foundation
|
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Topic :: Database
|
|
12
|
+
Classifier: Topic :: Database :: Database Engines/Servers
|
|
13
|
+
Classifier: Topic :: Scientific/Engineering
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Intended Audience :: Education
|
|
16
|
+
Classifier: Intended Audience :: Information Technology
|
|
17
|
+
Classifier: Intended Audience :: Science/Research
|
|
18
|
+
Classifier: Programming Language :: Python
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: C++
|
|
27
|
+
Project-URL: Documentation, https://duckdb.org/docs/stable/clients/python/overview
|
|
28
|
+
Project-URL: Source, https://github.com/duckdb/duckdb-python
|
|
29
|
+
Project-URL: Issues, https://github.com/duckdb/duckdb-python/issues
|
|
30
|
+
Project-URL: Changelog, https://github.com/duckdb/duckdb/releases
|
|
31
|
+
Requires-Python: >=3.9.0
|
|
32
|
+
Provides-Extra: all
|
|
33
|
+
Requires-Dist: ipython; extra == "all"
|
|
34
|
+
Requires-Dist: fsspec; extra == "all"
|
|
35
|
+
Requires-Dist: numpy; extra == "all"
|
|
36
|
+
Requires-Dist: pandas; python_version < "3.14" and extra == "all"
|
|
37
|
+
Requires-Dist: pyarrow; python_version < "3.14" and extra == "all"
|
|
38
|
+
Requires-Dist: adbc_driver_manager; python_version < "3.14" and extra == "all"
|
|
39
|
+
Description-Content-Type: text/markdown
|
|
40
|
+
|
|
41
|
+
<div align="center">
|
|
42
|
+
<picture>
|
|
43
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/duckdb/duckdb/refs/heads/main/logo/DuckDB_Logo-horizontal.svg">
|
|
44
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/duckdb/duckdb/refs/heads/main/logo/DuckDB_Logo-horizontal-dark-mode.svg">
|
|
45
|
+
<img alt="DuckDB logo" src="https://raw.githubusercontent.com/duckdb/duckdb/refs/heads/main/logo/DuckDB_Logo-horizontal.svg" height="100">
|
|
46
|
+
</picture>
|
|
47
|
+
</div>
|
|
48
|
+
<br />
|
|
49
|
+
<p align="center">
|
|
50
|
+
<a href="https://discord.gg/tcvwpjfnZx"><img src="https://shields.io/discord/909674491309850675" alt="Discord" /></a>
|
|
51
|
+
<a href="https://pypi.org/project/duckdb/"><img src="https://img.shields.io/pypi/v/duckdb.svg" alt="PyPI Latest Release"/></a>
|
|
52
|
+
</p>
|
|
53
|
+
<br />
|
|
54
|
+
<p align="center">
|
|
55
|
+
<a href="https://duckdb.org">DuckDB.org</a>
|
|
56
|
+
|
|
|
57
|
+
<a href="https://duckdb.org/docs/stable/guides/python/install">User Guide (Python)</a>
|
|
58
|
+
-
|
|
59
|
+
<a href="https://duckdb.org/docs/stable/clients/python/overview">API Docs (Python)</a>
|
|
60
|
+
</p>
|
|
61
|
+
|
|
62
|
+
# The [DuckDB](https://github.com/duckdb/duckdb) Python Package
|
|
63
|
+
|
|
64
|
+
## Installation
|
|
65
|
+
|
|
66
|
+
Install the latest release of DuckDB directly from [PyPI](https://pypi.org/project/duckdb/):
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
pip install duckdb
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Install with all optional dependencies:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
pip install 'duckdb[all]'
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Contributing
|
|
79
|
+
|
|
80
|
+
See the [CONTRIBUTING.md](CONTRIBUTING.md) for instructions on how to set up a development environment.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
_duckdb.cpython-314t-x86_64-linux-gnu.so,sha256=y5nWu_eIQmuJxx1XHMg-i7aY0SwfAlJ66Y2Bi2KIVe4,57563576
|
|
2
|
+
duckdb/__init__.py,sha256=h-yC_OlYI04Ijah-YDC6PUZYQzcS7lB8Z1V5_uGcJUA,8765
|
|
3
|
+
duckdb/__init__.pyi,sha256=cor15j4NLa9RUe_TTUniloROcJ368UXRDBJNBV-xHaA,47644
|
|
4
|
+
duckdb/bytes_io_wrapper.py,sha256=6tEb7dzuokqSEuQrtBGc546YyOncitfi6gUOO3OLIus,2984
|
|
5
|
+
duckdb/filesystem.py,sha256=9lhkbYbJ8pa__FeZaXe6xDyHRJP-z4t9W7rMe8Adz34,996
|
|
6
|
+
duckdb/polars_io.py,sha256=aYACypblQSzRRTM15p_MHBsC87bij3OkqZEJMIVYXtw,7984
|
|
7
|
+
duckdb/udf.py,sha256=c4eYs6p9R5UMyQjcHNoLTkshSoKutkVF4xwMlq0fljg,674
|
|
8
|
+
duckdb/experimental/__init__.py,sha256=dsaou_Axm4W4uMylH4NVC6KtR1JHjR0Zdni0lilAih8,44
|
|
9
|
+
duckdb/experimental/spark/LICENSE,sha256=_1qknFLpgwYnWC6YVPp2gn0Zw7BAuFYWLRctcqnpUGc,13387
|
|
10
|
+
duckdb/experimental/spark/__init__.py,sha256=z8_tXnY5VCEUu6fjNVH8ZllFq_Y4iPAcrWHmPg1v1So,284
|
|
11
|
+
duckdb/experimental/spark/_globals.py,sha256=EGZPzdav7a5g51-U2SXqHCA11aJU35kwjUbQNqSzttk,2434
|
|
12
|
+
duckdb/experimental/spark/_typing.py,sha256=EZufFA9FUhowxCjdEWt_KM5vb3SKwoM917K9_3YG4mc,1525
|
|
13
|
+
duckdb/experimental/spark/conf.py,sha256=Z9WueVizlE-8DSRp9q5wiJbNvcCBIQJhHW9XyUpwioY,1398
|
|
14
|
+
duckdb/experimental/spark/context.py,sha256=QxyKtpi01ZV6wTqRM-k-gMVbzoJDG1pj66eP-TK3XhA,6209
|
|
15
|
+
duckdb/experimental/spark/exception.py,sha256=XLo4lz4wra6MJsbZ0MWnU0HWJx2UfUHUhN_q5dzFVyM,535
|
|
16
|
+
duckdb/experimental/spark/errors/__init__.py,sha256=RDhcD08gQIzO1JVFZUu-wRj1td2NOvro_Qsyy3MIexs,2146
|
|
17
|
+
duckdb/experimental/spark/errors/error_classes.py,sha256=ZIhQcpvC2wH1FzM7fa7UQBUIeQ1bRT-VArbC6TT0kx0,27249
|
|
18
|
+
duckdb/experimental/spark/errors/utils.py,sha256=gHmg1yrN6rATUoHGuzsoDeAl-LULRnML6iR_dlMwUTk,4438
|
|
19
|
+
duckdb/experimental/spark/errors/exceptions/__init__.py,sha256=c0bKYjIaffoqkm7ZgaR53O64pH33BYzSzFxNFPweSjU,784
|
|
20
|
+
duckdb/experimental/spark/errors/exceptions/base.py,sha256=k0WMP7EoIhtYqbYSufyYLYnKY2uzCB8WMg74-JZjnqI,5360
|
|
21
|
+
duckdb/experimental/spark/sql/__init__.py,sha256=R83MKgikp6bwNv9MV_MV14gQFwOJA5f_BhaTWNu0B4w,256
|
|
22
|
+
duckdb/experimental/spark/sql/_typing.py,sha256=5CwczuoxRLcIwnfGT4OWC19n6ctsC8JFKNjY4yQ-pFE,2361
|
|
23
|
+
duckdb/experimental/spark/sql/catalog.py,sha256=K8W85ccXlN8LzRZAkh5zpFvErpNiDySgAOL0rAfEAEw,2284
|
|
24
|
+
duckdb/experimental/spark/sql/column.py,sha256=J0RJrR74WN-8WWXMWHtCkqztcrYQ8WuSfwOc4zJlUlU,10708
|
|
25
|
+
duckdb/experimental/spark/sql/conf.py,sha256=8yIcAD8S4T1f5L1MnjMf86LXxBABu6lbJJJrd_l15Y8,656
|
|
26
|
+
duckdb/experimental/spark/sql/dataframe.py,sha256=8PvzieUlTTEyqqLgR8IJFtJH9E8UGH6vL3mlFz-EAQI,46398
|
|
27
|
+
duckdb/experimental/spark/sql/functions.py,sha256=5hD64AjJbO5ER0xtEnTlmVoOINLLQ3O0ooVyk_SUcus,173108
|
|
28
|
+
duckdb/experimental/spark/sql/group.py,sha256=d2rojDeTlB1aRZU0TFFSdGwO6biXO8o-gLLiKmFFnNA,13275
|
|
29
|
+
duckdb/experimental/spark/sql/readwriter.py,sha256=q6Nldqeg5FEzqcc0ydzlJPfOkpq8Wrx9-527mWPP9Ts,17301
|
|
30
|
+
duckdb/experimental/spark/sql/session.py,sha256=TWrUyepTAIFWMavYwguPiNHVGpc3RHQXK63MQfhQS1A,8998
|
|
31
|
+
duckdb/experimental/spark/sql/streaming.py,sha256=XsXZjtpbeuGHQGXogzvApEUQxe4o6-YHvy6z4AcdT5o,1023
|
|
32
|
+
duckdb/experimental/spark/sql/type_utils.py,sha256=YoUxq5KhwfHb4CCIKaEAIbM3R3Ol5_XErjbRJ30eICA,2954
|
|
33
|
+
duckdb/experimental/spark/sql/types.py,sha256=ArGYPPFDIV8seol7EdxiJPZttV5Ld8dzN3TEmCUDNaI,39159
|
|
34
|
+
duckdb/experimental/spark/sql/udf.py,sha256=wul2wqnbV4d9zFmDw4G6ZEiRddUkPHat3HY1xL5u5dQ,1081
|
|
35
|
+
duckdb/functional/__init__.py,sha256=Ntz7FBorwQ18ldEo-KJpSWIP33S8WGNZlsyva0zG7tQ,212
|
|
36
|
+
duckdb/functional/__init__.pyi,sha256=HsIdFEv3h32XH06Jg2ppRjg038uWzjWapyJ51A_LoI4,774
|
|
37
|
+
duckdb/query_graph/__main__.py,sha256=82OHL1N6aB9TlbmKJny8w_EdxJnijq_pEto1NOT0hCQ,11259
|
|
38
|
+
duckdb/typing/__init__.py,sha256=1uy_ItOCRLLVqzUe_jL1qC3-SGf_bb-HvwW1QOrKSXA,854
|
|
39
|
+
duckdb/typing/__init__.pyi,sha256=bOkRuedw-3Cw7KP6I3DVdQQBS_uGdnPsyki8H417hN8,928
|
|
40
|
+
duckdb/value/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
41
|
+
duckdb/value/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
42
|
+
duckdb/value/constant/__init__.py,sha256=XMKbHy9xVtsA59G5053m_UTNAGzthAVxJbA8ghKqmJw,5516
|
|
43
|
+
duckdb/value/constant/__init__.pyi,sha256=LFEjUoKOoLQCXjwcR7t5o6CFNaiZQyUygFz-gQHgP1Y,3279
|
|
44
|
+
duckdb-1.5.0.dev37.dist-info/METADATA,sha256=ZkahqIdW8gNF9l3mZlxJNGqyUqFudI7pn-T3p0tIUSw,3251
|
|
45
|
+
duckdb-1.5.0.dev37.dist-info/WHEEL,sha256=HLAO5aT1Z1qHVa70mcFMq2LfQ18vFrsQ093Lds3VElA,159
|
|
46
|
+
duckdb-1.5.0.dev37.dist-info/RECORD,,
|
|
47
|
+
duckdb-1.5.0.dev37.dist-info/licenses/LICENSE,sha256=fhf9MSSfqHXLOxxeBcbD6Zt1UJ9qKATKF2wheDTeHcs,1072
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Copyright 2018-2025 Stichting DuckDB Foundation
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|