duckdb 1.4.1.dev116__cp312-cp312-macosx_10_13_universal2.whl → 1.5.0.dev56__cp312-cp312-macosx_10_13_universal2.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.

@@ -0,0 +1,63 @@
1
+ """DuckDB's SQL types."""
2
+
3
+ from _duckdb._sqltypes import (
4
+ BIGINT,
5
+ BIT,
6
+ BLOB,
7
+ BOOLEAN,
8
+ DATE,
9
+ DOUBLE,
10
+ FLOAT,
11
+ HUGEINT,
12
+ INTEGER,
13
+ INTERVAL,
14
+ SMALLINT,
15
+ SQLNULL,
16
+ TIME,
17
+ TIME_TZ,
18
+ TIMESTAMP,
19
+ TIMESTAMP_MS,
20
+ TIMESTAMP_NS,
21
+ TIMESTAMP_S,
22
+ TIMESTAMP_TZ,
23
+ TINYINT,
24
+ UBIGINT,
25
+ UHUGEINT,
26
+ UINTEGER,
27
+ USMALLINT,
28
+ UTINYINT,
29
+ UUID,
30
+ VARCHAR,
31
+ DuckDBPyType,
32
+ )
33
+
34
+ __all__ = [
35
+ "BIGINT",
36
+ "BIT",
37
+ "BLOB",
38
+ "BOOLEAN",
39
+ "DATE",
40
+ "DOUBLE",
41
+ "FLOAT",
42
+ "HUGEINT",
43
+ "INTEGER",
44
+ "INTERVAL",
45
+ "SMALLINT",
46
+ "SQLNULL",
47
+ "TIME",
48
+ "TIMESTAMP",
49
+ "TIMESTAMP_MS",
50
+ "TIMESTAMP_NS",
51
+ "TIMESTAMP_S",
52
+ "TIMESTAMP_TZ",
53
+ "TIME_TZ",
54
+ "TINYINT",
55
+ "UBIGINT",
56
+ "UHUGEINT",
57
+ "UINTEGER",
58
+ "USMALLINT",
59
+ "UTINYINT",
60
+ "UUID",
61
+ "VARCHAR",
62
+ "DuckDBPyType",
63
+ ]
duckdb/typing/__init__.py CHANGED
@@ -1,4 +1,8 @@
1
- from _duckdb.typing import ( # noqa: D104
1
+ """DuckDB's SQL types. DEPRECATED. Please use `duckdb.sqltypes` instead."""
2
+
3
+ import warnings
4
+
5
+ from duckdb.sqltypes import (
2
6
  BIGINT,
3
7
  BIT,
4
8
  BLOB,
@@ -59,3 +63,9 @@ __all__ = [
59
63
  "VARCHAR",
60
64
  "DuckDBPyType",
61
65
  ]
66
+
67
+ warnings.warn(
68
+ "`duckdb.typing` is deprecated and will be removed in a future version. Please use `duckdb.sqltypes` instead.",
69
+ DeprecationWarning,
70
+ stacklevel=2,
71
+ )
duckdb/udf.py CHANGED
@@ -1,8 +1,8 @@
1
1
  # ruff: noqa: D100
2
- from typing import Callable
2
+ import typing
3
3
 
4
4
 
5
- def vectorized(func: Callable) -> Callable:
5
+ def vectorized(func: typing.Callable[..., typing.Any]) -> typing.Callable[..., typing.Any]:
6
6
  """Decorate a function with annotated function parameters.
7
7
 
8
8
  This allows DuckDB to infer that the function should be provided with pyarrow arrays and should expect
@@ -1,7 +1,7 @@
1
1
  # ruff: noqa: D101, D104, D105, D107, ANN401
2
2
  from typing import Any
3
3
 
4
- from duckdb.typing import (
4
+ from duckdb.sqltypes import (
5
5
  BIGINT,
6
6
  BIT,
7
7
  BLOB,
@@ -0,0 +1,87 @@
1
+ Metadata-Version: 2.1
2
+ Name: duckdb
3
+ Version: 1.5.0.dev56
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
+ # DuckDB: A Fast, In-Process, Portable, Open Source, Analytical Database System
63
+
64
+ * **Simple**: DuckDB is easy to install and deploy. It has zero external dependencies and runs in-process in its host application or as a single binary.
65
+ * **Portable**: DuckDB runs on Linux, macOS, Windows, Android, iOS and all popular hardware architectures. It has idiomatic client APIs for major programming languages.
66
+ * **Feature-rich**: DuckDB offers a rich SQL dialect. It can read and write file formats such as CSV, Parquet, and JSON, to and from the local file system and remote endpoints such as S3 buckets.
67
+ * **Fast**: DuckDB runs analytical queries at blazing speed thanks to its columnar engine, which supports parallel execution and can process larger-than-memory workloads.
68
+ * **Extensible**: DuckDB is extensible by third-party features such as new data types, functions, file formats and new SQL syntax. User contributions are available as community extensions.
69
+ * **Free**: DuckDB and its core extensions are open-source under the permissive MIT License. The intellectual property of the project is held by the DuckDB Foundation.
70
+
71
+ ## Installation
72
+
73
+ Install the latest release of DuckDB directly from [PyPI](https://pypi.org/project/duckdb/):
74
+
75
+ ```bash
76
+ pip install duckdb
77
+ ```
78
+
79
+ Install with all optional dependencies:
80
+
81
+ ```bash
82
+ pip install 'duckdb[all]'
83
+ ```
84
+
85
+ ## Contributing
86
+
87
+ See the [CONTRIBUTING.md](CONTRIBUTING.md) for instructions on how to set up a development environment.
@@ -1,14 +1,16 @@
1
- _duckdb.cpython-312-darwin.so,sha256=wr4oWoBn_8vEhMG2kkQvFvsJAt748l7lL9LBsPkYj4c,91089440
2
- duckdb-1.4.1.dev116.dist-info/RECORD,,
3
- duckdb-1.4.1.dev116.dist-info/WHEEL,sha256=kyp_zZa_2o-9AEayI-sR8utaqpkI0xz7V7vXBQUtVjw,147
4
- duckdb-1.4.1.dev116.dist-info/METADATA,sha256=U8ztWp7pS4leIPmuR-KU9DgKcXu3nghOzfNlsMyT45w,14079
5
- duckdb-1.4.1.dev116.dist-info/licenses/LICENSE,sha256=fhf9MSSfqHXLOxxeBcbD6Zt1UJ9qKATKF2wheDTeHcs,1072
6
- duckdb/polars_io.py,sha256=0Kg9BYzVD5zOkG8OSHJ-18PLwC8fLTQw7VkxJa1d-IU,8046
7
- duckdb/__init__.pyi,sha256=_f2yNP_jUszyFo3x8QcAFnX8Hm9pbMAM_x-RldVYAuU,50315
8
- duckdb/filesystem.py,sha256=MaV8V_P19etOibO_bkOyaC9SXX68WwR_ipnSR2HmkF8,1120
9
- duckdb/__init__.py,sha256=GiOxf2JBwemN47dsEffqnUAqCk8M_a2_5mxU0_eo5KI,9979
10
- duckdb/bytes_io_wrapper.py,sha256=dWHK6afLnQrVlpVKDVOvsnxpGFXFjx5yPLX_SzCWSqs,3073
11
- duckdb/udf.py,sha256=qWBc2cP-uL9kLoCZGFLZfWW-r4SmX8hYNxK0JEX7MmQ,739
1
+ _duckdb.cpython-312-darwin.so,sha256=ndEvNBnEcoTXHyVvVbdBdFSqiiLj3l0iXZmCOqkjbOg,81277936
2
+ duckdb-1.5.0.dev56.dist-info/RECORD,,
3
+ duckdb-1.5.0.dev56.dist-info/WHEEL,sha256=kyp_zZa_2o-9AEayI-sR8utaqpkI0xz7V7vXBQUtVjw,147
4
+ duckdb-1.5.0.dev56.dist-info/METADATA,sha256=-8pobN1_O2OKtKvsNbbKDFlmnqklnNg5FUxzdwmHPHU,4314
5
+ duckdb-1.5.0.dev56.dist-info/licenses/LICENSE,sha256=fhf9MSSfqHXLOxxeBcbD6Zt1UJ9qKATKF2wheDTeHcs,1072
6
+ duckdb/polars_io.py,sha256=rOY2k5SKDvFQfxgTdkngi70CY8HRaPk-NE3u4vzY-YE,10996
7
+ duckdb/_version.py,sha256=YED0DUA67R3YQhz3hY_0QA_goTaWK2HE2epopxDxrIc,844
8
+ duckdb/_dbapi_type_object.py,sha256=NW-m3YcpJwwpQ4UC9lj68eioUB1NbdmgaaQID6v9ecU,6980
9
+ duckdb/filesystem.py,sha256=GjKX8kNZrGTVtZkRru6pPO6-A5oWP1Dd8Qi89J62TqA,1299
10
+ duckdb/__init__.py,sha256=KyCqaPIZeRd3oZXP7F-H__YQKZ0mv7webvdpJHbHBKE,7507
11
+ duckdb/bytes_io_wrapper.py,sha256=ymaALp1QJQghb1dx8j_rLqGWz3oZ6ghK3jt2sjojEQI,3081
12
+ duckdb/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
+ duckdb/udf.py,sha256=J0uNT5nAyxesuRW_OFOpJoIucDIjRYbmaogh4K8519I,773
12
14
  duckdb/experimental/__init__.py,sha256=RtBuXJuOPi6sh03OWG2Oor3yDEiVWV9q2aJQTNhSkcY,59
13
15
  duckdb/experimental/spark/exception.py,sha256=lyWpHLPPwAlBUrJicU_F7flgNR2rO6rrhkd3-baMaHE,633
14
16
  duckdb/experimental/spark/_typing.py,sha256=ucsD63ySqAZrmxXjbruUlRcI_B_N11YkaAubHE9rM4Q,1528
@@ -28,20 +30,23 @@ duckdb/experimental/spark/sql/_typing.py,sha256=FnGgzj8uVF7TTrJ2X94IBo7XW_ezYQ8D
28
30
  duckdb/experimental/spark/sql/dataframe.py,sha256=F_vUzIY7suX3y5pjv2bntSFF3-CTJ9M3od3dkcto2Cc,46451
29
31
  duckdb/experimental/spark/sql/conf.py,sha256=DQ04ZoJu7IQX855p22eSZLMBz7aWhm8yYMWNPi6U5UY,763
30
32
  duckdb/experimental/spark/sql/session.py,sha256=YKR42m92puFA-tqfmhbPLS6pYkyhbl61sxwI9C9Ybe0,9561
31
- duckdb/experimental/spark/sql/type_utils.py,sha256=i5UN3u-02V3KG6QvpkhTDS6YQEgPN6RwXGU3vN9v6ME,3025
33
+ duckdb/experimental/spark/sql/type_utils.py,sha256=pbMyGdjaOj4yJE7jDgCXv85oMwUg4SjZoW8YOS4vWmY,3027
32
34
  duckdb/experimental/spark/sql/__init__.py,sha256=Dsax7nLowynyH_bsZB7ZhFstOw386C9FggQ2MmkhMMA,270
33
- duckdb/experimental/spark/sql/types.py,sha256=6hl8X2AJ2c6TCs9wsa3VFDopcrYD2PMGF4quvLWgAHk,41200
35
+ duckdb/experimental/spark/sql/types.py,sha256=dvmMWAwaKAYuUauwK3B5m3-KFO-XNvktumDU1X5B9kk,41202
34
36
  duckdb/experimental/spark/sql/readwriter.py,sha256=MEMBn9qX8Mj7i3rEOXVaZqIfbHB-AaFO1w32Ecvlal8,17495
35
37
  duckdb/experimental/spark/sql/group.py,sha256=UHKCKwXB2M59Ki_tpsaC5s10ExqVdMLFVhncY5cR6do,13528
36
38
  duckdb/experimental/spark/sql/udf.py,sha256=4I-HyLIZeMJEYzasC23xVDtS0FNdPDWXIAzQTWCx7hs,1173
37
39
  duckdb/experimental/spark/sql/streaming.py,sha256=Re1v3PMEK93JalVXAE0oOMZM47m-YO75qlnwnJi0-C4,1068
38
- duckdb/experimental/spark/sql/column.py,sha256=3k7k1YjBdgsX5ry7CJFCc6BXym46p7OZERVJSDcOjRY,11091
40
+ duckdb/experimental/spark/sql/column.py,sha256=7bTZWlnCqS0avoP7Pg10Zop1cNjv-_Mlzu3y-Y4X8Fs,11093
39
41
  duckdb/query_graph/__main__.py,sha256=HPiIRIas63s1m6IGQGwMqi9t4qr-922z3ESZDzPFLbc,11476
40
- duckdb/value/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
42
  duckdb/value/__init__.py,sha256=0eVFfVd2aZXTZHFXcLZnFk8MftII4cMhRBBYt3Hm3LI,13
42
- duckdb/value/constant/__init__.pyi,sha256=pshADqWkRY6TAaUBUomXuLMOQYZonRj4Yk0K9nBFVx0,3266
43
- duckdb/value/constant/__init__.py,sha256=vVx6-TV2Y7sOjmTVp70NvJVlBVBtAK2So0bCePTxgkM,5821
44
- duckdb/typing/__init__.pyi,sha256=MQbVPk7h_e6vJFU1_D31Be0G_Vt2-CBUOidh723daWk,945
45
- duckdb/typing/__init__.py,sha256=u27gyvF2jerbWBLptpNBopQfmg-Jxsp01aNengzL29c,870
46
- duckdb/functional/__init__.pyi,sha256=HsIdFEv3h32XH06Jg2ppRjg038uWzjWapyJ51A_LoI4,774
47
- duckdb/functional/__init__.py,sha256=0m3VAWR07kGmMEQ5boc48dt2vTyzSXkbP_FWZSnpKDo,208
43
+ duckdb/value/constant/__init__.py,sha256=anBSU847CeWmtnsjc5VtM0B9urBko8TWnBiCB3XPWs4,5823
44
+ duckdb/sqltypes/__init__.py,sha256=07pg8Ykp905Mf-KqJtCfGBChLPit5nW6t7KEpAz9LR8,886
45
+ duckdb/typing/__init__.py,sha256=XmmRUTVgQMOobDmer7GmabnuFZ8t7rVfbtoJdK5uD6Y,1127
46
+ duckdb/functional/__init__.py,sha256=-WAPwJvoxdk2xQipz6unr8MwMyalnQ2aOUfMLhAPBw0,470
47
+ duckdb/func/__init__.py,sha256=oisXanDpKYjBG-tS1AMGVtodDGqKZspYbCLX5YlbWLQ,203
48
+ _duckdb-stubs/_func.pyi,sha256=1_39vmTVZZep_vSNVWVRBwLlz3YUk42yQeAvfZQXk1M,2086
49
+ _duckdb-stubs/_sqltypes.pyi,sha256=zJD-frBluEE2PrZccsHr9TjkTuWcCQLPe9FoG0YpKMI,2165
50
+ _duckdb-stubs/__init__.pyi,sha256=kPWv71k0P7ehfS7hjx-aj3GXA93QfuJtcRkPzV70s2U,63546
51
+ adbc_driver_duckdb/dbapi.py,sha256=Jg6JWpy2WUoew8XN-LU5BW7_RFDJQKmhaOYD7uPY6xo,3461
52
+ adbc_driver_duckdb/__init__.py,sha256=OIW5djWVmfo5fFFNzJLIPuWbAh0j5XbEoUG5OTmpSSs,1914