duckdb 1.4.1.dev125__cp310-cp310-macosx_10_9_universal2.whl → 1.4.2.dev23__cp310-cp310-macosx_10_9_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,88 @@
1
+ Metadata-Version: 2.1
2
+ Name: duckdb
3
+ Version: 1.4.2.dev23
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 :: Python :: 3.14
27
+ Classifier: Programming Language :: C++
28
+ Project-URL: Documentation, https://duckdb.org/docs/stable/clients/python/overview
29
+ Project-URL: Source, https://github.com/duckdb/duckdb-python
30
+ Project-URL: Issues, https://github.com/duckdb/duckdb-python/issues
31
+ Project-URL: Changelog, https://github.com/duckdb/duckdb/releases
32
+ Requires-Python: >=3.9.0
33
+ Provides-Extra: all
34
+ Requires-Dist: ipython; extra == "all"
35
+ Requires-Dist: fsspec; extra == "all"
36
+ Requires-Dist: numpy; extra == "all"
37
+ Requires-Dist: pandas; extra == "all"
38
+ Requires-Dist: pyarrow; python_version < "3.14" and extra == "all"
39
+ Requires-Dist: adbc-driver-manager; extra == "all"
40
+ Description-Content-Type: text/markdown
41
+
42
+ <div align="center">
43
+ <picture>
44
+ <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/duckdb/duckdb/refs/heads/main/logo/DuckDB_Logo-horizontal.svg">
45
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/duckdb/duckdb/refs/heads/main/logo/DuckDB_Logo-horizontal-dark-mode.svg">
46
+ <img alt="DuckDB logo" src="https://raw.githubusercontent.com/duckdb/duckdb/refs/heads/main/logo/DuckDB_Logo-horizontal.svg" height="100">
47
+ </picture>
48
+ </div>
49
+ <br />
50
+ <p align="center">
51
+ <a href="https://discord.gg/tcvwpjfnZx"><img src="https://shields.io/discord/909674491309850675" alt="Discord" /></a>
52
+ <a href="https://pypi.org/project/duckdb/"><img src="https://img.shields.io/pypi/v/duckdb.svg" alt="PyPI Latest Release"/></a>
53
+ </p>
54
+ <br />
55
+ <p align="center">
56
+ <a href="https://duckdb.org">DuckDB.org</a>
57
+ |
58
+ <a href="https://duckdb.org/docs/stable/guides/python/install">User Guide (Python)</a>
59
+ -
60
+ <a href="https://duckdb.org/docs/stable/clients/python/overview">API Docs (Python)</a>
61
+ </p>
62
+
63
+ # DuckDB: A Fast, In-Process, Portable, Open Source, Analytical Database System
64
+
65
+ * **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.
66
+ * **Portable**: DuckDB runs on Linux, macOS, Windows, Android, iOS and all popular hardware architectures. It has idiomatic client APIs for major programming languages.
67
+ * **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.
68
+ * **Fast**: DuckDB runs analytical queries at blazing speed thanks to its columnar engine, which supports parallel execution and can process larger-than-memory workloads.
69
+ * **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.
70
+ * **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.
71
+
72
+ ## Installation
73
+
74
+ Install the latest release of DuckDB directly from [PyPI](https://pypi.org/project/duckdb/):
75
+
76
+ ```bash
77
+ pip install duckdb
78
+ ```
79
+
80
+ Install with all optional dependencies:
81
+
82
+ ```bash
83
+ pip install 'duckdb[all]'
84
+ ```
85
+
86
+ ## Contributing
87
+
88
+ See the [CONTRIBUTING.md](CONTRIBUTING.md) for instructions on how to set up a development environment.
@@ -1,14 +1,12 @@
1
- _duckdb.cpython-310-darwin.so,sha256=-7TM3OcDfXzO4JYbJVOE4n-_gEFTBrswDRKfSv7mGEs,80619392
2
- duckdb-1.4.1.dev125.dist-info/RECORD,,
3
- duckdb-1.4.1.dev125.dist-info/WHEEL,sha256=lqGKxkXw2Nrqo9Zs8EzbO8zwGOlMybM1Mjkft28AbKw,146
4
- duckdb-1.4.1.dev125.dist-info/METADATA,sha256=oa_8GumpE55LRTVMkTmP2G0XJa5qz58mKcOmP-q8gZQ,14079
5
- duckdb-1.4.1.dev125.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-310-darwin.so,sha256=FdNd2k8cdZDHs1Wf8BkwlRum6Q9fCFFVZ2GFWEUSW10,80471264
2
+ duckdb/polars_io.py,sha256=rOY2k5SKDvFQfxgTdkngi70CY8HRaPk-NE3u4vzY-YE,10996
3
+ duckdb/_version.py,sha256=YED0DUA67R3YQhz3hY_0QA_goTaWK2HE2epopxDxrIc,844
4
+ duckdb/_dbapi_type_object.py,sha256=NW-m3YcpJwwpQ4UC9lj68eioUB1NbdmgaaQID6v9ecU,6980
5
+ duckdb/filesystem.py,sha256=GjKX8kNZrGTVtZkRru6pPO6-A5oWP1Dd8Qi89J62TqA,1299
6
+ duckdb/__init__.py,sha256=KyCqaPIZeRd3oZXP7F-H__YQKZ0mv7webvdpJHbHBKE,7507
7
+ duckdb/bytes_io_wrapper.py,sha256=ymaALp1QJQghb1dx8j_rLqGWz3oZ6ghK3jt2sjojEQI,3081
8
+ duckdb/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ duckdb/udf.py,sha256=J0uNT5nAyxesuRW_OFOpJoIucDIjRYbmaogh4K8519I,773
12
10
  duckdb/experimental/__init__.py,sha256=RtBuXJuOPi6sh03OWG2Oor3yDEiVWV9q2aJQTNhSkcY,59
13
11
  duckdb/experimental/spark/exception.py,sha256=lyWpHLPPwAlBUrJicU_F7flgNR2rO6rrhkd3-baMaHE,633
14
12
  duckdb/experimental/spark/_typing.py,sha256=ucsD63ySqAZrmxXjbruUlRcI_B_N11YkaAubHE9rM4Q,1528
@@ -28,22 +26,27 @@ duckdb/experimental/spark/sql/_typing.py,sha256=FnGgzj8uVF7TTrJ2X94IBo7XW_ezYQ8D
28
26
  duckdb/experimental/spark/sql/dataframe.py,sha256=F_vUzIY7suX3y5pjv2bntSFF3-CTJ9M3od3dkcto2Cc,46451
29
27
  duckdb/experimental/spark/sql/conf.py,sha256=DQ04ZoJu7IQX855p22eSZLMBz7aWhm8yYMWNPi6U5UY,763
30
28
  duckdb/experimental/spark/sql/session.py,sha256=YKR42m92puFA-tqfmhbPLS6pYkyhbl61sxwI9C9Ybe0,9561
31
- duckdb/experimental/spark/sql/type_utils.py,sha256=i5UN3u-02V3KG6QvpkhTDS6YQEgPN6RwXGU3vN9v6ME,3025
29
+ duckdb/experimental/spark/sql/type_utils.py,sha256=pbMyGdjaOj4yJE7jDgCXv85oMwUg4SjZoW8YOS4vWmY,3027
32
30
  duckdb/experimental/spark/sql/__init__.py,sha256=Dsax7nLowynyH_bsZB7ZhFstOw386C9FggQ2MmkhMMA,270
33
- duckdb/experimental/spark/sql/types.py,sha256=6hl8X2AJ2c6TCs9wsa3VFDopcrYD2PMGF4quvLWgAHk,41200
31
+ duckdb/experimental/spark/sql/types.py,sha256=dvmMWAwaKAYuUauwK3B5m3-KFO-XNvktumDU1X5B9kk,41202
34
32
  duckdb/experimental/spark/sql/readwriter.py,sha256=MEMBn9qX8Mj7i3rEOXVaZqIfbHB-AaFO1w32Ecvlal8,17495
35
33
  duckdb/experimental/spark/sql/group.py,sha256=UHKCKwXB2M59Ki_tpsaC5s10ExqVdMLFVhncY5cR6do,13528
36
34
  duckdb/experimental/spark/sql/udf.py,sha256=4I-HyLIZeMJEYzasC23xVDtS0FNdPDWXIAzQTWCx7hs,1173
37
35
  duckdb/experimental/spark/sql/streaming.py,sha256=Re1v3PMEK93JalVXAE0oOMZM47m-YO75qlnwnJi0-C4,1068
38
- duckdb/experimental/spark/sql/column.py,sha256=3k7k1YjBdgsX5ry7CJFCc6BXym46p7OZERVJSDcOjRY,11091
36
+ duckdb/experimental/spark/sql/column.py,sha256=7bTZWlnCqS0avoP7Pg10Zop1cNjv-_Mlzu3y-Y4X8Fs,11093
39
37
  duckdb/query_graph/__main__.py,sha256=HPiIRIas63s1m6IGQGwMqi9t4qr-922z3ESZDzPFLbc,11476
40
- duckdb/value/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
38
  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
39
+ duckdb/value/constant/__init__.py,sha256=anBSU847CeWmtnsjc5VtM0B9urBko8TWnBiCB3XPWs4,5823
40
+ duckdb/sqltypes/__init__.py,sha256=07pg8Ykp905Mf-KqJtCfGBChLPit5nW6t7KEpAz9LR8,886
41
+ duckdb/typing/__init__.py,sha256=XmmRUTVgQMOobDmer7GmabnuFZ8t7rVfbtoJdK5uD6Y,1127
42
+ duckdb/functional/__init__.py,sha256=-WAPwJvoxdk2xQipz6unr8MwMyalnQ2aOUfMLhAPBw0,470
43
+ duckdb/func/__init__.py,sha256=oisXanDpKYjBG-tS1AMGVtodDGqKZspYbCLX5YlbWLQ,203
44
+ _duckdb-stubs/_func.pyi,sha256=1_39vmTVZZep_vSNVWVRBwLlz3YUk42yQeAvfZQXk1M,2086
45
+ _duckdb-stubs/_sqltypes.pyi,sha256=zJD-frBluEE2PrZccsHr9TjkTuWcCQLPe9FoG0YpKMI,2165
46
+ _duckdb-stubs/__init__.pyi,sha256=kPWv71k0P7ehfS7hjx-aj3GXA93QfuJtcRkPzV70s2U,63546
48
47
  adbc_driver_duckdb/dbapi.py,sha256=Jg6JWpy2WUoew8XN-LU5BW7_RFDJQKmhaOYD7uPY6xo,3461
49
48
  adbc_driver_duckdb/__init__.py,sha256=OIW5djWVmfo5fFFNzJLIPuWbAh0j5XbEoUG5OTmpSSs,1914
49
+ duckdb-1.4.2.dev23.dist-info/RECORD,,
50
+ duckdb-1.4.2.dev23.dist-info/WHEEL,sha256=lqGKxkXw2Nrqo9Zs8EzbO8zwGOlMybM1Mjkft28AbKw,146
51
+ duckdb-1.4.2.dev23.dist-info/METADATA,sha256=-rVbwkqItPLsLQcSy3xA2ZrcroCZCuFCrUd4YpCSDJc,4309
52
+ duckdb-1.4.2.dev23.dist-info/licenses/LICENSE,sha256=fhf9MSSfqHXLOxxeBcbD6Zt1UJ9qKATKF2wheDTeHcs,1072