duckdb 1.4.0.dev204__cp312-cp312-macosx_10_13_x86_64.whl → 1.5.0.dev32__cp312-cp312-macosx_10_13_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.

Binary file
duckdb/__init__.py CHANGED
@@ -18,6 +18,49 @@ _exported_symbols.extend([
18
18
  "functional"
19
19
  ])
20
20
 
21
+ class DBAPITypeObject:
22
+ def __init__(self, types: list[typing.DuckDBPyType]) -> None:
23
+ self.types = types
24
+
25
+ def __eq__(self, other):
26
+ if isinstance(other, typing.DuckDBPyType):
27
+ return other in self.types
28
+ return False
29
+
30
+ def __repr__(self):
31
+ return f"<DBAPITypeObject [{','.join(str(x) for x in self.types)}]>"
32
+
33
+ # Define the standard DBAPI sentinels
34
+ STRING = DBAPITypeObject([typing.VARCHAR])
35
+ NUMBER = DBAPITypeObject([
36
+ typing.TINYINT,
37
+ typing.UTINYINT,
38
+ typing.SMALLINT,
39
+ typing.USMALLINT,
40
+ typing.INTEGER,
41
+ typing.UINTEGER,
42
+ typing.BIGINT,
43
+ typing.UBIGINT,
44
+ typing.HUGEINT,
45
+ typing.UHUGEINT,
46
+ typing.DuckDBPyType("BIGNUM"),
47
+ typing.DuckDBPyType("DECIMAL"),
48
+ typing.FLOAT,
49
+ typing.DOUBLE
50
+ ])
51
+ DATETIME = DBAPITypeObject([
52
+ typing.DATE,
53
+ typing.TIME,
54
+ typing.TIME_TZ,
55
+ typing.TIMESTAMP,
56
+ typing.TIMESTAMP_TZ,
57
+ typing.TIMESTAMP_NS,
58
+ typing.TIMESTAMP_MS,
59
+ typing.TIMESTAMP_S
60
+ ])
61
+ BINARY = DBAPITypeObject([typing.BLOB])
62
+ ROWID = None
63
+
21
64
  # Classes
22
65
  from _duckdb import (
23
66
  DuckDBPyRelation,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: duckdb
3
- Version: 1.4.0.dev204
3
+ Version: 1.5.0.dev32
4
4
  Summary: DuckDB in-process database
5
5
  Keywords: DuckDB,Database,SQL,OLAP
6
6
  Author: DuckDB Foundation
@@ -33,9 +33,9 @@ Provides-Extra: all
33
33
  Requires-Dist: ipython; extra == "all"
34
34
  Requires-Dist: fsspec; extra == "all"
35
35
  Requires-Dist: numpy; extra == "all"
36
- Requires-Dist: pandas; extra == "all"
37
- Requires-Dist: pyarrow; extra == "all"
38
- Requires-Dist: adbc_driver_manager; 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
39
  Description-Content-Type: text/markdown
40
40
 
41
41
  <div align="center">
@@ -1,12 +1,8 @@
1
- _duckdb.cpython-312-darwin.so,sha256=4B4VXzgYlFrEQl5WME8EhNSP3EGwBFgIe7N5lT4MnS4,50841904
2
- duckdb-1.4.0.dev204.dist-info/RECORD,,
3
- duckdb-1.4.0.dev204.dist-info/WHEEL,sha256=e8zRXXe0m9rb0lubAfNKoq0NqzHoaXRFcyxnC1Sqoa0,143
4
- duckdb-1.4.0.dev204.dist-info/METADATA,sha256=1dM18V_jGilISCWLjgyt3FGIlL2RwJxBZ2-ya2WdUR8,14102
5
- duckdb-1.4.0.dev204.dist-info/licenses/LICENSE,sha256=fhf9MSSfqHXLOxxeBcbD6Zt1UJ9qKATKF2wheDTeHcs,1072
1
+ _duckdb.cpython-312-darwin.so,sha256=iCCRGp-mP9ZAG0CURMhZc-lfnOEoSvbZ1axg_lWpA4Q,50874952
6
2
  duckdb/polars_io.py,sha256=aYACypblQSzRRTM15p_MHBsC87bij3OkqZEJMIVYXtw,7984
7
3
  duckdb/__init__.pyi,sha256=cor15j4NLa9RUe_TTUniloROcJ368UXRDBJNBV-xHaA,47644
8
4
  duckdb/filesystem.py,sha256=9lhkbYbJ8pa__FeZaXe6xDyHRJP-z4t9W7rMe8Adz34,996
9
- duckdb/__init__.py,sha256=x5u9bfVXCaklfMC00uwOtWijVnCINVvzp3OSkHxpqm0,7713
5
+ duckdb/__init__.py,sha256=h-yC_OlYI04Ijah-YDC6PUZYQzcS7lB8Z1V5_uGcJUA,8765
10
6
  duckdb/bytes_io_wrapper.py,sha256=6tEb7dzuokqSEuQrtBGc546YyOncitfi6gUOO3OLIus,2984
11
7
  duckdb/udf.py,sha256=c4eYs6p9R5UMyQjcHNoLTkshSoKutkVF4xwMlq0fljg,674
12
8
  duckdb/experimental/__init__.py,sha256=dsaou_Axm4W4uMylH4NVC6KtR1JHjR0Zdni0lilAih8,44
@@ -45,3 +41,7 @@ duckdb/typing/__init__.pyi,sha256=bOkRuedw-3Cw7KP6I3DVdQQBS_uGdnPsyki8H417hN8,92
45
41
  duckdb/typing/__init__.py,sha256=1uy_ItOCRLLVqzUe_jL1qC3-SGf_bb-HvwW1QOrKSXA,854
46
42
  duckdb/functional/__init__.pyi,sha256=HsIdFEv3h32XH06Jg2ppRjg038uWzjWapyJ51A_LoI4,774
47
43
  duckdb/functional/__init__.py,sha256=Ntz7FBorwQ18ldEo-KJpSWIP33S8WGNZlsyva0zG7tQ,212
44
+ duckdb-1.5.0.dev32.dist-info/RECORD,,
45
+ duckdb-1.5.0.dev32.dist-info/WHEEL,sha256=e8zRXXe0m9rb0lubAfNKoq0NqzHoaXRFcyxnC1Sqoa0,143
46
+ duckdb-1.5.0.dev32.dist-info/METADATA,sha256=h9fDfFkEprPBwtXrSmgIuJ6rGhXZ53A7emTUYakVyE0,14185
47
+ duckdb-1.5.0.dev32.dist-info/licenses/LICENSE,sha256=fhf9MSSfqHXLOxxeBcbD6Zt1UJ9qKATKF2wheDTeHcs,1072