duckdb 1.4.0.dev465__cp312-cp312-win_amd64.whl → 1.5.0.dev53__cp312-cp312-win_amd64.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.

Files changed (58) hide show
  1. _duckdb-stubs/__init__.pyi +1443 -0
  2. _duckdb-stubs/_func.pyi +46 -0
  3. _duckdb-stubs/_sqltypes.pyi +75 -0
  4. duckdb/duckdb.cp312-win_amd64.pyd → _duckdb.cp312-win_amd64.pyd +0 -0
  5. adbc_driver_duckdb/__init__.py +11 -8
  6. adbc_driver_duckdb/dbapi.py +2 -3
  7. duckdb/__init__.py +343 -388
  8. duckdb/_dbapi_type_object.py +231 -0
  9. duckdb/_version.py +22 -0
  10. duckdb/bytes_io_wrapper.py +12 -9
  11. duckdb/experimental/__init__.py +2 -1
  12. duckdb/experimental/spark/__init__.py +3 -4
  13. duckdb/experimental/spark/_globals.py +8 -8
  14. duckdb/experimental/spark/_typing.py +7 -9
  15. duckdb/experimental/spark/conf.py +16 -15
  16. duckdb/experimental/spark/context.py +60 -44
  17. duckdb/experimental/spark/errors/__init__.py +33 -35
  18. duckdb/experimental/spark/errors/error_classes.py +1 -1
  19. duckdb/experimental/spark/errors/exceptions/__init__.py +1 -1
  20. duckdb/experimental/spark/errors/exceptions/base.py +39 -88
  21. duckdb/experimental/spark/errors/utils.py +11 -16
  22. duckdb/experimental/spark/exception.py +9 -6
  23. duckdb/experimental/spark/sql/__init__.py +5 -5
  24. duckdb/experimental/spark/sql/_typing.py +8 -15
  25. duckdb/experimental/spark/sql/catalog.py +21 -20
  26. duckdb/experimental/spark/sql/column.py +48 -55
  27. duckdb/experimental/spark/sql/conf.py +9 -8
  28. duckdb/experimental/spark/sql/dataframe.py +213 -231
  29. duckdb/experimental/spark/sql/functions.py +1317 -1220
  30. duckdb/experimental/spark/sql/group.py +56 -52
  31. duckdb/experimental/spark/sql/readwriter.py +80 -94
  32. duckdb/experimental/spark/sql/session.py +64 -59
  33. duckdb/experimental/spark/sql/streaming.py +9 -10
  34. duckdb/experimental/spark/sql/type_utils.py +67 -65
  35. duckdb/experimental/spark/sql/types.py +309 -345
  36. duckdb/experimental/spark/sql/udf.py +6 -6
  37. duckdb/filesystem.py +26 -16
  38. duckdb/func/__init__.py +3 -0
  39. duckdb/functional/__init__.py +12 -16
  40. duckdb/polars_io.py +284 -0
  41. duckdb/query_graph/__main__.py +91 -96
  42. duckdb/sqltypes/__init__.py +63 -0
  43. duckdb/typing/__init__.py +18 -8
  44. duckdb/udf.py +10 -5
  45. duckdb/value/__init__.py +1 -0
  46. duckdb/value/{constant.py → constant/__init__.py} +62 -60
  47. duckdb-1.5.0.dev53.dist-info/METADATA +87 -0
  48. duckdb-1.5.0.dev53.dist-info/RECORD +52 -0
  49. {duckdb-1.4.0.dev465.dist-info → duckdb-1.5.0.dev53.dist-info}/WHEEL +1 -1
  50. duckdb-1.5.0.dev53.dist-info/licenses/LICENSE +7 -0
  51. duckdb-1.4.0.dev465.dist-info/METADATA +0 -47
  52. duckdb-1.4.0.dev465.dist-info/RECORD +0 -47
  53. duckdb-1.4.0.dev465.dist-info/top_level.txt +0 -3
  54. duckdb-stubs/__init__.pyi +0 -711
  55. duckdb-stubs/functional/__init__.pyi +0 -33
  56. duckdb-stubs/typing/__init__.pyi +0 -37
  57. duckdb-stubs/value/constant/__init__.pyi +0 -116
  58. /duckdb-stubs/value/__init__.pyi → /duckdb/py.typed +0 -0
@@ -1,33 +0,0 @@
1
- from .. import DuckDBPyConnection
2
-
3
- from typing import Dict
4
-
5
- SPECIAL: FunctionNullHandling
6
- DEFAULT: FunctionNullHandling
7
-
8
- NATIVE: PythonUDFType
9
- ARROW: PythonUDFType
10
-
11
- class FunctionNullHandling:
12
- DEFAULT: FunctionNullHandling
13
- SPECIAL: FunctionNullHandling
14
- def __int__(self) -> int: ...
15
- def __index__(self) -> int: ...
16
- @property
17
- def __members__(self) -> Dict[str, FunctionNullHandling]: ...
18
- @property
19
- def name(self) -> str: ...
20
- @property
21
- def value(self) -> int: ...
22
-
23
- class PythonUDFType:
24
- NATIVE: PythonUDFType
25
- ARROW: PythonUDFType
26
- def __int__(self) -> int: ...
27
- def __index__(self) -> int: ...
28
- @property
29
- def __members__(self) -> Dict[str, PythonUDFType]: ...
30
- @property
31
- def name(self) -> str: ...
32
- @property
33
- def value(self) -> int: ...
@@ -1,37 +0,0 @@
1
- from .. import DuckDBPyConnection
2
- from typing import List
3
-
4
- SQLNULL: DuckDBPyType
5
- BOOLEAN: DuckDBPyType
6
- TINYINT: DuckDBPyType
7
- UTINYINT: DuckDBPyType
8
- SMALLINT: DuckDBPyType
9
- USMALLINT: DuckDBPyType
10
- INTEGER: DuckDBPyType
11
- UINTEGER: DuckDBPyType
12
- BIGINT: DuckDBPyType
13
- UBIGINT: DuckDBPyType
14
- HUGEINT: DuckDBPyType
15
- UHUGEINT: DuckDBPyType
16
- UUID: DuckDBPyType
17
- FLOAT: DuckDBPyType
18
- DOUBLE: DuckDBPyType
19
- DATE: DuckDBPyType
20
- TIMESTAMP: DuckDBPyType
21
- TIMESTAMP_MS: DuckDBPyType
22
- TIMESTAMP_NS: DuckDBPyType
23
- TIMESTAMP_S: DuckDBPyType
24
- TIME: DuckDBPyType
25
- TIME_TZ: DuckDBPyType
26
- TIMESTAMP_TZ: DuckDBPyType
27
- VARCHAR: DuckDBPyType
28
- BLOB: DuckDBPyType
29
- BIT: DuckDBPyType
30
- INTERVAL: DuckDBPyType
31
-
32
- class DuckDBPyType:
33
- def __init__(self, type_str: str, connection: DuckDBPyConnection = ...) -> None: ...
34
- def __repr__(self) -> str: ...
35
- def __eq__(self, other) -> bool: ...
36
- def __getattr__(self, name: str): DuckDBPyType
37
- def __getitem__(self, name: str): DuckDBPyType
@@ -1,116 +0,0 @@
1
- from ... import DuckDBPyConnection
2
- from ...typing import DuckDBPyType
3
- from typing import Any
4
-
5
- class NullValue(Value):
6
- def __init__(self) -> None: ...
7
- def __repr__(self) -> str: ...
8
-
9
- class BooleanValue(Value):
10
- def __init__(self, object: Any) -> None: ...
11
- def __repr__(self) -> str: ...
12
-
13
- class UnsignedBinaryValue(Value):
14
- def __init__(self, object: Any) -> None: ...
15
- def __repr__(self) -> str: ...
16
-
17
- class UnsignedShortValue(Value):
18
- def __init__(self, object: Any) -> None: ...
19
- def __repr__(self) -> str: ...
20
-
21
- class UnsignedIntegerValue(Value):
22
- def __init__(self, object: Any) -> None: ...
23
- def __repr__(self) -> str: ...
24
-
25
- class UnsignedLongValue(Value):
26
- def __init__(self, object: Any) -> None: ...
27
- def __repr__(self) -> str: ...
28
-
29
- class BinaryValue(Value):
30
- def __init__(self, object: Any) -> None: ...
31
- def __repr__(self) -> str: ...
32
-
33
- class ShortValue(Value):
34
- def __init__(self, object: Any) -> None: ...
35
- def __repr__(self) -> str: ...
36
-
37
- class IntegerValue(Value):
38
- def __init__(self, object: Any) -> None: ...
39
- def __repr__(self) -> str: ...
40
-
41
- class LongValue(Value):
42
- def __init__(self, object: Any) -> None: ...
43
- def __repr__(self) -> str: ...
44
-
45
- class HugeIntegerValue(Value):
46
- def __init__(self, object: Any) -> None: ...
47
- def __repr__(self) -> str: ...
48
-
49
- class FloatValue(Value):
50
- def __init__(self, object: Any) -> None: ...
51
- def __repr__(self) -> str: ...
52
-
53
- class DoubleValue(Value):
54
- def __init__(self, object: Any) -> None: ...
55
- def __repr__(self) -> str: ...
56
-
57
- class DecimalValue(Value):
58
- def __init__(self, object: Any, width: int, scale: int) -> None: ...
59
- def __repr__(self) -> str: ...
60
-
61
- class StringValue(Value):
62
- def __init__(self, object: Any) -> None: ...
63
- def __repr__(self) -> str: ...
64
-
65
- class UUIDValue(Value):
66
- def __init__(self, object: Any) -> None: ...
67
- def __repr__(self) -> str: ...
68
-
69
- class BitValue(Value):
70
- def __init__(self, object: Any) -> None: ...
71
- def __repr__(self) -> str: ...
72
-
73
- class BlobValue(Value):
74
- def __init__(self, object: Any) -> None: ...
75
- def __repr__(self) -> str: ...
76
-
77
- class DateValue(Value):
78
- def __init__(self, object: Any) -> None: ...
79
- def __repr__(self) -> str: ...
80
-
81
- class IntervalValue(Value):
82
- def __init__(self, object: Any) -> None: ...
83
- def __repr__(self) -> str: ...
84
-
85
- class TimestampValue(Value):
86
- def __init__(self, object: Any) -> None: ...
87
- def __repr__(self) -> str: ...
88
-
89
- class TimestampSecondValue(Value):
90
- def __init__(self, object: Any) -> None: ...
91
- def __repr__(self) -> str: ...
92
-
93
- class TimestampMilisecondValue(Value):
94
- def __init__(self, object: Any) -> None: ...
95
- def __repr__(self) -> str: ...
96
-
97
- class TimestampNanosecondValue(Value):
98
- def __init__(self, object: Any) -> None: ...
99
- def __repr__(self) -> str: ...
100
-
101
- class TimestampTimeZoneValue(Value):
102
- def __init__(self, object: Any) -> None: ...
103
- def __repr__(self) -> str: ...
104
-
105
- class TimeValue(Value):
106
- def __init__(self, object: Any) -> None: ...
107
- def __repr__(self) -> str: ...
108
-
109
- class TimeTimeZoneValue(Value):
110
- def __init__(self, object: Any) -> None: ...
111
- def __repr__(self) -> str: ...
112
-
113
-
114
- class Value:
115
- def __init__(self, object: Any, type: DuckDBPyType) -> None: ...
116
- def __repr__(self) -> str: ...
File without changes